You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Cirip Tomas <to...@theimo.com> on 2003/01/31 21:34:44 UTC

XMLDTDLoader/XMLEntityResolver

Hi,

I am trying to create XMLDTDLoader with my own XMLEntityResolver. Even when
I specify

dtdLoader.setEntityResolver(myEntityResolver)

it doesn't call my entity resolver (. MyEntityResolver class extends class
XMLEntityManager. What am I doing wrong?

Thank you 

Tomas

  public class MyXMLEntityResolver extends XMLEntityManager{
    public XMLInputSource resolveEntity(XMLResourceIdentifier
resourceIdentifier)
      throws XNIException, IOException{
      doSomething();
    }
  }

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org