[jdom-interest] Validating an existing document

Steve Cohen stevec at ignitesports.com
Fri Sep 28 12:37:06 PDT 2001


When building a JDOM document from scratch containing a DTD reference, 
what is the best way to validate that document before outputting it?

In other words, given an org.jdom.Document, is there an API that 
validates it against its DTD?  Or must you somehow "build" it from 
itself just so that you can get access the validation functionality that 
is available to the parser classes.

Steve Cohen
Sr. Software Engineer
Ignite Sports, LLC
stevec at ignitesports.com




More information about the jdom-interest mailing list