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

Re: Rolled up Feedback on draft-gregorio-uritemplate-00

From: James M Snell <jasnell@gmail.com>
Date: Thu, 09 Nov 2006 15:27:27 -0800
Message-ID: <4553B95F.9060304@gmail.com>
To: Joe Gregorio <joe@bitworking.org>
CC: Marc Hadley <Marc.Hadley@sun.com>, uri@w3.org

Generally yes.  However, I think this falls under the unintended uses
category... which is generally a good thing.  FWIW, it is fairly simple
to associate each variable with a regex in code.

- James

Joe Gregorio wrote:
> On 11/9/06, Marc Hadley <Marc.Hadley@sun.com> wrote:
>> I also got some feedback on the users@wadl.dev.java.net mailing list
>> that the spec should require at least one reserved character between
>> template variables since, in the general case, its impossible to work
>> out the values of the template variables after substitution. E.g.
>> given the template
>> http://example.com/{foo}{bar}
>> and the URI
>> http://example.com/xyzzy
>> you can't tell what the values of foo and bar are.
> I didn't think that was a use case. I have been operating
> under the assumption that we were covering
> URI Template -> URI, but not the other direction.
>   Thanks,
>   -joe
Received on Thursday, 9 November 2006 23:27:47 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 10 October 2021 22:17:49 UTC