This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: RE: XML catalog resolution problems
- From: Daniel Veillard <veillard at redhat dot com>
- To: Paul Grosso <pgrosso at arbortext dot com>,entity-resolution-comments at lists dot oasis-open dot org
- Cc: Jeanson Mauritz <mauritz dot jeanson at aerotechtelub dot se>,Bob Stayton <bobs at caldera dot com>, Norman Walsh <ndw at nwalsh dot com>,docbook-apps at lists dot oasis-open dot org
- Date: Wed, 30 Oct 2002 11:12:26 -0500
- Subject: Re: DOCBOOK-APPS: RE: XML catalog resolution problems
- References: <8DCE9BC5571CED42809C37A8E2C973A8135818@m02s054.m02.se><4.3.2.7.2.20021030091433.022a8a40@172.27.10.30>
- Reply-to: veillard at redhat dot com
On Wed, Oct 30, 2002 at 09:28:44AM -0600, Paul Grosso wrote:
> At 12:27 2002 10 30 +0100, Jeanson Mauritz wrote:
>
> >When trying xsltproc, I found that it accepts and resolves <system>
> >entries for stylesheets in catalog files. As I take it, this is not
> >the correct behaviour.
>
>
> You are correct, xsltproc is not in compliance with the XML Catalog spec.
>
> The XML Catalog spec makes it clear that system entries are for
> resolving external identifiers (production 75 in XML) and clearly
> says about URI entries [1]:
And I have said to the XML Catalog comitee that an URI Reference is
an URI-Reference and that having to distinguish arbitrarilly one done
from a DOCTYPE entry from one done from an xi:include href entry
doesn't make any sense to me, and that I would not support the distinction
in my software unless getting a meaningful reason to distinguish
those.
I haven't received any justification yet from the commitee about the
reason to distinguish those exept "they are different", no sorry ...
I see ZERO reason why the two following URI-Reference made from a
single XML entity should lead to using different resource for
http://example.com/foo.dtd:
-------------------------------
<DOCTYPE foo SYSTEM "http://example.com/foo.dtd>
<foo>
<xi:include href="http://example.com/foo.dtd" parse="text"/>
</foo>
-------------------------------
This distinction is extremely confusing, and so far can't be justified
I really don't see why it's there and the intended purpose.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/