Re: [Json] Strings

"Matt Miller (mamille2)" <mamille2@cisco.com> Thu, 06 June 2013 16:43 UTC

Return-Path: <mamille2@cisco.com>
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 193C021F99BB for <json@ietfa.amsl.com>; Thu, 6 Jun 2013 09:43:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 itvmBLKOF4Bp for <json@ietfa.amsl.com>; Thu, 6 Jun 2013 09:43:01 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) by ietfa.amsl.com (Postfix) with ESMTP id B6FE821F9A06 for <json@ietf.org>; Thu, 6 Jun 2013 09:43:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7026; q=dns/txt; s=iport; t=1370536981; x=1371746581; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=Xqy4bEWU1yMh5T52+jvZH0Xl2bEvurcnrdKxTvos1sc=; b=jAyNET8z2U/bRv6UbWQiEGfqav+pJZdpChk6y67ukQnAXaJEKaRDo87j rP7a2AesPXvuByrb2bSx28B9Y8Ssq89PjGxIboeM6d+/BpTywnXqa9NQt bF0CDEhRe5EqpN3j4/MfopoufQDhiZAB+VcxYYGAGL6ORibbpRNJw/fuL M=;
X-Files: smime.p7s : 4136
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AggFAIG7sFGtJXHB/2dsb2JhbABZgwm/d3gWdIIjAQEBAwF5BQsCAQgYCiQCMCUCBA4FCAaHeQa7eY8BMQeCemEDkACBLJdTgw+CJw
X-IronPort-AV: E=Sophos; i="4.87,816,1363132800"; d="p7s'?scan'208"; a="219652919"
Received: from rcdn-core2-6.cisco.com ([173.37.113.193]) by rcdn-iport-5.cisco.com with ESMTP; 06 Jun 2013 16:43:01 +0000
Received: from xhc-aln-x12.cisco.com (xhc-aln-x12.cisco.com [173.36.12.86]) by rcdn-core2-6.cisco.com (8.14.5/8.14.5) with ESMTP id r56Gh1JT009607 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 6 Jun 2013 16:43:01 GMT
Received: from xmb-aln-x11.cisco.com ([169.254.6.24]) by xhc-aln-x12.cisco.com ([173.36.12.86]) with mapi id 14.02.0318.004; Thu, 6 Jun 2013 11:43:00 -0500
From: "Matt Miller (mamille2)" <mamille2@cisco.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Thread-Topic: [Json] Strings
Thread-Index: AQHOYioMjGU3VEWBZE6l/bagJTIFaZkoJROAgAA4Q4CAAL8AAIAAHPWA
Date: Thu, 06 Jun 2013 16:43:00 +0000
Message-ID: <BF7E36B9C495A6468E8EC573603ED9411527E361@xmb-aln-x11.cisco.com>
References: <A723FC6ECC552A4D8C8249D9E07425A70FC2E23E@xmb-rcd-x10.cisco.com> <38C1C408-3AF4-4CF2-96E1-9544C54B0531@vpnc.org>
In-Reply-To: <38C1C408-3AF4-4CF2-96E1-9544C54B0531@vpnc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [10.129.24.59]
Content-Type: multipart/signed; boundary="Apple-Mail=_1CB9FEC3-A2FA-460E-9A05-AE2DFE5835C4"; protocol="application/pkcs7-signature"; micalg="sha1"
MIME-Version: 1.0
Cc: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Strings
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: Thu, 06 Jun 2013 16:43:08 -0000

On Jun 6, 2013, at 8:59 AM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> On Jun 5, 2013, at 8:35 PM, Joe Hildebrand (jhildebr) <jhildebr@cisco.com> wrote:
> 
>> On 6/5/13 6:14 PM, "Paul Hoffman" <paul.hoffman@vpnc.org> wrote:
>> 
>>> Proposed wording: just before the ABNF at the end of section 2.5, add:
>>> 
>>> When comparing strings, escaped characters SHOULD compare the same as
>>> their unescaped counterparts. For example, the following three strings
>>> SHOULD be considered equivalent for comparisons:
>> 
>> 
>> Are you sure you want to open pandora's box of comparing strings?
> 
> Yes. String comparison is used for object keys, which is a hot topic in another thread.
> 
> { "a": 1, "\u0061": 2 }
> 

To (probably vainly) help keep a lid on the box, do we need to note there is no expectation of normalization?


- m&m

Matt Miller < mamille2@cisco.com >
Cisco Systems, Inc.