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

Re: Canonical Form of URIs "/" and IRIs

From: Martin Duerst <duerst@w3.org>
Date: Fri, 05 Dec 2003 12:51:12 -0500
Message-Id: <4.2.0.58.J.20031205124920.00ac0e98@localhost>
To: "Jeremy Carroll" <jjc@hplb.hpl.hp.com>, <uri@w3.org>

At 18:40 03/12/04 +0100, Jeremy Carroll wrote:


>I have two comments on section 6.3 of
>
>http://gbiv.com/protocols/uri/rev-2002/draft-fielding-uri-rfc2396bis-03.html
>#canonical-form
>
>1) suggest add the following additional rule:
>
>+ For URIs following the generic syntax produce an abs_path of "/" in
>preference to omitting the abs_path
>  (this might need an additional example earlier in the doc
>http://example.com
>vs http://example.com/ )

Probably a good idea.


>2) may it be helpful to explicitly extend the rule:
>
>"Only perform percent-escaping where it is essential. "
>
>to considerations where the URI is being transported in a way that
>anticipates IRIs e.g. XML system identifiers - and to discourage %-escaping
>of non-ASCII chars in such circumstances.

I think this is an issue for the IRI spec, not the URI spec.
There are no non-ASCII chars in URIs as defined by the URI syntax
(there can be non-ASCII chars encoded in URIs, but that's not at
issue here).

Regards,   Martin.


>(I note that XML Namespaces 1.1 is explicit about this:
>
>"Because of the risk of confusion between IRIs that would be equivalent if
>derefenced, the use of %-escaped characters in namespace names is strongly
>discouraged."
>
>http://www.w3.org/TR/2003/PR-xml-names11-20031105/
>
>)
Received on Friday, 5 December 2003 14:13:36 UTC

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