Re: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-09

John Cowan <cowan@mercury.ccil.org> Sun, 07 December 2014 18:05 UTC

Return-Path: <cowan@ccil.org>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8259F1A87EB; Sun, 7 Dec 2014 10:05:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.711
X-Spam-Level:
X-Spam-Status: No, score=-1.711 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_14=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NhjrcTkBeRnj; Sun, 7 Dec 2014 10:05:34 -0800 (PST)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18F051A87EA; Sun, 7 Dec 2014 10:05:34 -0800 (PST)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1XxgD2-0008WE-9i; Sun, 07 Dec 2014 13:05:28 -0500
Date: Sun, 07 Dec 2014 13:05:28 -0500
From: John Cowan <cowan@mercury.ccil.org>
To: Patrik Fältström <paf@frobbit.se>
Subject: Re: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-09
Message-ID: <20141207180528.GA1116@mercury.ccil.org>
References: <CE03DB3D7B45C245BCA0D24327794936289DC7@MX104CL02.corp.emc.com> <89601952-AA04-44EE-A6DA-E76D0AB07C21@frobbit.se>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <89601952-AA04-44EE-A6DA-E76D0AB07C21@frobbit.se>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/E0CGEP4S0fS6sY_PEj_BXXP1pDk
X-Mailman-Approved-At: Mon, 08 Dec 2014 09:03:07 -0800
Cc: "ops-dir@ietf.org" <ops-dir@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "Black, David" <david.black@emc.com>, "json@ietf.org" <json@ietf.org>, "General Area Review Team (gen-art@ietf.org)" <gen-art@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Dec 2014 18:05:35 -0000

Patrik Fältström scripsit:

> But it also reference RFC7159, which doesn't require UTF-8 but instead
> for some weird reason also allow other encodings of Unicode text. And
> on top of that it says Byte Order Mark is not allowed.

7159 was meant to tighten the wording of 4627, not to impose additional
constraints on it.  For that, see the I-JSON draft.

> This together implies that first of all this draft might not lead to
> stable implementations, secondly one can not store in JSON strings
> that include the Byte Order Mark, and there are other unspecified
> situations.

If by that you mean that a JSON string may not contain U+FEFF, that is
incorrect, for U+FEFF is recognized as a BOM only when placed at the
beginning of an entity body, whereas an entity body in JSON format can
begin only with [ or { classically, or by extension with [0-9"tfn].

-- 
John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
Micropayment advocates mistakenly believe that efficient allocation of
resources is the purpose of markets.  Efficiency is a byproduct of market
systems, not their goal.  The reasons markets work are not because users
have embraced efficiency but because markets are the best place to allow
users to maximize their preferences, and very often their preferences are
not for conservation of cheap resources.  --Clay Shirky