Hi All, Is there a way to validate only parts of documents, e.g. document fragments whose roots are global elements? This would be very useful in the case when a small update is done on a very large document (e.g. tens of megs in size).
I thought about using SAX-based validation, but even for that you need to start with a document. Perhaps the solution is to fake the SAX events for XML document and its parent-child relationship to the document element, which is actually the root of everything you want to validate. For example, suppose we need to validate a document fragment whose root element is <validationroot>. We could fake SAX events for the document header and perhaps for the validationroot's namespace bindings too before we start generating real SAX events from the contents of <validationroot>. Any ideas? Alex --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
