[jdom-interest] A Doctype question

Vamshi Reddy Vamshi.Reddy at whn.com
Wed Oct 4 15:31:34 PDT 2000


Is there a way to extract the doctype information before actually using the
XXXBuilder.build(file)?

When a DOCTYPE is specified in the DTD it automatically looks for it. I just
wanted to know if there is a way to verify/change the public/systemID in the
XML file before actually building a JDOM document. If the DTD is not located
in the specified directory the process stops at that exception. The only
other way I could think of is to read the file, check/change that line and
write it out again: basic I/O process.

So far beta5 works fine. Great improvement.

Thanks in advance,

Vamshi



More information about the jdom-interest mailing list