W3C home > Mailing lists > Public > uri@w3.org > May 2003

Re: Syntax Issues/Experience with RFC2396bis and abnf2re

From: Roy T. Fielding <fielding@apache.org>
Date: Wed, 7 May 2003 17:46:04 -0700
Cc: uri@w3.org
To: Rob Cameron <cameron@cs.sfu.ca>
Message-Id: <729B37E3-80EE-11D7-B456-000393753936@apache.org>

On Wednesday, May 7, 2003, at 04:10  PM, Rob Cameron wrote:
> One other issue that I ran across in URI processing is that the
> grammar allows an absolute-URI to have an empty path
> (empty hier-part), meaning that http: and http:?x are
> acceptable absolute-URIs.
> absolute-URI  = scheme ":" ( hier-part / opaque-part )
> hier-part     = [ net-path / abs-path ] [ "?" query ]
>
> Possibly these forms could be useful as some form of
> relative URI, but I don't see them as absolute URIs.   Even as
> relative URIs, they seem dubious.

The rationale for that is noted in the list of changes
at the bottom of the spec.

    The ABNF of hier-part and relative-URI (Section 3) has been corrected
    to allow a relative URI path to be empty.  This also allows an
    absolute-URI to consist of nothing after the "scheme:", as is present
    in practice with the "DAV:" namespace [RFC2518] and the "about:" URI
    used by many browser implementations.

....Roy
Received on Wednesday, 7 May 2003 21:10:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:31 GMT