Re: I-D Action: draft-reschke-ref-parsing-00.txt

* Martin J. Dürst wrote:
>3.1 says: "all components except for the Path Component can be 
>undefined." I'd change 'undefined' to 'empty'.

Actually, RFC 3986 draws a distinction between components having the
empty string as their value and components having no value at all, for
instance, `http://example.org/?` has a defined but empty query part,
while in `http://example.org/` the query component is undefined. Here
in particular the idea is that with

  URI = [scheme ":"] ["//" authority] [path] ["?" query] ["#" fragment]

all the components are optional, but only the path component matches
the empty string (meaning `path`, unlike the others, is always defined).
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Tuesday, 2 August 2011 01:47:49 UTC