Re: Canonicalization xml:base processing

> I believe this summary is correct:
> 
> In 2396 resolution, dot-segments in the relative path are special, dot-segments
> in the base URI are not.

I had a vague recollection of something like that, but it's not true.
The algorithm is

 - remove the final post-slash segment of the base
 - append the relative uri
 - remove dot segments
 - remove dot-dot segments
 - if there are dot-dot segments left (which must be at the beginning)
   it's an error

All this only happens if the "relative" uri has a path not beginning
with slash.

-- Richard

Received on Tuesday, 30 May 2006 18:14:31 UTC