[jdom-interest] DocType Modification

Kevin Baynes kbaynes at seagullsw.com
Wed Jun 13 11:07:33 PDT 2001


You nailed it: JAXP with Crimson.

But, since this is on the server side I could switch back to Xerces. :-)

-kevin

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Tuesday, June 12, 2001 12:33 PM
> To: Frank Sauer
> Cc: Jdom-Interest
> Subject: Re: [jdom-interest] DocType Modification
> 
> 
> Frank Sauer wrote:
> > 
> > You could use SAXBuilder.setEntityResolver and pass it an
> > EntityResolver that simply remembers the system and public ids
> > and use those to set on the DocType before writing it out.
> 
> A quick test shows the absolute path is passed into the EntityResolver. 
> No dice there.
> 
> In testing I did notice it works OK for me with Xerces 1.2 and 1.3, but
> Crimson does the file path expansion.
> 
> Kevin, what parser are you using?
> 
> -jh-
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yourad
dr at yourhost.com



More information about the jdom-interest mailing list