- From: Roy T. Fielding <fielding@gbiv.com>
- Date: Tue, 2 Mar 2004 18:14:53 +0100
- To: Rob Cameron <cameron@cs.sfu.ca>
- Cc: uri@w3.org
Yes, the grammar issue was noted by Ray Merkert on Feb 17th. > Perhaps the following text is appropriate. > > "An ABNF-driven parser will find that the border between > authority and path is ambiguous; they are disambiguated by the > "first-match-wins" (a.k.a. "greedy") algorithm. This produces > correct results whenever the authority is absent or the first > segment of the path is empty. Although the grammar permits > a nonempty path in the presence of an authority component, > the URI is considered ill-formed in this case." Note that the text already says a more forceful equivalent in section 3.3: If a URI contains an authority component, then the initial path segment must be empty (i.e., the path must begin with a slash ("/") character or be entirely empty). Is that not sufficient? ....Roy
Received on Tuesday, 2 March 2004 13:29:15 UTC