[jdom-interest] Validation of a JDOM tree (already loaded in memory) with XSD schema

Laurent Bihanic laurent.bihanic at atosorigin.com
Thu Sep 12 03:01:22 PDT 2002


Olivier Coppel wrote:
> Is there a way to validate (by a XSD schema) a JDOM tree after its memory
> loading ?

As JDOM does not support in-memory DTD or schema validation, the simplest way 
is to output the document to a String and parse it with a validating XML parser.


More information about the jdom-interest mailing list