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

Re: Feedback on draft-gregorio-uritemplate-00

From: Jan Algermissen <jalgermissen@topicmapping.com>
Date: Sun, 15 Oct 2006 21:36:39 +0200
Message-Id: <A6830873-358C-4CBD-A6A9-541A8F29CC48@topicmapping.com>
To: uri@w3.org


(sorry if this has been raised before)

In the uritemplate draft there is the following example:

http://example.org/{a}{b}/    -->  http://example.org/fredbarney/

I am having trouble to understand how a uritemplate parser is  
supposed to come up with a = fred and b = barney
when parsing http://example.org/fredbarney/; e.g. a = f and b =  
redbarney is as good as a result.

I'd say that templates like http://example.org/{a}{b}/ should be  
ruled out (there is a term for ambigous grammars like that,
but I'd need to look that up and can't right now).


Received on Sunday, 15 October 2006 19:37:03 UTC

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