W3C home > Mailing lists > Public > uri@w3.org > January 2002

Re: Resolving Relative URIs.

From: Paul Grosso <pgrosso@arbortext.com>
Date: Tue, 08 Jan 2002 18:35:33 -0600
Message-Id: <>
To: "Jason Diamond" <jason@injektilo.org>, <uri@w3.org>
At 14:31 2002 01 08 -0800, Jason Diamond wrote:
>Hi, I have a question regarding the examples in Appendix C.2 of RFC2396.
>It says:
>> Similarly, parsers must avoid treating "." and ".." as special when
>> they are not complete components of a relative path.
>>       /./g          =  http://a/./g
>My question regards this first example. My implementation is resolving this
>relative URI (with http://a/b/c/d;p?q as the base URI) as http://a/g. Every
>other example in Appendix C is passing for me. I must have a bug but I'm
>confused as to why the dot in the above example isn't "complete component of
>a relative path" that should get stripped. Can anybody enlighten me?

/./g isn't a relative path--it starts with /.

Received on Tuesday, 8 January 2002 19:35:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:03 UTC