W3C home > Mailing lists > Public > www-rdf-comments@w3.org > October to December 2003

[closed] Re: Resolution of Relative URI References (test case xmlbase/test012.rdf)

From: Jan Grant <Jan.Grant@bristol.ac.uk>
Date: Thu, 13 Nov 2003 10:27:34 +0000 (GMT)
To: Carlos Viegas Damásio <cd@di.fct.unl.pt>
Cc: www-rdf-comments <www-rdf-comments@w3.org>
Message-ID: <Pine.GSO.4.58.0311131026120.25396@mail.ilrt.bris.ac.uk>

On Wed, 15 Oct 2003, Carlos Viegas Damásio wrote:

> Dear editors,
>
> In the current draft of RFC-2396bis the resolution of relative
> references handles
> the abnormal examples differently.
>
> I quote the following from the abnormal examples section in RFC 2396
> bis:
>
>    Parsers must be careful in handling the case where there are more
>    relative path ".." segments than there are hierarchical levels in the
>    base URI's path.  Note that the ".." syntax cannot be used to change
>    the authority component of a URI.
>
>       "../../../g"    =  "http://a/g"
>       "../../../../g" =  "http://a/g"
>
> which is different from RFC 2396:
>
>    Parsers must be careful in handling the case where there are more
>    relative path ".." segments than there are hierarchical levels in the
>    base URI's path.  Note that the ".." syntax cannot be used to change
>    the authority component of a URI.
>
>       ../../../g    =  http://a/../g
>       ../../../../g =  http://a/../../g
>
> This affects test case xmlbase/test012.rdf. Which one should be
> followed?

Thank you for pointing out this proposed change to RFC 2396 which we had
been unaware of.

RDFCore have resolved to remove this test case.

RDFCore would advise implementors that consume RDF that the RDFCore
specs are based on RFC 2396, a strict interpretation of which states
that URI's with too many ".."'s in their path are an error, though many
URI implementations correct that error and RFC 2396bis proposes to
require that correction.

RDFCore advises implementors and content creators that produce RDF that
creating URI's with too many ".."'s in their path is inadvisable and may
lead to interoperability problems.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Received on Thursday, 13 November 2003 05:32:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:33 GMT