[oXygen-user] Re: Catalog help
John Kelly
Wed Feb 16 16:24:18 CST 2005
I'll try this out. At runtime, the log4j.dtd file is in the classpath,
so I'm not sure whether we can change the system ID, but I will look
into how to do this and have it still work with log4j.
. John
On Feb 16, 2005, at 10:00 AM, wrote:
> Hello,
>
> The XML parser resolves only full URIs using the catalog so if you
> specify the system ID with a relative path first it will be expanded to
> its full path and then searched in the catalog. If the XML document is
> located in the directory C:\work then you must specify in the catalog:
>
> <system systemId="file:///C:/work/log4j.dtd"
> uri="file:///Users/john/Documents/oxygen/log4j.dtd"/>
>
> You can make the document portable if you use a system ID like
> logging.apache.org/site/log4j.dtd in the document and
>
> <system systemId="logging.apache.org/site/log4j.dtd"
> uri="file:///Users/john/Documents/oxygen/log4j.dtd"/>
>
> in the catalog where the uri attribute is modified by each user to
> correspond to the path on the local machine.
>
> Best regards,
> Sorin
More information about the oXygen-user
mailing list