Re: [Json] Proposal: the minimal edit

Norbert Lindenberg <ietf@lindenbergsoftware.com> Mon, 24 June 2013 18:28 UTC

Return-Path: <ietf@lindenbergsoftware.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 B4CD311E8173 for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 11:28:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.692
X-Spam-Level:
X-Spam-Status: No, score=-3.692 tagged_above=-999 required=5 tests=[AWL=-0.093, 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 RpEnQlG3JhS5 for <json@ietfa.amsl.com>; Mon, 24 Jun 2013 11:28:26 -0700 (PDT)
Received: from mirach.lunarpages.com (mirach.lunarpages.com [216.97.235.70]) by ietfa.amsl.com (Postfix) with ESMTP id EC2D611E8151 for <json@ietf.org>; Mon, 24 Jun 2013 11:28:26 -0700 (PDT)
Received: from 50-0-136-241.dsl.dynamic.sonic.net ([50.0.136.241]:53913 helo=[192.168.0.5]) by mirach.lunarpages.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from <ietf@lindenbergsoftware.com>) id 1UrBV2-0014Un-5c; Mon, 24 Jun 2013 11:28:24 -0700
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="us-ascii"
From: Norbert Lindenberg <ietf@lindenbergsoftware.com>
In-Reply-To: <20130622185201.GO31186@mercury.ccil.org>
Date: Mon, 24 Jun 2013 11:28:21 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <8EBBDB20-7455-4DCF-941A-3D91C1C05A72@lindenbergsoftware.com>
References: <CAChr6SyN4Z3Hh8OFGHkK+AJN0+S09wMfjeobZ51GjKNL+GhPsw@mail.gmail.com> <20130622185201.GO31186@mercury.ccil.org>
To: John Cowan <cowan@mercury.ccil.org>
X-Mailer: Apple Mail (2.1283)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - mirach.lunarpages.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lindenbergsoftware.com
X-Get-Message-Sender-Via: mirach.lunarpages.com: authenticated_id: ietf@lindenbergsoftware.com
Cc: Norbert Lindenberg <ietf@lindenbergsoftware.com>, "json@ietf.org" <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 18:28:32 -0000

On Jun 22, 2013, at 11:52 , John Cowan wrote:

> R S scripsit:
> 
>> It's my opinion that none of the errors or inconsistencies present in
>> the document are significant, since JSON works pretty well.
> 
> It does at the level of an informational protocol, but not at the level of
> standards track.  Would you be willing to sign a contract, arm's-length,
> with someone whose only constraint was that their code passed *some*
> interpretation of the RFC?  I certainly would not.  As I pointed out
> before, the parser conformance clause (first paragraph of Section 4)
> is satisfied by any program that accepts arbitrary input and produces
> arbitrary output distinct from the input (or indeed no output at all,
> given the over-free wording in the second paragraph).


I agree with John - for a standard, some of the errors, undefined terminology, and inconsistencies seem unacceptable. The ones that worry me in particular (I tend to worry about internationalization):

- The RFC uses the term "Unicode character", which isn't defined in the Unicode standard as far as I can tell. If it means "Unicode assigned character", the most likely candidate, then it's inconsistent with the "unescaped" production in the grammar, which allows all Unicode code points.

- The RFC says "JSON text SHALL be encoded in Unicode", which is obviously meant as a normative statement, but, as John pointed out, is meaningless because Unicode is not an encoding. Other text in the RFC seems to assume that "encoded in Unicode" means "encoded in UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, or UTF-32-LE".

Norbert