fragment syntax

Roy T. Fielding (fielding@kiwi.ics.uci.edu)
Mon, 27 Oct 1997 19:17:34 -0800


To: Al Gilman <asgilman@access.digex.net>
cc: uri@bunyip.com
Subject: fragment syntax
In-reply-to: Your message of "Fri, 24 Oct 1997 18:07:43 EDT."
             <199710242207.SAA06155@access1.digex.net> 
Date: Mon, 27 Oct 1997 19:17:34 -0800
From: "Roy T. Fielding" <fielding@kiwi.ics.uci.edu>
Message-ID:  <9710271923.aa06613@paris.ics.uci.edu>

>I still have hopes to see this kind of intra-resource reference
>refinement strengthened in the URI vocabulary of the 'Net.
>
>See for example my flame about "Where-it-says in URLs" at
>
>  http://www.access.digex.net/%7Easgilman/web-access/wis_rfc.html

This is another one of those oft-repeated discussions that never
actually leads to implementations.  For example,

   http://www.acl.lanl.gov/URI/archive/uri-95q4.messages/0111.html

which is pretty short, so I'll include it below.

.....Roy

==================================================================
To: James Whitescarver <jim@eies.njit.edu>
Cc: tm@rasips1.rasip.etf.hr, uri@bunyip.com, www-talk@w3.org
Subject: Re: Proposition on advanced URL features (Request for comments) 
In-Reply-To: Your message of "Tue, 28 Nov 1995 11:11:26 EST."
             <199511281611.LAA20545@eies.njit.edu> 
Date: Tue, 28 Nov 1995 19:43:01 -0800
From: "Roy T. Fielding" <fielding@avron.ICS.UCI.EDU>
Message-Id:  <9511281943.aa24455@paris.ics.uci.edu>

> 1.  The use of ## for special anchors seems reasonable.

Use of more than one "#" character is illegal and not desirable
in the current URI syntax.

We have discussed this same topic many times on the www-talk and uri
lists, and the conclusion is always the same:

   1) fragment identifiers are dependent on the media type of the
      entity retrieved;

   2) fragment identifier syntax should be registered with the media
      type registration;

   3) the "=" character should be used as an indicator for a non-name
      syntax, as in

          #name        (as in current HTML use)
          #id=fred
          #bytes=200-254
          #words=20-24
          #line=4
          #chapter=14
          #page=3

The only thing that prevents this right now is the uncertainty about
how to register this along with a media type, and some volunteer to
look at all the current media types and define a list of appropriate
ones for the initial registry.


 ...Roy T. Fielding
    Department of Information & Computer Science    (fielding@ics.uci.edu)
    University of California, Irvine, CA 92717-3425    fax:+1(714)824-4056
    http://www.ics.uci.edu/~fielding/