Re: Resolving Relative URIs.

> >It says:
> >
> >> Similarly, parsers must avoid treating "." and ".." as special when
> >> they are not complete components of a relative path.
> >>
> >>       /./g          =  http://a/./g
> >

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

Thanks. I missed the text in Step 5 of Section 5.2 that says

> 5) If the path component begins with a slash character ("/"), then
>       the reference is an absolute-path and we skip to step 7.

I was trying to normalize the path regardless of whether the original URI
reference was relative or not.

Thanks,
Jason.

Received on Tuesday, 8 January 2002 19:44:58 UTC