Re: [Json] Consensus call: establishing name equality

Carsten Bormann <cabo@tzi.org> Fri, 21 June 2013 18:18 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D119921F9BE5 for <json@ietfa.amsl.com>; Fri, 21 Jun 2013 11:18:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.209
X-Spam-Level:
X-Spam-Status: No, score=-106.209 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xt8a0w+s8CV1 for <json@ietfa.amsl.com>; Fri, 21 Jun 2013 11:18:32 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 6302411E80AD for <json@ietf.org>; Fri, 21 Jun 2013 11:18:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.4/8.14.4) with ESMTP id r5LIIHQn026409; Fri, 21 Jun 2013 20:18:17 +0200 (CEST)
Received: from [192.168.217.135] (p5489351C.dip0.t-ipconnect.de [84.137.53.28]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 75A4876CA; Fri, 21 Jun 2013 20:18:17 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
Content-Type: text/plain; charset="iso-8859-1"
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <DB211AD8-6BBA-4D95-9B6E-F00AA69E584E@vpnc.org>
Date: Fri, 21 Jun 2013 20:18:16 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <6BCAAC4F-2B45-43BA-A40B-96F3369A5851@tzi.org>
References: <DB211AD8-6BBA-4D95-9B6E-F00AA69E584E@vpnc.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
X-Mailer: Apple Mail (2.1508)
Cc: JSON WG <json@ietf.org>
Subject: Re: [Json] Consensus call: establishing name equality
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Jun 2013 18:18:37 -0000

Hmm, a bit too much MUSTard for my taste.  Only the first MUST in 1 is really needed.
So 1 > 3 > 2, but I don't like any of them:
a) The example does not illustrate the sentence preceding it (although it sounds as if it were intended to do so):  Swap the example and the "no mods" sentence.
(Again, b) we are comparing sequences of code points and not single code points, and c) the "there is to be no mod" sentence is not properly bound to the comparing, so there is infinite potential for misinterpretation of these sentences unless you already know what they are saying.)

Do we have consensus what we'll use the name equality for that we just defined?

Grüße, Carsten

On Jun 21, 2013, at 18:42, Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> There are four proposals for establishing name equality:
> 
> 0) Leave the current draft as-is, not discussing name equality
> 
> 1) In Section 2.5 ("Strings"), immediately before the ABNF add:
>   For purpose of establishing name equality, comparisons MUST be conducted, after all unescaping
>   is done, by comparing numeric character code points. There is to be no modification of any
>   kind to the characters in names, including case-changing or combining-form normalization.
>   For example, the following four names MUST be considered equivalent:
>    * "\u002F"
>    * "\u002f"
>    * "\/"
>    * "/"
> 
> 2) In Section 2.5 ("Strings"), immediately before the ABNF add:
>   For purpose of establishing name equality, comparisons MUST be conducted, after all unescaping
>   is done, by comparing numeric character code points. There MUST NOT be any modification of any
>   kind to the characters in names, including change of case or change between precomposed and
>   decomposed forms.
>   For example, the following four names MUST be considered equivalent:
>    * "\u002F"
>    * "\u002f"
>    * "\/"
>    * "/"
> 
> 3) In Section 2.5 ("Strings"), immediately before the ABNF add:
>   For purpose of establishing name equality, implementations MUST first do all unescaping and
>   then MUST compare numeric character code points. There is to be no modification of any kind to
>   the characters in names, including case-changing or combining-form normalization.
>   For example, the following four names MUST be considered equivalent:
>    * "\u002F"
>    * "\u002f"
>    * "\/"
>    * "/"
> 
> Please respond to this message with a list of proposals you could accept, ordered from highest to lowest. Do not list proposals you cannot live with. If you cannot accept any of the proposals, please respond and say why.
> 
> Based on the responses we receive, we will try to judge the consensus of the WG.
> 
> -- The JSON WG co-chairs
> 
> 
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>