Yes, if the parser knows the URL of the parsed bit, it can resolve relative entities...

paul

Phil Steitz wrote:
IIRC, the problem results from the fact that the entity is referenced
via a relative path.  Moving to a URL or File reference would require
either an absolute path or that the resource be loaded from a remote
URL, which would make offline builds fail.  Could be there is a simple
trick to make this work?

Phil

On 2/28/06, Paul Libbrecht <[EMAIL PROTECTED]> wrote:
You wouldn't need to read Xerces in any line... you just need to use an
org.xml.sax.InputSource which has a properly set system-id.
new InputSource(URL) or new InputSource(File) does make it for you.

Generally such resolution error happen to be when an
InputSource(InputStream) is used for which the parser has no way to
resolve a relative file.

Maybe that helps ?

paul

Arnaud HERITIER wrote:
Hi Phil,

  Yes, I'll try to find a solution to use maven 1.1 to build the commons.
  I'll certainly need to readd xerces to the core :-( to allow you to use
XML entities.

cheers

arnaud

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





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

Reply via email to