[jdom-interest] DocType Modification

Jason Hunter jhunter at collab.net
Tue Jun 12 12:32:48 PDT 2001


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-



More information about the jdom-interest mailing list