Re: [Json] Proposal: the minimal edit

Paul Hoffman <paul.hoffman@vpnc.org> Tue, 25 June 2013 02:14 UTC

Return-Path: <paul.hoffman@vpnc.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 B8CBD21E8050 for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 19:14:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.516
X-Spam-Level:
X-Spam-Status: No, score=-102.516 tagged_above=-999 required=5 tests=[AWL=0.083, BAYES_00=-2.599, 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 ZCEkXqtYkHgY for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 19:14:57 -0700 (PDT)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 37CDC21E804C for <json@ietf.org>; Mon, 24 Jun 2013 19:14:57 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-165.dsl.dynamic.sonic.net [50.0.66.165]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.5) with ESMTP id r5P2EucP096552 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 24 Jun 2013 19:14:56 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <A11BEF17-E44D-44C7-B026-81EE86655801@lindenbergsoftware.com>
Date: Mon, 24 Jun 2013 19:14:55 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <B715472E-E5D1-4766-867C-73C19A5000F4@vpnc.org>
References: <CAChr6SyN4Z3Hh8OFGHkK+AJN0+S09wMfjeobZ51GjKNL+GhPsw@mail.gmail.com> <CAHBU6ivhoUM9cfUnc1YfnyDdQnWQ=Mj10cSoYn0qouMQ0F94XA@mail.gmail.com> <CAChr6SyQDjik_BTojXdw3G7_B=W5iZXksuM15VYwGJqr8WHdhw@mail.gmail.com> <CAChr6SwbFfR5UQuU2ceJhDeGAhv5Zy0dKA3szzO_KGfjA7fx5Q@mail.gmail.com> <B4858680-D319-4603-A1C3-D6A84195B300@vpnc.org> <CAHBU6ivUL6YvtMiajQwfftNgrRJk4dqiFs1yowoxfLi5wh2_hQ@mail.gmail.com> <20130624233521.GF19899@mercury.ccil.org> <3D442E5F-F9ED-47DB-9E1D-29ACA8588717@vpnc.org> <3BBF18FB-63DE-40DE-93B4-1F8343386872@lindenbergsoftware.com> <6B5B32EF-E4EA-461A-8C73-262375703A04@vpnc.org> <A11BEF17-E44D-44C7-B026-81EE86655801@lindenbergsoftware.com>
To: Norbert Lindenberg <ietf@lindenbergsoftware.com>
X-Mailer: Apple Mail (2.1508)
Cc: "json@ietf.org WG" <json@ietf.org>
Subject: Re: [Json] Proposal: the minimal edit
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: Tue, 25 Jun 2013 02:14:57 -0000

<no hat>

On Jun 24, 2013, at 6:35 PM, Norbert Lindenberg <ietf@lindenbergsoftware.com> wrote:

> 
> On Jun 24, 2013, at 17:28 , Paul Hoffman wrote:
> 
>>>> - ECMAScript implementations can generate and consume code points in JSON strings that are not
>>>> Unicode characters.
>>> 
>>> Which definition of "Unicode character" are the three of you referring to?
>> 
>> Does it actually matter? This thread is about making minimal changes to the current spec. The current spec says "Unicode characters". The proposed addition to the spec indicates that, for some definition of "Unicode character" that is not in RFC 4627, ECMAScript can have strings with more than just Unicode characters.
>> 
>> Do you believe that proposed sentence is incorrect?
> 
> Without a definition of "Unicode character" we can't determine whether the sentence is correct or not.

I believe you can. If you look at the mailing list, you will see that some people interpret ECMAScript as allowing every code point in strings. There are some code points that do not represent Unicode characters. Isn't that sufficient?

> On the other hand, all code points that an ECMAScript implementation can generate and consume are allowed by the JSON grammar, so by that measure there's no difference between the two specifications.

There is wide disagreement on that statement in the WG so far.

> I think what Tim and others really want to say is "JSON over the wire must not use surrogate code points", with Tim adding "... or non-character code points". From that would follow that "ECMAScript implementations can generate and consume code points in JSON strings that must not be used in JSON over the wire". And I think that's the kind of information that actually matters from an interoperability point of view. It's not a minimal edit though.

Exactly right. The attempt in this thread is *not* to list interoperability points, just cleanup.

--Paul Hoffman