W3C home > Mailing lists > Public > public-iri@w3.org > August 2011

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 02 Aug 2011 03:47:19 +0200
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Cc: public-iri@w3.org
Message-ID: <hale37ljme2hn3pppvfpqhffah1rf5r6ee@hive.bjoern.hoehrmann.de>
* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 April 2012 19:52:02 GMT