[jdom-interest] new content validated against DTD?

James Holmes jholmes612 at yahoo.com
Tue Sep 18 19:38:07 PDT 2001

I am using JDOM to parse Apache Jakarta Struts config
files.  I read in the file using JDOM and then make
changes to the file via JDOM.

My question is:  When adding new content (i.e.
elements, attributes, etc) to a JDOM document, are the
additions validated against the DTD that was used when
the document was intially parsed?

My problem is that I am adding new elements to a JDOM
document and they are not being added in the right
order according to the DTD.

I'm guessing this not supported.  If not, are there
any solutions/workarounds to achieve this



Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information

More information about the jdom-interest mailing list