Re: [Json] I-D Action: draft-ietf-jsonbis-rfc7159bis-04.txt

"Matthew A. Miller" <linuxwolf+ietf@outer-planes.net> Wed, 16 August 2017 03:02 UTC

Return-Path: <linuxwolf+ietf@outer-planes.net>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 56BA513248A for <json@ietfa.amsl.com>; Tue, 15 Aug 2017 20:02:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=outer-planes-net.20150623.gappssmtp.com
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 eyKjKW7kNEWN for <json@ietfa.amsl.com>; Tue, 15 Aug 2017 20:02:03 -0700 (PDT)
Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63ED3132483 for <json@ietf.org>; Tue, 15 Aug 2017 20:02:03 -0700 (PDT)
Received: by mail-it0-x244.google.com with SMTP id s132so1748661ita.1 for <json@ietf.org>; Tue, 15 Aug 2017 20:02:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outer-planes-net.20150623.gappssmtp.com; s=20150623; h=sender:from:subject:cc:references:to:message-id:date:user-agent :mime-version:in-reply-to; bh=6Vy8xuxT4DidwEhaxYlxGzR5k2aZuLfQ1T9qbx9zj+o=; b=izXZDoHbJDV5sNn1XgKjuj+Ls2JVYhj79Yvkmd8LCZpgfJ4mMgus2vP2kVVvQeW7PS EqZfDrzF3A7pJqEmSYX8Bi4+dwIgKLYGTeDJ29YVgeZzhCe1XDz1DEdnUxjlglgCYIJi TUThBR4yY3HMg9ho4AtXDIpu5jdta/JcUiJc2AUyPrgiYpps97ZviqhwaT4Pz+G6It/T WY+sb5kWBf/MkayQx/8IitA5bwj3EAnn0m1IBTuaWC7snLAHOX36s+uelWdYhwzT/Mev gAQo52kgcPl0kp9+HLiQW0ZMRwmSBw5pA1YGhfhf79kYRhoqW/H8EZxYZubvTtOUD/AZ NyNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:subject:cc:references:to:message-id :date:user-agent:mime-version:in-reply-to; bh=6Vy8xuxT4DidwEhaxYlxGzR5k2aZuLfQ1T9qbx9zj+o=; b=JMnNB+wd1Q1Et1y75Si1aV1/5am645/dLoSOSkq0iYbppNvndX+WdZfGBt+HHFxrMC CmWzrFj4t9p3BnKz3bT2fbUje2i/rPw4vZEa6rZATIEI90DCLTuMcZt/I2xGSEzr3t/4 TIWY4mjmd1bCrivFG6FukTAXRj/fjYh+3XTXvWGW0HqKFubgDwsWBBjK7jNL7nhemFc0 4UXlamyRz6pKwibuge7oiDd99e61t1LUqnpXHHgGJTcXyjF7p8mKef1e4yQWYeqrEUgA YTXLCuOQa5VB9VKhuxOfpbylWNBsIn1/c1s/hw7eU7WRbdh9czbOjA26MZrZrBEHXa1k eP2Q==
X-Gm-Message-State: AHYfb5gSfqm6DklUN80NjFKBIor4ogM6nrGOFzXgVtbUJgqftN54GpDr 1zzUFk8erfaZVuLY
X-Received: by 10.36.71.135 with SMTP id t129mr573042itb.141.1502852522728; Tue, 15 Aug 2017 20:02:02 -0700 (PDT)
Received: from [192.168.29.239] (c-73-217-32-196.hsd1.co.comcast.net. [73.217.32.196]) by smtp.gmail.com with ESMTPSA id a45sm79300itj.14.2017.08.15.20.02.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Aug 2017 20:02:01 -0700 (PDT)
Sender: Matthew Miller <linuxwolf@outer-planes.net>
From: "Matthew A. Miller" <linuxwolf+ietf@outer-planes.net>
Cc: Peter Saint-Andre - Filament <peter@filament.com>, Paul Hoffman <paul.hoffman@vpnc.org>
References: <150047191184.7507.7143481683564082881@ietfa.amsl.com> <DB9BA7EA-D393-4079-B347-620A09280B26@isode.com> <CAC4RtVBYMrRCrUZ1qqD+_rH4M8N23GOgbbh=921fEYqH+gCm5Q@mail.gmail.com> <c06e583a-965e-9eaf-975f-e6876ac056ed@filament.com> <f1a6b553-c787-e248-67bd-74d68d98a845@gmx.de> <262E8314-263A-4443-B912-AFCF1A3277B2@tzi.org> <166957c4-26fc-90b5-a798-59280c91b466@filament.com> <8B60039F-96DD-4F72-8139-D80B6F11566C@tzi.org> <3760a157-5b88-e334-712c-03eecd675794@codalogic.com> <7a88952c-3e46-3f87-b3c2-2864f216c62d@gmail.com> <9cddf2e7-f987-3942-3580-05c3da6a4805@codalogic.com> <2892a0eb-0bd2-cd2e-87e7-aa2e29009b4b@filament.com> <62d58ceb-282d-329d-3f27-8ed5ef268d13@codalogic.com> <20320239-7afb-5d4a-047f-ae0132e2a0ca@outer-planes.net> <FBF7729E-40DD-4693-A08F-306E88F1FA75@vpnc.org> <5625f6c1-8f23-a0a9-63d8-059080299247@filament.com>
To: json@ietf.org
Message-ID: <48bc8b78-8e55-b5a1-a897-be06730e6e86@outer-planes.net>
Date: Tue, 15 Aug 2017 21:01:58 -0600
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <5625f6c1-8f23-a0a9-63d8-059080299247@filament.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="GeWAvoDXEHWNMGDeV72M3NKn6BNeNqGd7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/sne0gq95dS30TgFYsFBBL4TkLQ8>
Subject: Re: [Json] I-D Action: draft-ietf-jsonbis-rfc7159bis-04.txt
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Aug 2017 03:02:05 -0000

Thanks you all.  We can take Pete Cordell's suggestions, with the
reference corrected from [UNICODE] to [RFC3629]:


"""
8.1.  Character Encoding

JSON text exchanged between systems that are not part of a closed
ecosystem MUST be encoded using UTF-8 [RFC3629].

Previous specifications of JSON have not required the use of UTF-8
when transmitting JSON text.  However, the vast majority of JSON-
based software implementations have chosen to use the UTF-8 encoding,
to the extent that it is the only encoding that achieves
interoperability.

Implementations MUST NOT add a byte order mark (U+FEFF) to the
beginning of a networked-transmitted JSON text.  In the interests of
interoperability, implementations that parse JSON texts MAY ignore
the presence of a byte order mark rather than treating it as an
error.
"""

Unless there are strong objections, this is the text we'll submit to the
editor.


- m&m

Matthew A. Miller

On 17/08/14 10:56, Peter Saint-Andre - Filament wrote:
> On 8/14/17 10:50 AM, Paul Hoffman wrote:
>> On 14 Aug 2017, at 9:40, Matthew A. Miller wrote:
>>
>>> On 17/08/01 10:28, Pete Cordell wrote:
>>>> On 01/08/2017 17:01, Peter Saint-Andre - Filament wrote:
>>>>>
>>>>> We're not writing a novel here. :-)
>>>>
>>>> I had been thinking that too.  I do like the direction of focussing the
>>>> requirement on open systems communication though (not to be confused
>>>> with systems built on open software!).  I think the following is pretty
>>>> simple and side-steps issues about what is a network protocol, payload,
>>>> serialization etc.:
>>>>
>>>> 8.1.  Character Encoding
>>>>
>>>>    JSON text exchanged between systems that are not part of a closed
>>>>    ecosystem MUST be encoded using UTF-8.
>>>>
>>>>    Previous specifications of JSON have not required the use of UTF-8
>>>>    when transmitting JSON text.  However, the vast majority of JSON-
>>>>    based software implementations have chosen to use the UTF-8 encoding,
>>>>    to the extent that it is the only encoding that achieves
>>>>    interoperability.
>>>>
>>>>    Implementations MUST NOT add a byte order mark (U+FEFF) to the
>>>>    beginning of a networked-transmitted JSON text.  In the interests of
>>>>    interoperability, implementations that parse JSON texts MAY ignore
>>>>    the presence of a byte order mark rather than treating it as an
>>>>    error.
>>>>
>>>>
>>>
>>> Hello JSONbis Working Group,
>>>
>>> does anyone have comments on Pete Cordell's suggested text?
>>
>> The current wording works for me, and so does Pete's.
> 
> What Pete suggested seems good enough.
> 
> Peter
>