Re: [Json] Proposal: the minimal edit
John Cowan <cowan@mercury.ccil.org> Tue, 25 June 2013 12:50 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 49C0521F9E96 for <json@ietfa.amsl.com>; Tue, 25 Jun 2013 05:50:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.47
X-Spam-Level:
X-Spam-Status: No, score=-3.47 tagged_above=-999 required=5 tests=[AWL=0.129, 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 hIQBWFz-szfW for <json@ietfa.amsl.com>; Tue, 25 Jun 2013 05:49:58 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id 2E32A21F96EB for <json@ietf.org>; Tue, 25 Jun 2013 05:49:58 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1UrSZH-0008AG-7t; Tue, 25 Jun 2013 08:41:55 -0400
Date: Tue, 25 Jun 2013 08:41:55 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Tim Bray <tbray@textuality.com>
Message-ID: <20130625124155.GA26875@mercury.ccil.org>
References: <20130625032014.GF14060@mercury.ccil.org> <ECAD5568-05F1-44C0-A8E1-6A38DAFAF6D4@vpnc.org> <C75D5BC5-6D5F-4CC0-8ACA-9717E7607DE4@tzi.org> <CAHBU6itPYpcof20YOAhgT82VnMAfgtpH2TaSDX+OHpu__WYjGg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAHBU6itPYpcof20YOAhgT82VnMAfgtpH2TaSDX+OHpu__WYjGg@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Cc: Carsten Bormann <cabo@tzi.org>, Paul Hoffman <paul.hoffman@vpnc.org>, "json@ietf.org" <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 12:50:03 -0000
Tim Bray scripsit:
> I just can’t bring myself to see it that way. Any reasonable person would
> read this statement in the introduction and conclude that a string is, you
> know, a sequence of Unicode characters. The fact that the ABNF later on
> contradicts this does not “supplement” the introduction, it’s just a
> spec-drafting goof.
Except that we know, from postings to this list and other lists, that
the author's intent was to be able to exchange arbitrary code points.
The goof, if any, was in the introduction, and consisted in the failure
to define "Unicode character" in the ECMAScript rather than the Unicode
sense. If read in connection with the ECMAScript 3 definition of
"string value", all is clear:
# 4.3.16 String Value
#
# A string value is a member of the type String and is a finite ordered
# sequence of zero or more 16-bit unsigned integer values.
#
# NOTE
#
# Although each value usually represents a single 16-bit unit of UTF-16
# text, the language does not place any restrictions or requirements on
# the values except that they be 16-bit unsigned integers.
Now it's true that authorial intent cannot dictate the meaning of a spec,
and it's also true that allowing the interchange of unescaped surrogate
code points is bad, because there is no reliable way to encode them.
Those are among the reasons why we are here, I hope.
--
John Cowan <cowan@ccil.org>
Yakka foob mog. Grug pubbawup zink wattoom gazork. Chumble spuzz.
--Calvin, giving Newton's First Law "in his own words"
- [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit Tim Bray
- Re: [Json] Proposal: the minimal edit Tim Bray
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit Jorge
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit Tim Bray
- Re: [Json] Proposal: the minimal edit Carsten Bormann
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit Eliot Lear
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Carsten Bormann
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit Tim Bray
- Re: [Json] Proposal: the minimal edit Carsten Bormann
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit Tim Bray
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Tim Bray
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit Norbert Lindenberg
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Paul Hoffman
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit Carsten Bormann
- Re: [Json] Proposal: the minimal edit Tim Bray
- Re: [Json] Proposal: the minimal edit R S
- Re: [Json] Proposal: the minimal edit Martin J. Dürst
- Re: [Json] Proposal: the minimal edit Bjoern Hoehrmann
- Re: [Json] Proposal: the minimal edit Carsten Bormann
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit John Cowan
- Re: [Json] Proposal: the minimal edit Carsten Bormann
- Re: [Json] Proposal: the minimal edit Carsten Bormann
- Re: [Json] Proposal: the minimal edit John Cowan