W3C home > Mailing lists > Public > uri@w3.org > April 2008

Re: draft-gregorio-uritemplate-03.txt

From: John Cowan <cowan@ccil.org>
Date: Sat, 5 Apr 2008 01:40:35 -0400
To: uri@w3.org
Message-ID: <20080405054035.GE31674@mercury.ccil.org>

Substantive points:

1) Why use NKFC, or any normalization at all?  That makes it impossible
to generate the URI equivalents of perfectly legal IRIs that happen to
contain characters that disappear under normalization.  If the values
of the variables are identical, codepoint by codepoint, the results
of the URI Template processor will be identical -- and that's all you
really need.

2) Why is an empty list variable treated the same as an undefined variable
by the -opt and -neg operators?

3) Why require the values of variables in -join to be non-empty?
That contradicts the first example in any case.  I think it makes more
sense to allow them to be empty and Just Work.

4) The -list operator corresponds more closely to join methods in Java,
Perl, and Python, and IMHO should be named -join, leaving something like
-map or -vars for the current -join operator.

-- 
We pledge allegiance to the penguin             John Cowan
and to the intellectual property regime         cowan@ccil.org
for which he stands, one world under            http://www.ccil.org/~cowan
Linux, with free music and open source
software for all.               --Julian Dibbell on Brazil, edited
Received on Saturday, 5 April 2008 05:41:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:41 GMT