Re: draft-gregorio-uritemplate-02.txt

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 UTC