[jdom-interest] DocType Modification

Kevin Baynes kbaynes at seagullsw.com
Tue Jun 12 11:10:12 PDT 2001


I have an XML document with the following doctype declaration:

<!DOCTYPE users SYSTEM "users.dtd">

After using JDOM to open and modify the contents, JDOM writes the doctype
as:

<!DOCTYPE users SYSTEM
"file:/C:/jakarta-tomcat-4.0-b1/webapps/kalispell/data/users.dtd">

Why does this happen?
Is my usage incorrect?
Is there a way to prevent this?

thanks!

--------------------
Kevin Baynes
Software Engineer
kbaynes at seagullsw.com
703-393-2191




More information about the jdom-interest mailing list