RFC2396bis, path

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 UTC