[jdom-interest] entity declaration in doctype
Jason Hunter
jhunter at servlets.com
Wed Dec 18 10:30:28 PST 2002
Are you using an older version of JDOM perhaps?
-jh-
COSSI wrote:
>
> I'm read an write an xml document with SaxBuilder like :
>
> ...
> Writer out ;
> out = new BufferedWriter (new FileWriter ("document-out.xml")) ;
> XmlOutputter outputter = new XmlOutputter("", false, "iso-8859-1") ;
> ...
> SAXBuilder builder = new SAXBuilder (true) ;
> Document doc = builder.build (new File ("document-in")) ;
> ...
> outputter.output(doc, out);
>
> In "document-in", I have a doctype declaration like " <!DOCTYPE element
> SYSTEM "element.dtd" [
> <!ENTITY decl SYSTEM "start.xml">
> <!ENTITY end SYSTEM "end.xml">
> ]>"
>
> but, in "document-out.xml", I have only "<!DOCTYPE element SYSTEM
> "element.dtd">" !!
>
> Do you know why ?
>
> Regards
>
> JLC
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list