Right, got it this time, thanks :) > -----Original Message----- > From: Alberto Massari [mailto:[EMAIL PROTECTED] > Sent: 03 April 2003 15:59 > To: [EMAIL PROTECTED] > Cc: Mark Weaver > Subject: RE: EntityResolver doesn't receive the baseURI (repost) > > > At 15.35 03/04/2003 +0100, you wrote: > >Didn't get any response on this the first time, > > Strange, I did answer your e-mail.... > In any case, what I was telling you is that the EntityResolver > interface is > a standard SAX interface, and I guess nobody would like to have > it changed. > The proper way to add this new argument is to implement the SAX2 > Extensions, that defines a new EntityResolver2 interface, defined > as follows: > > EntityResolver2 : public EntityResolver > { > // Allows applications to provide an external subset for documents that > don't explicitly define one. > InputSource getExternalSubset(String name, String baseURI) > // Allows applications to map references to external entities > into input > sources, or tell the parser it should use conventional URI resolution. > InputSource resolveEntity(String name, String publicId, String baseURI, > String systemId) > } > > (see > http://sax.sourceforge.net/apidoc/org/xml/sax/ext/EntityResolver2.html ) > > Alberto > > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
