[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SAX 2.0 enhancement proposal
- From: Rob Lugt <roblugt@elcel.com>
- To: David Brownell <david-b@pacbell.net>, xml-dev@lists.xml.org
- Date: Fri, 15 Jun 2001 18:36:40 +0100
David Brownell wrote:
>
> Given that the XML 1.0 spec only says (repeating :) that "relative URIs
are
> relative to the location of the resource within which the entity
declaration
> occurs", I don't see that there's any scope for interpretation about
exactly
> which abolute URI is being identified by a SYSTEM identifier for any
> parsed entity.
This is a classic example of selective quoting. The full sentence from XML
1.0 (2 ed) reads:-
"Unless otherwise provided by information outside the scope of this
specification (e.g. a special XML element type defined by a particular DTD,
or a processing instruction defined by a particular application
specification), relative URIs are relative to the location of the resource
within which the entity declaration occurs.".
You seem to have chosen to ignore the 'Unless' qualifier at the beginning of
the sentence. It is clear from the spec that the relative URIs can mean
whatever the particular application wants them to mean. The common case is
that they are relative to the containing entity, but this is not the only
possible case.
~Rob