- From: Joe Gregorio <joe@bitworking.org>
- Date: Fri, 9 Nov 2007 22:13:07 -0500
- To: "DeWitt Clinton" <dewitt@unto.net>
- Cc: uri@w3.org
On Nov 9, 2007 9:26 PM, DeWitt Clinton <dewitt@unto.net> wrote:
> http://example.com/{categories+/}
> http://example.com/uri/atom/search
I believe the grammar is ambiguous. For example,
if I have the template:
http://example.com/{name1,name2+}
And
name1 := "fred"
name2 := "barney"
Does that expand to:
http://example.com/fred+barney
or
http://example.com/fred&barney
There are also escaping issues. For example,
what if I want to emit ')' as part of a prefix?
I like the simplicity but I don't think we can
get away from using '|' as a separator w/o
increasing the complexity of the parser, as I
think the examples above show.
-joe
--
Joe Gregorio http://bitworking.org
Received on Saturday, 10 November 2007 03:13:16 UTC