RE: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-09
"Black, David" <david.black@emc.com> Mon, 08 December 2014 03:00 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 43C2B1A1B62; Sun, 7 Dec 2014 19:00:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.411
X-Spam-Level:
X-Spam-Status: No, score=-3.411 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_14=0.6, MIME_8BIT_HEADER=0.3, 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 jnuVhbgE42-R; Sun, 7 Dec 2014 19:00:07 -0800 (PST)
Received: from mailuogwhop.emc.com (mailuogwhop.emc.com [168.159.213.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0CD4D1A1B16; Sun, 7 Dec 2014 19:00:06 -0800 (PST)
Received: from maildlpprd01.lss.emc.com (maildlpprd01.lss.emc.com [10.253.24.33]) by mailuogwprd03.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sB82xvdF021565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Dec 2014 21:59:57 -0500
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd03.lss.emc.com sB82xvdF021565
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1418007598; bh=D+rgBB5uY3r8UMx/q7V4iYhv0cs=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=VfBJdC2RMfMO6AShmGycx8XDc+wCOiXbgr0GzUHWDX0lkpUknMEY2+GyxXAW4Hki0 iTtOSPgkjqizgcRhiZk0xRlrdFpwa0DZLQTyojLAMd8TaTyBu9Cxjnq3hc8bak4o+3 f8ImY7MSrYQe8HDpSCCkoz1rGXpWr6FycJwFOFBM=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd03.lss.emc.com sB82xvdF021565
Received: from mailusrhubprd54.lss.emc.com (mailusrhubprd54.lss.emc.com [10.106.48.19]) by maildlpprd01.lss.emc.com (RSA Interceptor); Sun, 7 Dec 2014 21:59:42 -0500
Received: from mxhub26.corp.emc.com (mxhub26.corp.emc.com [10.254.110.182]) by mailusrhubprd54.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sB82xiFX017119 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 7 Dec 2014 21:59:45 -0500
Received: from MXHUB207.corp.emc.com (10.253.68.33) by mxhub26.corp.emc.com (10.254.110.182) with Microsoft SMTP Server (TLS) id 8.3.327.1; Sun, 7 Dec 2014 21:59:44 -0500
Received: from MX104CL02.corp.emc.com ([169.254.8.125]) by MXHUB207.corp.emc.com ([fe80::f91d:58b1:27db:6e6c%12]) with mapi id 14.03.0195.001; Sun, 7 Dec 2014 21:59:44 -0500
From: "Black, David" <david.black@emc.com>
To: John Cowan <cowan@mercury.ccil.org>, Patrik Fältström <paf@frobbit.se>
Subject: RE: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-09
Thread-Topic: [Json] Gen-ART and OPS-Dir review of draft-ietf-json-text-sequence-09
Thread-Index: AdAQmuBgzIEwbXsVSl+UfPcrbL3cqwBkObmAABGg0QAAAcD5gAAEnhwAAAF+vvA=
Date: Mon, 08 Dec 2014 02:59:44 +0000
Message-ID: <CE03DB3D7B45C245BCA0D2432779493628C75E@MX104CL02.corp.emc.com>
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>
In-Reply-To: <20141207210754.GA18507@mercury.ccil.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.250.60.19]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd54.lss.emc.com
X-RSA-Classifications: public
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/Rf8Q5O85Ss1Pg33ixXlqfBdQLF0
Cc: "General Area Review Team (gen-art@ietf.org)" <gen-art@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "ops-dir@ietf.org" <ops-dir@ietf.org>, "json@ietf.org" <json@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: Mon, 08 Dec 2014 03:00:09 -0000
I agree with Patrik - this draft assumes UTF-8 encoding and should state that requirement explicitly. John's proposed text change below is in section 2.1 for the decoder; the encoder text in section 2.2 needs a corresponding change: OLD In prose: any number of JSON texts, each preceded by one ASCII RS character and each followed by a line feed (LF). NEW In prose: any number of JSON texts encoded as UTF-8, each preceded by one ASCII RS character and each followed by a line feed (LF). Thanks, --David > -----Original Message----- > From: John Cowan [mailto:cowan@ccil.org] On Behalf Of John Cowan > Sent: Sunday, December 07, 2014 4:08 PM > To: Patrik Fältström > 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-09 > > Patrik Fältström scripsit: > > > I.e. the way I read draft-ietf-json-text-sequence (and I might be > > wrong), you have specific octet values that act as separators. That > > only works if the encoding is UTF-8. > > This is a binary representation which has embedded JSON texts represented > in UTF-8. Since the first character in a JSON text is necessarily in > the ASCII repertoire, it is not possible to parse a UTF-16 or UTF-32 > JSON text as UTF-8 and come out with valid JSON. > > However, I grant that mentioning UTF-8 only in an ABNF comment is not > really prominent enough. Proposed wording change: > > For: > > In prose: a series of octet strings, each containing any octet other > than a record separator (RS) (0x1E) [RFC0020], all octet strings > separated from each other by RS octets. Each octet string in the > sequence is to be parsed as a JSON text. > > read: > > In prose: a series of octet strings, each containing any octet other > than a record separator (RS) (0x1E) [RFC0020], all octet strings > separated from each other by RS octets. Each octet string in the > sequence is to be parsed as a JSON text in UTF-8 encoding. > > and add a suitable reference to UTF-8. > > > Ok, so what you say is that a string in an attribute value in the JSON > > blob can still start with U+FEFF? > > Just so. > > > -- > John Cowan http://www.ccil.org/~cowan cowan@ccil.org > As we all know, civil libertarians are not the friskiest group around -- > comes from forever being on the qui vive for the sound of jack-booted > fascism coming down the pike. --Molly Ivins
- Gen-ART and OPS-Dir review of draft-ietf-json-tex… Black, David
- Re: Gen-ART and OPS-Dir review of draft-ietf-json… Barry Leiba
- RE: Gen-ART and OPS-Dir review of draft-ietf-json… Black, David
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… John Levine
- Status of RFC 20 (was: Re: Gen-ART and OPS-Dir re… John C Klensin
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… Stewart Bryant (stbryant)
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… John C Klensin
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… Stephen Farrell
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… John C Klensin
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… Stephen Farrell
- Re: Status of RFC 20 Brian E Carpenter
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… l.wood
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… John C Klensin
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… l.wood
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… Dave Cridland
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… Barry Leiba
- Re: Gen-ART and OPS-Dir review of draft-ietf-json… Patrik Fältström
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… Phillip Hallam-Baker
- Re: Status of RFC 20 Carsten Bormann
- Re: Gen-ART and OPS-Dir review of draft-ietf-json… Pete Resnick
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Patrik Fältström
- Re: Status of RFC 20 joel jaeggli
- Re: Status of RFC 20 John C Klensin
- Re: Status of RFC 20 joel jaeggli
- RE: [Json] Gen-ART and OPS-Dir review of draft-ie… Black, David
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Patrik Fältström
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Patrik Fältström
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Tim Bray
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Patrik Fältström
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… John Cowan
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… John Cowan
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Nico Williams
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Nico Williams
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Nico Williams
- Re: Gen-ART and OPS-Dir review of draft-ietf-json… Nico Williams
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Nico Williams
- Integrity protection for RFCs (was Re: Status of … Nico Williams
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Patrik Fältström
- Re: Status of RFC 20 Nico Williams
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Nico Williams
- Re: Integrity protection for RFCs (was Re: Status… manning bill
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Martin J. Dürst
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Patrik Fältström
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… Patrik Fältström
- Re: Cited documents, was Status of RFC 20 John Levine
- RE: Gen-ART and OPS-Dir review of draft-ietf-json… Black, David
- Re: Cited documents, was Status of RFC 20 Dave Crocker
- Re: Cited documents, was Status of RFC 20 Nico Williams
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… John Cowan
- Re: Status of RFC 20 Heather Flanagan (RFC Series Editor)
- Re: Gen-ART and OPS-Dir review of draft-ietf-json… Nico Williams
- RE: Gen-ART and OPS-Dir review of draft-ietf-json… Black, David
- Re: Cited documents, was Status of RFC 20 Andrew Sullivan
- Re: Cited documents, was Status of RFC 20 John C Klensin
- Re: Gen-ART and OPS-Dir review of draft-ietf-json… Nico Williams
- Re: Gen-ART and OPS-Dir review of draft-ietf-json… Matthew Kerwin
- Re: Gen-ART and OPS-Dir review of draft-ietf-json… Nico Williams
- RE: Gen-ART and OPS-Dir review of draft-ietf-json… Black, David
- Re: [Json] Gen-ART and OPS-Dir review of draft-ie… John Cowan
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… Julian Reschke
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… ned+ietf
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… John C Klensin
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… John C Klensin
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… ned+ietf
- Re: Status of RFC 20 (was: Re: Gen-ART and OPS-Di… John C Klensin