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

Nico Williams <nico@cryptonector.com> Fri, 12 December 2014 01:38 UTC

Return-Path: <nico@cryptonector.com>
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 1DC6B1A90F9; Thu, 11 Dec 2014 17:38:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] 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 5K0Jj-mlQ0FO; Thu, 11 Dec 2014 17:37:56 -0800 (PST)
Received: from homiemail-a113.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 8991D1A1A2D; Thu, 11 Dec 2014 17:37:56 -0800 (PST)
Received: from homiemail-a113.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a113.g.dreamhost.com (Postfix) with ESMTP id 564B920058D84; Thu, 11 Dec 2014 17:37:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=k26i47o/seoDqv QTCN4SedvdzOA=; b=ZrIiIDZn0bdIOaImkLokanZJzFPGtpSefGGJhi3IN522Mz iyscA/u/f5G5koJwrAVKAFf8GFwEGmZ9JsptyZlZSzJQQgA1SlxiGZp6HeoipREi Ul3GxGpNu6UjqKVqxaMEw5z9gCbmF81hgpR3l9CQnjYtZ/L6d6p8zjxp5GtEg=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a113.g.dreamhost.com (Postfix) with ESMTPA id BCA6A20058D80; Thu, 11 Dec 2014 17:37:55 -0800 (PST)
Date: Thu, 11 Dec 2014 19:37:55 -0600
From: Nico Williams <nico@cryptonector.com>
To: John Cowan <cowan@mercury.ccil.org>
Subject: Re: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-10
Message-ID: <20141212013750.GM3448@localhost>
References: <CE03DB3D7B45C245BCA0D243277949362B18C7@MX104CL02.corp.emc.com> <475F8F1D-6F6A-47E3-AE60-7BDC7AB6BD66@vpnc.org> <20141212010418.GJ5272@mercury.ccil.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20141212010418.GJ5272@mercury.ccil.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/kZnzX297oN9rCB5E3uUOfNlE978
Cc: "ops-dir@ietf.org" <ops-dir@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "General Area Review Team (gen-art@ietf.org)" <gen-art@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, "json@ietf.org" <json@ietf.org>, "Black, David" <david.black@emc.com>
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: Fri, 12 Dec 2014 01:38:01 -0000

On Thu, Dec 11, 2014 at 08:04:18PM -0500, John Cowan wrote:
> Paul Hoffman scripsit:
> 
> > >   JSON text sequences MUST use UTF-8 encoding; other encodings of JSON
> > >   (i.e., UTF-16 and UTF-32) MUST NOT be used.
> > 
> > That seems like a good clarifying addition as well.
> 
> I continue to think this is a bad idea.  In particular, you cannot claim

What is?

> that because a text sequence entity body is not valid UTF-8, that it is
> not a valid JSON text sequence; as I explained before, the JSON texts
> may be truncated or otherwise damaged such that they contain only part
> of a UTF-8-encoded character.

RS cannot accidentally result from truncating a multi-byte UTF-8
encoded codepoint.

Nico
--