W3C home > Mailing lists > Public > uri@w3.org > January 2006

path-abempty in URI

From: Tom Petch <nwnetworks@dial.pipex.com>
Date: Fri, 6 Jan 2006 12:50:03 +0100
Message-ID: <00f701c612b8$06a99fa0$0601a8c0@pc6>
To: "Larry Masinter" <LMM@acm.org>
Cc: <uri@w3.org>, "Salowey, Joe" <jsalowey@cisco.com>

I would like clarification about the ABNF in RFC3986.

My understanding from reading the text is that <path-abempty> exists to ensure
that there is always an authority between the // that comes after scheme: and
before the // that may start a path, so that
is permissible while
is not.  But the ABNF for authority is (selectively)
 authority     = host
   host          =  reg-name
    reg-name      = *( unreserved / pct-encoded / sub-delims )
which allows authority to be zero characters so that
where the path is //SERVERA///...
is allowed.


Tom Petch
Received on Saturday, 7 January 2006 17:05:40 UTC

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