[jdom-interest] DOCTYPE output problem

Brett McLaughlin brett.mclaughlin at lutris.com
Sun Jul 30 10:51:30 PDT 2000


tsasala at hifusion.com wrote:
> 
>         I have a document with a document type specified with entity
> declarations such as:
> 
> --
> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
> <!DOCTYPE example [ <!ENTITY nbsp "&#032;"> ]>
> <hf_cw>
>   I am here&nbsp;&nbsp;
> </hf_cw>
> --
> 
>         When I output this document with the XMLOutputter
> I get:
> 
> --
> <?xml version="1.0" encoding="UTF-8"?>
> <hf_cw>I am here</hf_cw>
> --
> 
>         When I save the parsed file, the second parsing blows up
> because the entity declaration is not in the doctype.  How can
> I maintain the declaration?

It's not done in JDOM yet, but it is in the TODO list...

-Brett

> 
>         -Tom
> _______________________________________________
> 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