W3C home > Mailing lists > Public > www-tag@w3.org > July 2007

Re: interesting hash in URLs

From: Xiaoshu Wang <wangxiao@musc.edu>
Date: Fri, 27 Jul 2007 16:18:32 +0100
Message-ID: <46AA0CC8.50400@musc.edu>
To: "T.V Raman" <raman@google.com>
CC: www-tag@w3.org

T.V Raman wrote:
> ab(use) --- often leads to the discovery of interesting if hacky
> design patterns.
>
> One of the weaknesses in Web Arch is the relative weakness  with
> respect to how client-side fragment identifiers are understood;
> basically the early days of HTML said #idref --- and in some
> sense nothing more has  realy been written down. Compare this to
> the relative richness  in terms of how URL parsing on the
> server-side is defined.
>   
I think Raman does raise an important question that needs to be 
addressed by the Web Arch.  It is easier to understand how it works in 
this particular web application, but what if the returned HTML document 
contains an element that has the same fragment ID.

What is then the correct behavior, then? 
(1) To scroll down to that element 
(2) play the video 
(3) Error message
(4) Do nothing?

Of course a clearly defined meaning on fragment ID is needed.

A related fragment id meaning will come up when the content negotiation is considered.  For instance, what is the relationship between

a) get application/rdf+xml "http://example.com/exp/#something" 
and
b) get text/html "http://example.com/exp/#something"

And if the fragment id is not found by the client, is it like a 404 or somethingelse?
 
Xiaoshu 
Received on Friday, 27 July 2007 15:19:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:46 GMT