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

Patrik Fältström <paf@frobbit.se> Tue, 09 December 2014 07:32 UTC

Return-Path: <paf@frobbit.se>
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 99FBC1A1AF2; Mon, 8 Dec 2014 23:32:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.261
X-Spam-Level:
X-Spam-Status: No, score=-1.261 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, MIME_8BIT_HEADER=0.3, 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 CB0lZrO6cNlG; Mon, 8 Dec 2014 23:32:58 -0800 (PST)
Received: from mail.frobbit.se (mail.frobbit.se [IPv6:2a02:80:3ffe::176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 975D31A1A5A; Mon, 8 Dec 2014 23:32:58 -0800 (PST)
Received: from [IPv6:2a01:3f0:1::54bb:e9b8:bb7a:6625] (unknown [IPv6:2a01:3f0:1:0:54bb:e9b8:bb7a:6625]) by mail.frobbit.se (Postfix) with ESMTPSA id C924222838; Tue, 9 Dec 2014 08:32:56 +0100 (CET)
Subject: Re: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-09
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Content-Type: multipart/signed; boundary="Apple-Mail=_BC350A97-B2BF-4AC0-8ECB-C7F5DAFFB649"; protocol="application/pgp-signature"; micalg="pgp-sha1"
X-Pgp-Agent: GPGMail 2.5b3
From: Patrik Fältström <paf@frobbit.se>
In-Reply-To: <20141209042024.GC4701@mercury.ccil.org>
Date: Tue, 09 Dec 2014 08:32:15 +0100
Message-Id: <19101548-ACC7-4D5F-9F82-C1BD4736FBC2@frobbit.se>
References: <CE03DB3D7B45C245BCA0D24327794936289DC7@MX104CL02.corp.emc.com> <89601952-AA04-44EE-A6DA-E76D0AB07C21@frobbit.se> <20141207180528.GA1116@mercury.ccil.org> <D4E95FE1-0C25-4541-8327-16313175F13A@frobbit.se> <20141207210754.GA18507@mercury.ccil.org> <743CABB8-9BDB-4144-BD96-2D3A79BF0450@frobbit.se> <20141209042024.GC4701@mercury.ccil.org>
To: John Cowan <cowan@mercury.ccil.org>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/0s3QG4MDphSuAkO01MbyI8O3l6I
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: Tue, 09 Dec 2014 07:32:59 -0000

> On 9 dec 2014, at 05:20, John Cowan <cowan@mercury.ccil.org> wrote:
> 
> Patrik Fältström scripsit:
> 
>> This implies the whole thing is a UTF-8 encoded text that is to be
>> parsed like this:
> 
> No, this is a misunderstanding.  There is no requirement that the sequence
> *as a whole* is well-formed UTF-8 text.  For example, if the first JSON
> text is written only in part for whatever reason (system crash, etc.) to
> a log file, the next process can write a 0x1E byte and carry on.

Ok, fair.

Then I think the draft itself should state this in one way or another. If nothing else the text you wrote here or a version of it is to go into the security considerations section.

   Patrik