Re: [Json] Proposal: the minimal edit

John Cowan <cowan@mercury.ccil.org> Tue, 25 June 2013 01:30 UTC

Return-Path: <cowan@ccil.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 C8D8F21E8168 for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 18:30:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.473
X-Spam-Level:
X-Spam-Status: No, score=-3.473 tagged_above=-999 required=5 tests=[AWL=0.126, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 wnxHpwjRkspV for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 18:29:58 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id 73C1121E814A for <json@ietf.org>; Mon, 24 Jun 2013 18:29:58 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1UrHuT-00007Z-2j; Mon, 24 Jun 2013 21:19:05 -0400
Date: Mon, 24 Jun 2013 21:19:05 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Message-ID: <20130625011904.GJ19899@mercury.ccil.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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <3D442E5F-F9ED-47DB-9E1D-29ACA8588717@vpnc.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
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 01:30:02 -0000

Paul Hoffman scripsit:

> I'm not sure what you mean by "exclude". The sentence Tim was referring
> to is about inclusion:
> 
>   - ECMAScript implementations can generate and consume code points
>     in JSON strings that are not Unicode characters.

There is no point in putting this item into a list of differences
unless it is not true of RFC-JSON.  If this language is to be added, it
follows that RFC-JSON excludes certain code points that are not Unicode
characters.  But exactly which code points?  As worded, presumably
all of them: the surrogate code points, the non-character code points
(a term of art in Unicode; it does not mean "code points that are not
characters", but refers to a specific list of 66 code points), and the
unassigned (as of some particular Unicode version) code points.

Tim's proposed revision replaced the last five words with "that can never
be Unicode characters", thus excluding from RFC-JSON only the surrogate
code points and the non-character code points, but not the unassigned
code points.  As it turns out, this is indeed what he meant to say.

My preference would be to exclude only the surrogates, not the
non-characters, which is yet a third position.  My suggested wording
would be simply "that are surrogates".

(Strictly speaking, code points are not characters; code points
*represent* characters.  This editorial point is orthogonal to the current
discussion.)

-- 
He made the Legislature meet at one-horse       John Cowan
tank-towns out in the alfalfa belt, so that     cowan@ccil.org
hardly nobody could get there and most of       http://www.ccil.org/~cowan
the leaders would stay home and let him go      --H.L. Mencken's
to work and do things as he pleased.              Declaration of Independence