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

RFC2396bis, path

From: Graham Klyne <GK@NineByNine.org>
Date: Wed, 26 Feb 2003 22:12:35 +0000
Message-Id: <5.1.0.14.2.20030226220735.0326ee10@127.0.0.1>
To: "Roy T. Fielding" <fielding@apache.org>
Cc: <uri@w3.org>

Roy,

The 'path' production appears to be redundant:
[[
    path          = [ abs-path / opaque-part ]

    path-segments = segment *( "/" segment )
    segment       = *pchar

    pchar         = unreserved / escaped / ";" /
                    ":" / "@" / "&" / "=" / "+" / "$" / ","
]]
-- http://www.apache.org/~fielding/uri/rev-2002/rfc2396bis.html#rfc.section.3.3

in light of the way a URI is defined:

[[
    absolute-URI  = scheme ":" ( hier-part / opaque-part )

     :

    relative-URI  = [ net-path / abs-path / rel-path ] [ "?" query ]

     :

    hier-part     = [ net-path / abs-path ] [ "?" query ]

    net-path      = "//" authority [ abs-path ]

    abs-path      = "/"  path-segments
]]

I've done a quick search through the document and as far as I can tell the 
'path' production is not referenced.

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
Received on Wednesday, 26 February 2003 19:14:40 GMT

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