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

Brett McLaughlin brett.mclaughlin at lutris.com
Mon Sep 18 07:23:33 PDT 2000


Marcus Breig wrote:
> 
> 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? ;-)

Can you post your XML document? I think I know what this is, but I want
to make sure.

Thanks
Brett

> 
> thanks in advance
> 
> Marcus
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

-- 
Brett McLaughlin, Enhydra Strategist
Lutris Technologies, Inc. 
1200 Pacific Avenue, Suite 300 
Santa Cruz, CA 95060 USA 
http://www.lutris.com
http://www.enhydra.org



More information about the jdom-interest mailing list