[jdom-interest] DTD im XML-File and Element.getContent()

Marcus Breig mbreig at i2ag.de
Mon Sep 18 05:24:47 PDT 2000

Hi all,

I am new in using JDOM for parsing XML-files.

My problem: my sample XML-File contains a DTD for
defining my XML-language. In this case the method
Element.getContent() always returns an empty string.

If the DTD is not in the file everything is OK.

I have tested this "feature" also with the pretty-printer
example from the JDOM indroduction from the
jdom-homepage. The same effect!

Is this a known problem? Should I read the manual? ;-)

thanks in advance


More information about the jdom-interest mailing list