RR> I am using xerces-j 2.0.1 and I'd like to implement my own
RR> EntityResolver, but when I add it to the parser with
RR> parser.setEntityResolver(...) my resolveEntity(...) method does
RR> not get called. Is there something else I have to set?

My fault, it looks like I did not understand the concept of the
EntityResolver. It does get called for xsd files, but I thought it
would also get called for xml files.

Basic idea:

I use for example parser.parse("MyFile"). The file does not exist, so
the parser calls my EntityResolver to resolve "MyFile". I guess that's
not the way it works. Can someone give me a hint on how to achieve
this?

thank you, robert


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

Reply via email to