In need your lights people... I am working on a desktop app which at some point creates a DTD file out of a Jtree. Is there any way to check the syntax of the DTD without the need of an XML file ?

P.S. Tried to google, but it comes up with xml validation, not what I am looking for.

Thanks in advance.