W3C home > Mailing lists > Public > uri@w3.org > December 2006

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

From: Joe Gregorio <joe@bitworking.org>
Date: Tue, 26 Dec 2006 10:41:18 -0500
Message-ID: <3f1451f50612260741w1cafa007jfc9d47aee5b11f53@mail.gmail.com>
To: "Jerome Louvel" <contact@noelios.com>
Cc: uri@w3.org

On 12/26/06, Jerome Louvel <contact@noelios.com> wrote:
> 4. Escape all 'sub-delims' characters, realizing we may
>     not end up with a valid URI.
> 5. Don't escape any character, leaving this task to the
>     application converting the template to valid URIs.

If you leave it up to the application you
end up with the following situation:
Given the template:



   path = "projects/httplib2/"

then application A interprets this as:


and application B interprets it as:


Those are two completely different URIs, only one of
which will work. Following this would create a spec
that provided no utility.


Joe Gregorio        http://bitworking.org
Received on Tuesday, 26 December 2006 15:41:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:10 UTC