Re: draft-gregorio-uritemplate-02.txt

Yep, saw the example, I just wanted to be certain.  That needs to be
called out explicitly in the spec.

- James

Joe Gregorio wrote:
> On Nov 26, 2007 1:08 PM, James M Snell <jasnell@gmail.com> wrote:
>> Another question,
>>
>>    "If the variable is defined and non-empty"
>>
>> Is a zero-length string considered empty or non-empty? e.g. if foo="",
>> does {-prefix|#|foo} expand to "" or "#"?
> 
> A zero length string is considered 'empty'. There is a case in
> the examples which demonstrates exactly that.
> 
>   -joe
> 
>> - James
>>
>>
>> Joe Gregorio wrote:
>>> I've submitted draft-gregorio-uritemplate-02.txt, but it won't be
>>> officially published until Dec 3rd because of the upcoming
>>> IETF meeting. I've gone ahead and released the HTML and TXT
>>> versions of the draft and will update the pointer to the TXT version
>>> once it is published as an internet-draft.
>>>
>>> As usual, it can be found here:
>>>
>>>    http://bitworking.org/projecs/URI-Templates/
>>>
>>> This version adds the '-cmd' commands we've been talking
>>> about, w/o the '-sub' command. I've also added an examples
>>> section and some example code in an Appendix to demonstrate
>>> how easy the parsing can be.
>>>
>>> I've also written a parser that extracts the example
>>> templates and variable definitions from the final .TXT version
>>> of the specification and runs them through the template-expansion code to
>>> check them against the supplied expansions. Finally, the
>>> URI Template explainer web service has been updated to
>>> conform to this draft.
>>>
>>>    Thanks,
>>>    -joe
>>>
> 
> 
> 

Received on Monday, 26 November 2007 19:36:34 UTC