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

Ned Freed <ned.freed@mrochek.com> Sat, 16 May 2015 17:19 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 EAFBA1A90B8 for <apps-discuss@ietfa.amsl.com>; Sat, 16 May 2015 10:19:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.688
X-Spam-Level:
X-Spam-Status: No, score=0.688 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 PXwT-2DxbuAl for <apps-discuss@ietfa.amsl.com>; Sat, 16 May 2015 10:19:57 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.159.242.17]) by ietfa.amsl.com (Postfix) with ESMTP id 585961A90B6 for <apps-discuss@ietf.org>; Sat, 16 May 2015 10:19:57 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PM1EEC8D6O00QLOA@mauve.mrochek.com> for apps-discuss@ietf.org; Sat, 16 May 2015 10:14:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1431796494; bh=Polv8OJBHg5A/QZaZ8BjzDciBWmXTXwkpPdTQLhWnjw=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=shnsDYzGArkSgOwC6CRJIybvECRkKEassRRwk7nEV2OqiF5IJT2/Zk2k5YWhei+ky t53hsw7vxqrTbfwhED1+MSBTn9rKRiGaZx6Y7UU2rgiCHIiXDtdz79TplElVj27aB/ tgZO/Y+hJiDgvwVb64MN2OLWjTnDlslPWHEIUclM=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="us-ascii"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PLUN66JM8W0000AQ@mauve.mrochek.com>; Sat, 16 May 2015 10:14:51 -0700 (PDT)
Message-id: <01PM1EEAH0PM0000AQ@mauve.mrochek.com>
Date: Sat, 16 May 2015 10:11:19 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Fri, 15 May 2015 09:31:03 -0400" <CAPQd5oTZZKimSWcQaLBeHmq7o-npxvL8KM3HRQPW9JQPHs_ONw@mail.gmail.com>
References: <20150515131052.8E76D180092@rfc-editor.org> <CALaySJ++ptrFqjjC=mRC9zH8ns18bermy2YAfYYLx5OtX0Zdqw@mail.gmail.com> <CAPQd5oTZZKimSWcQaLBeHmq7o-npxvL8KM3HRQPW9JQPHs_ONw@mail.gmail.com>
To: Yakov Shafranovich <yakov-ietf@shaftek.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/gL-182iF8Clb2xGPKop3H3wa5c4>
Cc: Barry Leiba <barryleiba@computer.org>, "tony+sss@maillennium.att.com" <tony+sss@maillennium.att.com>, "apps-discuss@ietf.org" <apps-discuss@ietf.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: Sat, 16 May 2015 17:19:59 -0000

> [For context, this is originating from the work at the W3C regarding CSV files]

> There appears to be an issue about how to specify encoding
> considerations for media types that can be encoded in UTF-8, UTF-16
> and UTF-32. For media types, the valid choices are 7-bit, 8-bit and
> binary, which would mean that UTF-16 and UTF-32 are binary. For JSON
> specifically, since both RFCs define JSON, there is a conflict.

> There are two ways to write this then:

> 1. As in RFC 6839:

> "When JSON is written in UTF-8, JSON is 8bit compatible ([RFC2045]).
> When JSON is written in UTF-16 or UTF-32, JSON is binary ([RFC2045])."

> 2. As per RFC 7159:

> "binary"

> What I am arguing is that the second approach would make more sense.

And that's a fine opinion to have, but others disagree. The fact remains that
both statements are correct; we have always allowed a simple statement of the
most general encoding that applies to the type or a more detailed  statement of
what encodings apply under certain circumstances. The registrations rules allow
either approach.

I also note that you have yet to identify any sort of conflict here.

> Just like RFC 7159 choose to use "binary" in case of multiple UTF
> encodings, we should follow the same approach in RFC 6839. If not,
> then RFC 7159 should have errata pointing back to RFC 6839.

You are free to use whichever approach you wish. But in no case is an erratum
appropriate.

				Ned