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

"Black, David" <david.black@emc.com> Fri, 12 December 2014 01:23 UTC

Return-Path: <david.black@emc.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 04B131A90F9; Thu, 11 Dec 2014 17:23:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.311
X-Spam-Level:
X-Spam-Status: No, score=-4.311 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 qaQNyzoOjbL1; Thu, 11 Dec 2014 17:22:59 -0800 (PST)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E475A1A90DB; Thu, 11 Dec 2014 17:22:54 -0800 (PST)
Received: from maildlpprd51.lss.emc.com (maildlpprd51.lss.emc.com [10.106.48.155]) by mailuogwprd51.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sBC1Mneu022385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Dec 2014 20:22:50 -0500
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com sBC1Mneu022385
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1418347371; bh=WNRAZZNWG0k7+W2QOQGa4kCxyM8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=M8RHaMO5h8X3UdpPqPsaWU5DzHygCKV0t1T8AThCp5oRBO2172UBcx+4ySN+nPc8Y DvLTPeu2GA6AN9DxFmqGiUukWxfaVrdaxxVv+UTZsn8nmfjHBPchNeVUFzcDgcGirg zDVExmwLLhhaer7UEvwM+PTNSRv1xyGxLYgKkIy0=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com sBC1Mneu022385
Received: from mailusrhubprd03.lss.emc.com (mailusrhubprd03.lss.emc.com [10.253.24.21]) by maildlpprd51.lss.emc.com (RSA Interceptor); Thu, 11 Dec 2014 20:22:34 -0500
Received: from mxhub22.corp.emc.com (mxhub22.corp.emc.com [128.222.70.134]) by mailusrhubprd03.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sBC1MYk2024255 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 11 Dec 2014 20:22:34 -0500
Received: from MXHUB103.corp.emc.com (10.253.50.16) by mxhub22.corp.emc.com (128.222.70.134) with Microsoft SMTP Server (TLS) id 8.3.327.1; Thu, 11 Dec 2014 20:22:34 -0500
Received: from MX104CL02.corp.emc.com ([169.254.8.208]) by MXHUB103.corp.emc.com ([::1]) with mapi id 14.03.0195.001; Thu, 11 Dec 2014 20:22:34 -0500
From: "Black, David" <david.black@emc.com>
To: John Cowan <cowan@mercury.ccil.org>, Paul Hoffman <paul.hoffman@vpnc.org>
Subject: RE: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-10
Thread-Topic: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-10
Thread-Index: AdAUkROzD04JM08VQjyyKTYMqQun9ABCTOkAAA3L4AAACehr4A==
Date: Fri, 12 Dec 2014 01:22:33 +0000
Message-ID: <CE03DB3D7B45C245BCA0D243277949362BA438@MX104CL02.corp.emc.com>
References: <CE03DB3D7B45C245BCA0D243277949362B18C7@MX104CL02.corp.emc.com> <475F8F1D-6F6A-47E3-AE60-7BDC7AB6BD66@vpnc.org> <20141212010418.GJ5272@mercury.ccil.org>
In-Reply-To: <20141212010418.GJ5272@mercury.ccil.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.238.45.76]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd03.lss.emc.com
X-RSA-Classifications: DLM_1, public
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/_hcUlF-_8qU086ADdNzYBJvsR60
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>, "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:23:03 -0000

If we're going to split hairs, "MUST use UTF-8 encoding" does not imply
"MUST be valid UTF-8" (e.g., courtesy of truncation in the middle of a
Unicode character) - the latter is a stricter requirement, and is not
what I suggested.

Thanks,
--David

> -----Original Message-----
> From: John Cowan [mailto:cowan@ccil.org] On Behalf Of John Cowan
> Sent: Thursday, December 11, 2014 8:04 PM
> To: Paul Hoffman
> Cc: Black, David; Nico Williams; General Area Review Team (gen-art@ietf.org);
> json@ietf.org; ops-dir@ietf.org; ietf@ietf.org
> Subject: Re: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-
> sequence-10
> 
> 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
> 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.
> 
> --
> John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
> Deshil Holles eamus.  Deshil Holles eamus.  Deshil Holles eamus.
> Send us, bright one, light one, Horhorn, quickening, and wombfruit. (3x)
> Hoopsa, boyaboy, hoopsa!  Hoopsa, boyaboy, hoopsa!  Hoopsa, boyaboy, hoopsa!
>   --Joyce, Ulysses, "Oxen of the Sun"