Re: [apps-discuss] [Json] JSON mailing list and BoF

Tim Bray <tbray@textuality.com> Tue, 19 February 2013 21:53 UTC

Return-Path: <tbray@textuality.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F28421E8050 for <apps-discuss@ietfa.amsl.com>; Tue, 19 Feb 2013 13:53:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lDzGSr3aSZvk for <apps-discuss@ietfa.amsl.com>; Tue, 19 Feb 2013 13:53:07 -0800 (PST)
Received: from mail-da0-f50.google.com (mail-da0-f50.google.com [209.85.210.50]) by ietfa.amsl.com (Postfix) with ESMTP id 7D47021F87E4 for <apps-discuss@ietf.org>; Tue, 19 Feb 2013 13:53:07 -0800 (PST)
Received: by mail-da0-f50.google.com with SMTP id h15so3162343dan.23 for <apps-discuss@ietf.org>; Tue, 19 Feb 2013 13:53:07 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=si8j9K6NlZL9nwEaXz0myQj409qMk750tzLqXnyISi8=; b=nQ+q+6XYIuViwtRoa0VN+LqAQYJDnfTI/if96YD0I2f2SdwvB6Q10Z2Kmkp49wigwm lPRn9jWlo/K16nhKRRqlVU65xkNV4Pp2es/Xy/RU0H2bhJOGDCbm843GkirY+REjFSKk kIqSbeXaGDuAj/LvlaF89whFlZle8xtSIstBZvl1qhuH/8LVG77a7yf7bciYJVFTi746 iCVRfPss9VwCzhh6ckrETmRKkytu2Owj0MjW9Cw5ugn3aLWUj4lIHOHyq4vQKw7RKYoa ODHeG+n0o7xCXwijQ8wUnKpaux9d+qMSHnf30A+BAY62jTmJaXWSYeuYV8wyRdYFSD0i YtoA==
MIME-Version: 1.0
X-Received: by 10.68.129.41 with SMTP id nt9mr13469815pbb.20.1361310787196; Tue, 19 Feb 2013 13:53:07 -0800 (PST)
Received: by 10.66.249.129 with HTTP; Tue, 19 Feb 2013 13:53:07 -0800 (PST)
X-Originating-IP: [172.29.161.33]
In-Reply-To: <CAK3OfOi5muC1kBgZHZKCzoVTgQLRLwLmwd3Jnrv_N8AkEkWPkw@mail.gmail.com>
References: <4E1F6AAD24975D4BA5B168042967394367477490@TK5EX14MBXC284.redmond.corp.microsoft.com> <A723FC6ECC552A4D8C8249D9E07425A70F8975C6@xmb-rcd-x10.cisco.com> <CAK3OfOi5muC1kBgZHZKCzoVTgQLRLwLmwd3Jnrv_N8AkEkWPkw@mail.gmail.com>
Date: Tue, 19 Feb 2013 13:53:07 -0800
Message-ID: <CAHBU6is-Hx5aqthQRVrbcCKC0G2R9=OMVCth+ysvzk8J-PYvxA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Nico Williams <nico@cryptonector.com>
Content-Type: multipart/alternative; boundary="047d7b10cfe9e6585b04d61add00"
X-Gm-Message-State: ALoCoQk5yOezSRrXEkt+lKhlGTSDTvAEIkLzSLwBigYRQZn+YIAwmVZld2m5LXYsaFYlCqfGkfOe
Cc: "apps-discuss@ietf.org" <apps-discuss@ietf.org>, "json@ietf.org" <json@ietf.org>
Subject: Re: [apps-discuss] [Json] JSON mailing list and BoF
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 19 Feb 2013 21:53:09 -0000

I would argue that normalization should be out of scope.  I.e. the two
forms of “foó” are different strings, that’s all.
“Doctor! It hurts when I do this!”
“So, don’t do that!”

-T


On Tue, Feb 19, 2013 at 1:41 PM, Nico Williams <nico@cryptonector.com>wrote:

> On Tue, Feb 19, 2013 at 3:27 PM, Joe Hildebrand (jhildebr)
> <jhildebr@cisco.com> wrote:
> > I somewhat agree, but have you at least read
> > draft-staykov-hu-json-canonical-form?  It's pretty straightforward, and
> > nowhere near as scary as xmlenc.
>
> Indeed.
>
> Lexicographic sorting... makes me wonder about Unicode normalization.
> Before your heads explode, what is the ECMAScript rule regarding
> normalization of object keys?  Are the two normalization forms of
> 'foó' allowed as distinct keys in an object?
>
> Nico
> --
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>