Re: System ID absolutization

2009-11-02 Thread ekimber
On 11/2/09 12:19 PM, "Benson Margulies" wrote: > under what conditions is it not a URL? The system ID, like all references in XML, is a URI, so it could be a URN or a URL. Cheers, Eliot Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc. email: ekim...@reallysi.com

Re: System ID absolutization

2009-11-02 Thread Benson Margulies
under what conditions is it not a URL? On Nov 2, 2009, at 12:03 PM, Michael Glavassevich wrote: Hi Benson, That is the expected behaviour for EntityResolver [1]: "If the system identifier is a URL, the SAX parser must resolve it fully before reporting it to the application." You need

Re: System ID absolutization

2009-11-02 Thread Michael Glavassevich
Hi Benson, That is the expected behaviour for EntityResolver [1]: "If the system identifier is a URL, the SAX parser must resolve it fully before reporting it to the application." You need to use EntityResolver2 [2] if you want the unresolved system ID. Thanks. [1] http://xerces.apache.org/xer

System ID absolutization

2009-11-02 Thread Benson Margulies
As part of my longterm progress at being surprised by the obvious. Consider: By the time Xerces calls an EntityResolver, this has been turned into file:/fred.dtd. (where all the dots are the pathname of the XML file that contains the DOCTYPE. Is there a way to tell xerces to leave sys