Re: [xml] xmllint loading remote DTDs instead of local
- From: Andreas Stricker <andreas stricker fela ch>
- To: xml gnome org
- Subject: Re: [xml] xmllint loading remote DTDs instead of local
- Date: Wed, 27 Feb 2008 17:45:33 +0100
Andrew McFarland schrieb:
On 27/02/2008, Andreas Stricker <andreas stricker fela ch> wrote:
The DTD isn't loaded from Server*, it's simply the URL provided in
test.xml that is mapped to a local file but not printed here.
(the URL must exactly match the one from catalog).
The dtd is loaded from file with and without the --nonet parameter,
but slightly changing the URL in test.xml (eg. WWW instead of www),
and the local file is not used anymore.
Ah, OK. I think I understand what is going on now. When the
--load-trace output says
"Loaded URL="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
ID="-//OASIS//DTD DocBook XML V4.4//EN""
What that means is that is the URL of the file /before/ it gets
remaped to a local file, yes? I had thought that it means it was the
URL *after* the remapping.
Yes, this is my understanding. After all I just guessed. Looking at
the source, the URL printed in custom entity loader which is simply
the content of its URL argument.
Cheers, Andy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]