W3C home > Mailing lists > Public > uri@w3.org > November 2009

URI Template: expanding lists

From: Christophe Lauret <clauret@weborganic.com>
Date: Fri, 6 Nov 2009 17:02:06 +1100
Message-ID: <fb85fac60911052202g20e3625fg6b541a63b07efeba@mail.gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: uri@w3.org, Mark Nottingham <mnot@mnot.net>, Joe Gregorio <joe@bitworking.org>
[Comment on the URI Template working draft]

Is there any particular reason why the current draft suggests that
variables typed as lists (marked with @) be expanded so that the
variable name is followed by a generated numbering?

The numbering scheme seems quite odd and specific (1-based with first
item unnumbered).

For example, in the case of the ? operator:

  {?@list}  ?list=val1&list2=val2&list3=val3

Why not simply expand it as:

   ?list=val1&list=val2&list=val3

This would still be a perfectly valid sequence of query parameters.
Or am I missing something obvious?

Christophe-
Received on Friday, 6 November 2009 06:02:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:13 UTC