Re: [Json] Proposal: the minimal edit

John Cowan <cowan@mercury.ccil.org> Tue, 25 June 2013 03:20 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 2D58021E808F for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 20:20:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.472
X-Spam-Level:
X-Spam-Status: No, score=-2.472 tagged_above=-999 required=5 tests=[AWL=-0.885, BAYES_00=-2.599, FAKE_REPLY_C=2.012, 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 D0fZUQCmFf4x for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 20:20:15 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id C183921E8090 for <json@ietf.org>; Mon, 24 Jun 2013 20:20:14 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1UrJni-0003Yj-AU for json@ietf.org; Mon, 24 Jun 2013 23:20:14 -0400
Date: Mon, 24 Jun 2013 23:20:14 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: json@ietf.org
Message-ID: <20130625032014.GF14060@mercury.ccil.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.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 03:20:20 -0000

Paul Hoffman scripsit:

> Add Section 1.2, "Changes from RFC 4627"
> 
>    This section lists all changes between this document and the text in
>    RFC 4627.
> 
>    - Applied errata #607 from RFC 4627 to correctly align the artwork
>      for the definition of "object".
> 
>    - Applied errata #3607 from RFC 4627 by removing the security
>      consideration that begins "A JSON text can be safely passed"
>      and the JavaScript code that went with that consideration.
> 
>    - Added Section 1.3, "Differences from the JSON Definition in ECMAScript". 
> 
>    - Changed the [ECMA] and [UNICODE] references to be non-version-specific.

Given these changes, and *only* these changes, then I do not believe that

>    - ECMAScript implementations can generate and consume code points
>      in JSON strings that are not Unicode characters.

belongs in Section 1.3, for it is equally true of ECMA-JSON and RFC 4627
JSON.  Both of them allow code points that are not Unicode characters,
e.g. unassigned codepoints.  So this point is true but not relevant.

-- 
I Hope, Sir, that we are not                    John Cowan
mutually Un-friended by this                    cowan@ccil.org
Difference which hath happened                  http://www.ccil.org/~cowan
betwixt us.     --Thomas Fuller, Appeal of Injured Innocence (1659)