Re: [apps-discuss] draft-ietf-iri-comparison

Graham Klyne <gk@ninebynine.org> Mon, 26 January 2015 14:56 UTC

Return-Path: <gk@ninebynine.org>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D51B1A88C9 for <apps-discuss@ietfa.amsl.com>; Mon, 26 Jan 2015 06:56:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tANegvIdBm0I for <apps-discuss@ietfa.amsl.com>; Mon, 26 Jan 2015 06:56:03 -0800 (PST)
Received: from relay13.mail.ox.ac.uk (relay13.mail.ox.ac.uk [129.67.1.166]) by ietfa.amsl.com (Postfix) with ESMTP id 0D3751A8ABF for <apps-discuss@ietf.org>; Mon, 26 Jan 2015 06:56:03 -0800 (PST)
Received: from smtp4.mail.ox.ac.uk ([129.67.1.207]) by relay13.mail.ox.ac.uk with esmtp (Exim 4.80) (envelope-from <gk@ninebynine.org>) id 1YFl57-0006Q6-hX; Mon, 26 Jan 2015 14:56:01 +0000
Received: from gklyne.plus.com ([80.229.154.156] helo=conina.atuin.ninebynine.org) by smtp4.mail.ox.ac.uk with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <gk@ninebynine.org>) id 1YFl57-0007LB-Ds; Mon, 26 Jan 2015 14:56:01 +0000
Message-ID: <54C65580.2080407@ninebynine.org>
Date: Mon, 26 Jan 2015 14:56:00 +0000
From: Graham Klyne <gk@ninebynine.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Larry Masinter <masinter@adobe.com>
References: <54B18B61.8010308@seantek.com> <54B19435.8070401@intertwingly.net> <54B1B211.3050807@seantek.com> <54B1B682.3070609@intertwingly.net> <012001d02d91$6ec42300$4001a8c0@gateway.2wire.net> <54B2781C.4040505@intertwingly.net> <018e01d02dc6$1d03b0a0$4001a8c0@gateway.2wire.net> <54B2CC75.5080900@intertwingly.net> <54B79930.3070009@ninebynine.org> <54B7AEC2.9010109@intertwingly.net> <20150116033032.GD2350@localhost> <DM2PR0201MB096082B3915B85F60EDB617DC34F0@DM2PR0201MB0960.namprd02.prod.outlook.com> <015c01d0362f$1f6f6020$4001a8c0@gateway.2wire.net> <BN3PR0201MB0945D77BAC3FFB5396057D7AC3360@BN3PR0201MB0945.namprd02.prod.outlook.com>
In-Reply-To: <BN3PR0201MB0945D77BAC3FFB5396057D7AC3360@BN3PR0201MB0945.namprd02.prod.outlook.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Oxford-Username: zool0635
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/SAAz3f02zEDcPxg2j7rpVHF-6mI>
Cc: "apps-discuss@ietf.org" <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] draft-ietf-iri-comparison
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jan 2015 14:56:05 -0000

IF this issue gets further discussion, I'd be very concerned that a comparison 
of URI beyond simple character comparison would not be universally implemented. 
  E.g., I do from time-to-time use URIs as index values for dictionary lookups - 
that depends implicitly on character-based equality.

Further I don't believe it is possible to completely define URI equivalence of 
different URI strings in a meaningful way, because the notion of equivalence 
depends on context of use.  When working with, say, RDF, when it is important to 
be sure that two references are denoting the same thing, the easy way is to just 
use the same referring string;  alternatively, use some extrinsic assertion that 
two different URIs are denoting the same thing.

In other words, why bother?  Just keep it simple.

#g
--


On 23/01/2015 05:23, Larry Masinter wrote:
> Tom Petch wrote, re draft-ietf-iri-comparison
>
>> I notice that this (expired) I-D updates RFC3986 which seems germane to
>> recent discussions on this list.  Reading it, I can see why it might
>> update RFC3987 or 3987bis but cannot see where it updates RFC3986.
>> What am I missing?
>
> I'm afraid
>
> " As URIs are a subset of IRIs, the guidelines apply to URI comparison as well."
>
> should have said the id ("Comparison, Equivalence and Canonicalization
>   of Internationalized Resource Identifiers")
> was intended to replace RFC 3986 section 6 "Normalization and Comparison"
> in its entirety.
>
> At this point I'd suggest comments on open in URL issues
> https://github.com/webspecs/url/issues/18
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=27640
>
> Should equivalence of URLs should mandate that if you parse URL  A and
> get back URI B, then A must be equivalent to B?
> Then, if you have a different URL C that turns into B, C must also be equivalent
> to A and B. Even for URLs that are valid URIs.
> This requirement in 3986 is just a MAY.
>
> Larry
> --
> http://larry.masinter.net
>
>
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
>