Re: [Json] Proposal: the minimal edit

Tim Bray <tbray@textuality.com> Mon, 24 June 2013 21:42 UTC

Return-Path: <tbray@textuality.com>
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 A1AAA21F9F1F for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 14:42:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.206
X-Spam-Level:
X-Spam-Status: No, score=-0.206 tagged_above=-999 required=5 tests=[AWL=-0.658, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_SORBS_DUL=0.877, RDNS_NONE=0.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 oGgb33CfpRLR for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 14:42:56 -0700 (PDT)
Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [IPv6:2607:f8b0:400c:c01::230]) by ietfa.amsl.com (Postfix) with ESMTP id BCEA721F9F09 for <json@ietf.org>; Mon, 24 Jun 2013 14:42:55 -0700 (PDT)
Received: by mail-ve0-f176.google.com with SMTP id c13so9266374vea.7 for <json@ietf.org>; Mon, 24 Jun 2013 14:42:55 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=t+2wx2CIiPs5SX69R7Jml0xGInTfX4oU9i92KVGpDP8=; b=M28LAO9glKM2gYRSmm4Of1HSiYKNH+bZhThur1GLJ5RvVCeQ8qMPOY81IVeA5gJuc0 nc6Mb7od3x2OThDf+Ok4uu8U4IX8lASMDi1BUzNs8mZjoWgvea1Lr+rGyfoujQ7A0J25 RyZ2Fskx4fBxZNNqbq4ttwoC/eZFcOKJvuF2AWAfxbTaJLIQFNg5Pq5v21Qz3FATxoyO j7+p4vAi99KDAlZU5HgK4ouMRtSg10omn0IqHqZtjHjRE0rL0w+h4Pvbp9RTm+SVl2DP Oa7hsBD3IBcRcBO4+biqFNWfJ3fgNYAFatYwT4gP/jozFGI/Kk452QehgHRxggPsKycp 6jwQ==
MIME-Version: 1.0
X-Received: by 10.220.48.73 with SMTP id q9mr12297290vcf.36.1372110175231; Mon, 24 Jun 2013 14:42:55 -0700 (PDT)
Received: by 10.220.219.200 with HTTP; Mon, 24 Jun 2013 14:42:55 -0700 (PDT)
X-Originating-IP: [96.49.81.176]
In-Reply-To: <B4858680-D319-4603-A1C3-D6A84195B300@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>
Date: Mon, 24 Jun 2013 14:42:55 -0700
Message-ID: <CAHBU6ivUL6YvtMiajQwfftNgrRJk4dqiFs1yowoxfLi5wh2_hQ@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: multipart/alternative; boundary="001a11c2e25896766004dfed4bad"
X-Gm-Message-State: ALoCoQngNJGvBxpQ8V2Rnl4x2jT3PaSW7IYbazn1SfMg6f+GPxoYXMUZrSBeK+P8rFwQlU3ezZHN
Cc: "json@ietf.org WG" <json@ietf.org>, R S <sayrer@gmail.com>
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: Mon, 24 Jun 2013 21:42:59 -0000

In general I’d support this, with one nit: s/that are not Unicode
characters/that can never be Unicode characters/ (just to make it clear
we’re not talking about unassigned code points, which don't seem to
distress anyone).

Strongest argument in favor of this approach: JSON works. -T


On Mon, Jun 24, 2013 at 2:28 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> <no hat>
>
> A few people on this thread have said they might support Rob's idea if
> they knew all the changes, and a few changes were thrown back and forth. I
> propose the following is a full set of what is needed. Please note the
> wording at the beginning of the proposed Section 1.3: this is about what
> ECMAScript actually says about JSON, not what that means to ECMAScript
> implementations.
>
> Thoughts?
>
> --Paul Hoffman
>
> 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.
>
> Add Section 1.3, "Differences from the JSON Definition in ECMAScript"
>
>    The following lists the known major differences between this document
> and the definition of JSON
>    in Section 15.12 of [ECMA].
>
>    - ECMAScript implementations produce and consume primitive JSON values
> at the root level of JSON
>      documents.
>
>    - ECMAScript implementations can generate and consume code points in
> JSON strings that are not
>      Unicode characters.
>
>    - When there are duplicate names within an object, ECMAScript JSON
> parsers overwrite the value
>      corresponding to such names with the value that appears last in the
> serialization.
>
> In Section 6, remove "A JSON text can be safely passed" and the JavaScript
> code in the following
> paragraph.
>
> In Section 9, change the title in the reference to [ECMA] to be be
> non-version-specific:
>
>    [ECMA]    European Computer Manufacturers Association, "ECMAScript
>              Language Specification",
>              <http://www.ecma-international.org/publications/files/
>              ecma-st/ECMA-262.pdf>.
>
> In Section 9, change the reference to [UNICODE] to be be
> non-version-specific:
>
>    [UNICODE]  The Unicode Consortium, "The Unicode Standard",
>               <http://www.unicode.org/versions/latest/>.
>
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>