Re: URI and IRI Templating - encoding defaults

Mike (and Stafan) have it right.

Mike, it's basically saying that to figure out how to encoding  
things, you'll need to consider the way that the template is intended  
to be used -- so you'll need to follow its instructions. Considering  
that you'll already be doing so for other reasons (e.g., to figure  
out what to put in each variable, semantic-wise as well as for any  
variable-specific syntactic considerations), it's not too onerous.

Cheers,


On 2007/01/18, at 12:16 AM, Mike Schinkel wrote:

>
> Stefan Eissing wrote:
>> I think the gist is that any special escape rules are part of
>> the documentation of a specific template. So, when you follow
>> the template documentation, you end up with your first uri.
>>
>> That does however not restrict other templates. So you can define a
>> Foo2 URI Template which has different rules.
>>
>> That's how I understood Mark. Any errors are purely mine.
>
> Hmm. If so that doesn't sounds like a "standard" that can be easily
> followed. And again, I still relatively new to considering issues  
> at this
> low level so I still get confused by some of this stuff.
>
> -- 
> -Mike Schinkel
> http://www.mikeschinkel.com/blogs/
> http://www.welldesignedurls.org/
> "It never ceases to amaze how many people will proactively debate away
> attempts to improve the web..."
>
>
>
>
>
>
>


--
Mark Nottingham     http://www.mnot.net/

Received on Wednesday, 17 January 2007 22:40:44 UTC