Eric SCHAEFFER wrote: > (The way I've found is to serialize the document to a string and to parse the > string, with an ErrorHandler. Not very simple, and a bit stupid ...)
That sounds about right. Except that I would serialize it to a stream that is parsed instead of wasting memory by building a string. And by doing so you could trap the validation errors and associate them to the current node being serialized. -- Andy Clark * IBM, JTC - Silicon Valley * [EMAIL PROTECTED]