The only way I have found to load my own XMLEntityResolver into a
DOMParser is by calling:

parser.setProperty(ENTITY_RESOLVER, er);

where the definition of ENTITY_RESOLVER is:

protected static final String ENTITY_RESOLVER =
        Constants.XERCES_PROPERTY_PREFIX
+Constants.ENTITY_RESOLVER_PROPERTY;

in my own code (since all definitions of ENTITY_RESOLVER in
xerces is protected).

Is there an API for setting the XMLEntityResolver?

Thanks.

Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to