Thank you, Michael, it worked.
Best regards!
- Original Message
From: Michael Glavassevich <[EMAIL PROTECTED]>
To: j-users@xerces.apache.org
Sent: Monday, June 11, 2007 7:33:04 PM
Subject: Re: Xerces-J and XInclude relative path issue
Hi Razvan,
XMLLocatorWrapper won't he
Hi Razvan,
XMLLocatorWrapper won't help you with that. Most likely you haven't
provided a base URI, in which case you need to set the system ID [1] on
the InputSource you're passing to the parser.
Thanks.
[1]
http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/InputSource.html#setSyst
Hi, Michael,
I have a master .xml file (artefacts.xml) having
references to other .xml files to be included
(codelists.xml etc.). The path from the working dir,
where my xml files are located, is /resources. My
problem is that when I try to parse that document with
SAX parser, I got some error tel
Hi Razvan,
Though I don't see how this is relevant to whatever "relative path" issue
you've run into, if you want to see how XMLLocatorWrapper is being used in
Xerces take a look at XIncludeHandler [1].
Thanks.
[1]
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/xinclude/