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

Resolution of Relative URI References (test case xmlbase/test012.rdf)

From: Carlos Viegas Damásio <cd@di.fct.unl.pt>
Date: Wed, 15 Oct 2003 14:58:48 +0100
To: <www-rdf-comments@w3.org>
Message-ID: <01dd01c39324$74ffc210$dc9e17c3@pccd>
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?
 
Best regards,
 
            Carlos Viegas Damásio
 
Carlos Viegas Damásio (Prof. Auxiliar) | Tel: +351-21-294 8536
(ext.10758)
Departamento de Informática            | Fax: +351-21-294 8541
Fac. de Ciências e Tecnologia da       |
Universidade Nova de Lisboa            | 
Qta. da Torre - 2829-516 Caparica      | e-mail: cd@di.fct.unl.pt
PORTUGAL                               |
http://centria.di.fct.unl.pt/~cd
 
Received on Wednesday, 15 October 2003 10:07:26 GMT

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