You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Gregor Karlinger <gr...@iaik.at> on 2000/10/13 09:52:35 UTC

Base URI for relative DTD/Schema identifiers

Hi all!

I have to treat XML documents which are using relative URIs for
identifying the DTD/Schema file to be used to validate the
document when parsing it, e. g.

...
<!DOCTYPE documentElement SYSTEM "dtdFilename.dtd">
...

or

...
<documentElement xmlns:xsi="..."
xsi:schemaLocation="http://iaik.at/aNamespaceURI
schemaForANamespaceURI.xsd">
...

How can I tell the Xerces parser what base URI should be used to
generate the absolute identifiers?

Thanks, Gregor
---------------------------------------------------------------
Gregor Karlinger
mailto://gregor.karlinger@iaik.at
http://www.iaik.at
Phone +43 316 873 5541
Institute for Applied Information Processing and Communications
Austria
---------------------------------------------------------------