I am working on some java code that reads in an XML document and parses it into a java object. What I need to do however is compare the document with a schema to ensure that it is valid. Any ideas how to quickly and neatly compare the entire document to a schema before processing?? Thanks in advance.
0 · ·