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

Re: draft-gregorio-uritemplate-02.txt

From: James M Snell <jasnell@gmail.com>
Date: Tue, 27 Nov 2007 20:25:13 -0800
Message-ID: <474CEDA9.5000805@gmail.com>
To: Michaeljohn Clement <mj@mjclement.com>
CC: URI <uri@w3.org>



Michaeljohn Clement wrote:
> [snip]
> In the ABNF I find the 'operator' production to be confusingly named, 
> especially since there is already an 'op' production.
> 
> How about 'opexpr', which would also better match the prose.
> 

I was thinking 'expression' might be appropriate

> I think the names "opt" and "neg" will be hard to remember and don't 
> instantly convey what those operators do.  Perhaps "ifdef" and "undef"? 
> Those might be counterintuitive in regard to the empty-string behavior, 
> but they seem at least easier to remember.
> 

+1 on the point about "opt" and "neg". -1 on "ifdef" and "undef".
perhaps "if" and "not"?

 {-if|/|foo}
 {-not|/|foo}

> I'd rather see "append" changed to "suffix" as well, for consistency 
> with "prefix".
> 

+1

- James
Received on Wednesday, 28 November 2007 04:25:22 GMT

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