[jdom-interest] entity declaration in doctype
jl.cossi at oie.int
jl.cossi at oie.int
Wed Dec 18 14:19:19 PST 2002
yes, the beta7 ;
is it fixed in the 8 version ?
Where can i find samples with org.jdom.input.SAXHandler ?
regards
JLC
---------- Original Message ----------------------------------
From: Jason Hunter <jhunter at servlets.com>
Date: Wed, 18 Dec 2002 10:30:28 -0800
>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
>_______________________________________________
>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