W3C home > Mailing lists > Public > uri@w3.org > November 2007

Re: draft-gregorio-uritemplate-02.txt

From: James M Snell <jasnell@gmail.com>
Date: Mon, 26 Nov 2007 10:08:07 -0800
Message-ID: <474B0B87.7090809@gmail.com>
To: Joe Gregorio <joe@bitworking.org>
CC: URI <uri@w3.org>

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 "#"?

- 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 18:08:21 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 10 October 2021 22:17:50 UTC