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.

Received on Wednesday, 7 May 2003 21:10:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:05 UTC