[jdom-interest] entity declaration in doctype
Jason Hunter
jhunter at servlets.com
Fri Dec 27 18:46:15 PST 2002
Yes, internal entities were retained beginning in b8. I don't think we
have any official samples of SAXHandler fanciwork. I'd look at the SAX
API sites (sax.org I believe it is) because it's implementing those
interfaces.
-jh-
"jl.cossi at oie.int" wrote:
>
> 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