Re: URI Templates - optional variables?

On Aug 1, 2007, at 11:24 AM, Stefan Eissing wrote:
> So Mike's request to have a way to map to outcome B.) is not solved  
> by path normalization. Since both "" and  
> "" are valid URIs and not equivalent under  
> any definition, it needs an extra modifier like the '?' to express  
> the difference to a template parser.
I'd be interested to hear more about the use case for a URI template  
that behaves in this way. E.g. I'd expect that:

would identify two quite different resources, whereas:

*could* identify two instances of particular kind of resource. I'd  
like to understand what is the planned use for a URI template that  
can resolve to either of the first pair - why wouldn't you use two  
different URI templates ?


Marc Hadley <marc.hadley at>
CTO Office, Sun Microsystems.

Received on Wednesday, 1 August 2007 17:02:13 UTC