W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > March 2006

Re: Joining two relative URIs (public-ietf-w3c-draft)

From: Jose Kahan <jose.kahan@w3.org>
Date: Tue, 28 Mar 2006 14:57:17 +0200
To: Konrad Lanz <Konrad.Lanz@iaik.tugraz.at>
Cc: public-xml-core-wg@w3.org
Message-ID: <20060328125717.GE9432@rakahanga.inrialpes.fr>

Hi Konrad,

Some small corrections for (hopefully) improving the clarity of your
draft.

On Mon, Mar 27, 2006 at 06:58:28PM +0200, Konrad Lanz wrote:
>
> If b's xml:base was an absolute URI one would absolutize using the
> algorithm in 5.2 in RFC 2396 [8]. However the example above requires the
> joining of two relative URIs which we believe is not defined in RFC 2396
> [8]. It may nevertheless be defined in RFC 3986 [9] in section "5.2.
> Relative Resolution" by applying applying the algorithm in 5.2 ignoring
> the note "that only the scheme component is required to be present in a
> base URI".

I'd rewrite this as follows (making two paragraphs as it was combining two
different things):

<quote>
If b's xml:base was an absolute URI,  one would make c's xml:base an
absolute URI using the algorithm in 5.2 in RFC 2396 [8]. 

Note that the above example above requires the joining of two relative URIs 
which we believe is not defined in RFC 2396 [8]. It may nevertheless be 
defined in RFC 3986 [9] in section "5.2.  Relative Resolution" by applying 
the algorithm in 5.2, while  ignoring the constraint in section 5.2.1 of
the same RFC that "that only the scheme component is required to be present 
in a base URI".
</quote>

Another change:

<quote>
The group is discussing the adoption of the resolution above as an alternative to 
adapting section 5.2 step 6 [10] of RFC 2396 [8] (currently referenced in 
xml base [11] and C14n [3]). Another alternative could be to not apply 
inheritance rules [11] at all when nodes in a document become an orphan.
</quote>

-jose
Received on Tuesday, 28 March 2006 12:57:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:33 GMT