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

Re: Alternative URL template proposal

From: Joe Gregorio <joe@bitworking.org>
Date: Fri, 9 Nov 2007 22:13:07 -0500
Message-ID: <3f1451f50711091913u289a4199gb3d9ae4d68ef4446@mail.gmail.com>
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:


   name1 := "fred"
   name2 := "barney"

Does that expand to:




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 Gregorio        http://bitworking.org
Received on Saturday, 10 November 2007 03:13:16 UTC

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