Re: [Json] Proposal for strings/Unicode text

Paul Hoffman <paul.hoffman@vpnc.org> Mon, 17 June 2013 17:27 UTC

Return-Path: <paul.hoffman@vpnc.org>
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 5AC6221F9D49 for <json@ietfa.amsl.com>; Mon, 17 Jun 2013 10:27:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.494
X-Spam-Level:
X-Spam-Status: No, score=-102.494 tagged_above=-999 required=5 tests=[AWL=0.105, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yq6+5ZLLAiB6 for <json@ietfa.amsl.com>; Mon, 17 Jun 2013 10:27:48 -0700 (PDT)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 1538621F9D86 for <json@ietf.org>; Mon, 17 Jun 2013 10:27:47 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-165.dsl.dynamic.sonic.net [50.0.66.165]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.5) with ESMTP id r5HHRixK040308 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 17 Jun 2013 10:27:45 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <A723FC6ECC552A4D8C8249D9E07425A70FC52202@xmb-rcd-x10.cisco.com>
Date: Mon, 17 Jun 2013 10:27:43 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <52755324-4C8D-452A-9A84-14691ACEEC7E@vpnc.org>
References: <A723FC6ECC552A4D8C8249D9E07425A70FC52202@xmb-rcd-x10.cisco.com>
To: Joe Hildebrand (jhildebr) <jhildebr@cisco.com>
X-Mailer: Apple Mail (2.1508)
Cc: json@ietf.org
Subject: Re: [Json] Proposal for strings/Unicode text
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 17 Jun 2013 17:27:49 -0000

On Jun 17, 2013, at 10:21 AM, Joe Hildebrand (jhildebr) <jhildebr@cisco.com> wrote:

> On 6/16/13 11:02 PM, "Manger, James H" <James.H.Manger@team.telstra.com>
> wrote:
> 
>> Fixing typos and tweaking the comment:
>> 
>> unescaped = %x20-21 / %x23-5B / %x5D-D7FF / %xE000-10FFFF
>>   ; any Unicode scalar value, except those that must be escaped
>>   ; (control characters, quotation mark, and reverse solidus)
> 
> After discussion, this?
> 
> unescaped = %x20-21 / %x23-5B / %x5D-D7FF / %xE000-10FFFF
> ; any Unicode scalar value, except those that must be escaped
> ; (C0 control characters,
> ;  "QUOTATION MARK" [U+0022], and
> ;  "REVERSE SOLIDUS" [U+005C])
> 
> The caps and codepoint references make it clear we're only talking about
> those precise codepoints.
> 
> Others may argue that non-C0 control characters should be prohibited, but
> that's a separate backward-compatibility argument from this starting point.

What value is that comment? Doesn't it invite misinterpretation of the ABNF, which is exact?

--Paul Hoffman