W3C home > Mailing lists > Public > www-tag@w3.org > February 2003

Re: Draft 2 of "How to Compare URIs"

From: Martin Duerst <duerst@w3.org>
Date: Mon, 17 Feb 2003 18:12:40 -0500
Message-Id: <4.2.0.58.J.20030217181007.053aab40@localhost>
To: Bjoern Hoehrmann <derhoermi@gmx.net>, Tim Bray <tbray@textuality.com>
Cc: WWW-Tag <www-tag@w3.org>

This is interesting, but it doesn't prove anything more
than that the basic assumption of "How to compare URIs"
is correct, namely that there are different ways to do it.
(starting with the simple codepoint-by-codepoint equivalence
used by namespaces).

The question that is more interesting: Is there any
URI scheme or (not obviously buggy) implementation where
URIs such as http://www.example.org/%61 and
http://www.example.org/a return different results?

I have yet to see something like this.

Regards,    Martin.

At 20:50 02/12/26 +0100, Bjoern Hoehrmann wrote:

>* Tim Bray wrote:
> >[http://www.textuality.com/tag/uri-comp-2.html]
>
> >By the way, I'm really looking for input on what I'll call the %61
> >issue;
>
>I wrote some sample programs to compare
>
>   http://www.example.org/%61 with
>   http://www.example.org/a
>
>with the following facilities and results:
>
>Windows Shell 5.0 (Win98, Win2000, Internet Explorer 5.0 and later)
>   -> http://lists.w3.org/Archives/Public/www-archive/2002Dec/0095.html
>   -> UrlCompare(...)
>        -> equal
>
>Libwww-perl, URI.pm 1.22
>   -> http://lists.w3.org/Archives/Public/www-archive/2002Dec/0096.html
>   -> URI::eq(...)
>        -> equal
>
>Microsoft .NET Framework 1.0
>   -> http://lists.w3.org/Archives/Public/www-archive/2002Dec/0094.html
>   -> System.Uri.equals(...)
>        -> equal
>
>Java Development Kit 1.4.0
>   -> http://lists.w3.org/Archives/Public/www-archive/2002Dec/0097.html
>   -> java.net.URL.equals(...)
>        -> not equal
Received on Monday, 17 February 2003 19:54:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:16 GMT