Re: [apps-discuss] [Technical Errata Reported] RFC6839 (4367)

Ned Freed <ned.freed@mrochek.com> Sun, 17 May 2015 01:37 UTC

Return-Path: <ned.freed@mrochek.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CCEB1A88BF for <apps-discuss@ietfa.amsl.com>; Sat, 16 May 2015 18:37:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.012
X-Spam-Level:
X-Spam-Status: No, score=-2.012 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, 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 OqT7jfP5tMFd for <apps-discuss@ietfa.amsl.com>; Sat, 16 May 2015 18:37:39 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.159.242.17]) by ietfa.amsl.com (Postfix) with ESMTP id A2D161A88C8 for <apps-discuss@ietf.org>; Sat, 16 May 2015 18:36:31 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PM1VQ0E3CW00BEPZ@mauve.mrochek.com> for apps-discuss@ietf.org; Sat, 16 May 2015 18:31:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1431826287; bh=1q3sRaqRPiJwxPXvdj1+wTHYoLeGbwNgEZ/bpLWILRk=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=ewv7dBPn2ryG2VDwZ+AxzZ/UAjdW6J56g/J7d1GQ/VSg27T1h9QZddH3OMU06A0X6 UzwwL95yLiO3S1OHn06jvU1lzQwMiYDD/woghUQVjNQHRxwRQbsVqiDpx1m5NBHWdA m6vAfxE2lsO3JX2jkpAGI0W8lTGBmtA07c2Y0uQM=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="us-ascii"; Format="flowed"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PLUN66JM8W0000AQ@mauve.mrochek.com>; Sat, 16 May 2015 18:31:25 -0700 (PDT)
Message-id: <01PM1VPYNTIY0000AQ@mauve.mrochek.com>
Date: Sat, 16 May 2015 18:21:16 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sat, 16 May 2015 19:19:36 +0100" <55578A38.2010609@ninebynine.org>
References: <20150515131052.8E76D180092@rfc-editor.org> <CALaySJ++ptrFqjjC=mRC9zH8ns18bermy2YAfYYLx5OtX0Zdqw@mail.gmail.com> <CAPQd5oTZZKimSWcQaLBeHmq7o-npxvL8KM3HRQPW9JQPHs_ONw@mail.gmail.com> <55562081.6070504@att.com> <CAPQd5oRws8pQo7qR6xG2E0_=4vka-ymQO8sb_gAOup5_56F11g@mail.gmail.com> <555624A6.5050505@att.com> <55578A38.2010609@ninebynine.org>
To: Graham Klyne <gk@ninebynine.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/xGYaxB1-5oC3s3sbHx9n6keMi1U>
Cc: "tony+sss@maillennium.att.com" <tony+sss@maillennium.att.com>, "apps-discuss@ietf.org" <apps-discuss@ietf.org>, Barry Leiba <barryleiba@computer.org>, RFC Errata System <rfc-editor@rfc-editor.org>
Subject: Re: [apps-discuss] [Technical Errata Reported] RFC6839 (4367)
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 May 2015 01:37:40 -0000

> On 15/05/2015 17:53, Tony Hansen wrote:
> > There is one more constraint for a file written with utf-8 to use the
> > encoding of 8bit: the lines are limited to 998 bytes in length (not
> > counting the CRLF line terminators). See RFC 2045 for details.

> I think that would be a problem for JSON - there's no way (I know of) to break
> long text strings over multiple lines, so that restriction would rule out very
> long string values.  So maybe "binary" is the right choice.

The same can be said for XML - multimegabyte XML objects containing no line
breaks at all are pretty common. And while you can in theory encode text()
nodes as CDATA, introducing line breaks into XML isn't something you can just
do and leave the semantics unchanged.

It's also the case that the line terminators in an XML or JSON object may not
always be CRLF, and thus an object may not be compatible with 7bit or 8bit on
that basis.

But the fact remains that a lot of XML and JSON objects are 8bit or even 7bit
compatible. In fact a lot of formats based on XML or JSON are by their nature
_always_ 8bit or 7bit compatible. And I see some value in pointing that out
where it's appropriate to do so.

I suppose we could insist on a full rundown of the issues in every
registration. But do you really think this is a useful thing to do, rather
than leaving it a judgement call on the part of the person constructing
the registration?

				Ned