simplifying URI path production

On Wednesday, June 11, 2003, at 12:31  PM, Rob Cameron wrote:
> To address both the problem reported by Mark and the
> problem above, I have found that there may be merit
> to simplifying the URI production to directly reflect the
> opening statement of section 3:
>
> "The generic URI syntax consists of a hierarchical sequence of
> components referred to as the scheme, authority, path, query, and
> fragment."
>
> URI  = scheme ":" ["//" authority] path [ "?" query ] [ "#" fragment ]

Done.  This was a great suggestion -- it vastly simplifies the grammar
and associated text.

> This rule reflects the five-component structure and the statement
> that a path always exists, even if it is empty.   It can be made
> to work with either of the two following definitions of path:
>
> path = abs-path / rel-path
> path = segment *( "/" segment )

I chose the latter and removed abs-path, net-path, and rel-path.

Cheers,

Roy T. Fielding                            <http://roy.gbiv.com/>
Chief Scientist, Day Software              <http://www.day.com/>

Received on Monday, 9 February 2004 04:16:10 UTC