![]() |
|
|
|||||||
![]() |
XML - Schema validate from DOM Document without reparsing |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hello
I want to validate against an XML Schema from a DOM Document object without reparsing. If the XML Schema is also from a DOM Document it would be even better. I work with Java. It seems that Xerces validates while it parses, so a solution would be to generate SAX events from my DOM Document. But I could'nt find a hint in the Xerces documentation. PS I allready have the recipy to validate from a file or URL by specifying the Schema and ignore the schemaLocation in the document : http://jmvanel.free.fr/xsd/Counter.java Jean-Marc Vanel |
|
|