Marc Hadley | 2 Jan 2007 20:08
Picon

Re: URI and IRI Templating (What did I get myself into?)

On Dec 26, 2006, at 5:17 PM, Mike Schinkel wrote:

>
> Mark Nottingham wrote:
>> Your proposal puts the encoding information into the variable name.
>> That's one option, but I'm reluctant to encourage putting
>> this kind of thing in there, as it encourages URI Templates
>> to become URI Schemas, and they'll quickly become unreadable.
>> Encoding is by no means the last thing we'll want to
>> associate with a particular variable.
>
> Do you mind listing off what you are thinking of in terms of other  
> things to
> associate?
>
PMFJI. A few things that occur to me are: type information (integer,  
boolean, enumerated value etc), default values, and whether an empty  
value is permissible.

Marc.

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

Attachment (smime.p7s): application/pkcs7-signature, 2442 bytes

Gmane