I want to rewrite an old resolver that also has a baseURI in its
signature, like this:
public static InputSource resolve(String current,
String publicId, String systemId)
The XMLReader.setEntityResolver() method takes an EntityResolver that
does not have a baseURI in its signature. I need one with a baseURI.
I noticed there is a class in xerces.xni, called XMLEntityResolver,
but once I have one of those, how do I use it with an XMLReader? The
docs indicate I shouldn't be using the xni unless I need to interface
with particular classes, so is there a standardEntityResolver that I
can use with XMLReader that takes a baseURI?
I saw the LSEntityResolver, it might be what I need,
but I couldn't figure out how to create LSObjects
based on URLs - the API documentation for DOMImplementationLS is
a bit lacking.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]