W3C home > Mailing lists > Public > public-media-fragment@w3.org > October 2008

URI comparison (was Re: minutes of 2008-10-08 telecon)

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 15 Oct 2008 06:20:58 -0400 (EDT)
To: RaphaŽl Troncy <Raphael.Troncy@cwi.nl>
cc: Media Fragment <public-media-fragment@w3.org>
Message-ID: <Pine.LNX.4.64.0810150617030.16153@ubzre.j3.bet>

On Wed, 15 Oct 2008, RaphaŽl Troncy wrote:

> Hi Yves,
>
> Thanks for completing this Action Point. Hum, just to be sure I understand, 
> can you please clarify:
>
>> So it means that http://example.com/what;date=1234/test is different from 
>> http://example.com/what;date=5678/test , pretty much like when using '?' as 
>> opposed to '#'.
>
> You said that http://example.com/what;date=1234/test is different from 
> http://example.com/what;date=5678/test. What is this difference?

because when you are resolving the URI server side, what;date=1234 is a 
different element than what;date=5678. (like different archives, for 
examples)

> You said also that http://example.com/what?date=1234/test is similarly 
> different from http://example.com/what?date=5678/test. Correct?

Yes (but in that case the last / should be escaped). Unlike above, the 
leaf is 'what' with the parameter date=5678%2Ftest or date=1234%2Ftest, 
instead of 'test' (and two different 'test' as the container is different, 
in the first example).

> Finally, you said that http://example.com/what#date=1234/test (is it a valid 
> URI?) is not different than http://example.com/what#date=5678/test ? Because 
> they point to the same resource?

In that case, the resource is the same http://example.com/what, you are 
just addressing different fragments of the same resource, and not two 
different resources, like in the first two examples.

-- 
Baroula que barouleras, au tiťu toujou t'entourneras.

         ~~Yves
Received on Wednesday, 15 October 2008 10:21:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 September 2011 12:13:31 GMT