- From: Manger, James H <James.H.Manger@team.telstra.com>
- Date: Mon, 3 Dec 2007 10:43:37 +1100
- To: "URI" <uri@w3.org>
>> More importantly, we need easy support for query parameters where the
>> query name does not match the variable name. We need easy support for
>> the leading '?' or '&'.
> Just for comparison sake, here's how it would look with the current
> approach...
>
> /foo{-opt|?|b,d}{-prefix|a=|b}{-opt|&|b,d}{-prefix|c=|d}
That works, but only for 2 variables. My example had three. That is where it gets really dicey (or impossible).
Even this line with 2 variables is ugly -- awkward to write, awkward to understand, with variable names in triplicate.
/foo{?a=b}{&c=d} is so much simpler.
Received on Sunday, 2 December 2007 23:44:05 UTC