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 Christian Geuer-Pollmann <ma...@nue.et-inf.uni-siegen.de> on 2001/08/07 12:45:14 UTC
How to create an EntityResolver
Hi,
I want to create an EntityResolver which resolves to a special connection.
The input data for documentBuilder.parse() comes from an InputStream which
does not have a representation in the file system.
Unfortunately, if my EntityResolver.resolveEntity() is called, the systemId
contains a String which points to my local filesystem, so it's hard to get
the original entity location... The parser calles my resolver with things
like
resolver.resolveEntity(null, "y:\\myCurrentProjectRoot\\doc.dtd");
How can I handle something like this correctly?
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org