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

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

Return-Path: <tbray@textuality.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 8CAAA21F896B for <json@ietfa.amsl.com>; Tue, 19 Feb 2013 14:24:00 -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=[AWL=-0.000, 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 inQ8m7jFLyQb for <json@ietfa.amsl.com>; Tue, 19 Feb 2013 14:23:54 -0800 (PST)
Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by ietfa.amsl.com (Postfix) with ESMTP id A9F6921F89AE for <json@ietf.org>; Tue, 19 Feb 2013 14:23:52 -0800 (PST)
Received: by mail-pa0-f48.google.com with SMTP id hz10so3605179pad.35 for <json@ietf.org>; Tue, 19 Feb 2013 14:23:52 -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=P4elsQn6qpbXJp0o8qu/UKwHq5miZc1JdjwLXssSBvI=; b=YFc27tRTmw4gIsohQllggwxjVjSOodJOcSb9CXfufC7nkatBhMgHE3PMFm8HMgdMKX R+YBJSyHA6HY/WfgnnyAD/K0UENFcX7lqRrm/IIdjlbFm8tEdFd7Bhs8CMxrS8QQXXh6 VqDNNAHK3IFoXVYOfVmAEcIxaMHFQ4hhYUnKt23O3CRDAQpwO7y9SCzmiBN0BP18iG/f WzQ194D+r4EU5Wz0gaKde+3waMUqZDw8dMFndTqz0lOoh6Bd0mHgOY8rUe68D+hgTfhb hySXkAJfFIuXlKX5qkssvAM6yIFY38CJflNt1HtWvE+yNRK1xopxqRqmR8m/gtk74I6N DZTw==
MIME-Version: 1.0
X-Received: by 10.66.52.79 with SMTP id r15mr49614216pao.46.1361312632015; Tue, 19 Feb 2013 14:23:52 -0800 (PST)
Received: by 10.66.249.129 with HTTP; Tue, 19 Feb 2013 14:23:51 -0800 (PST)
X-Originating-IP: [172.29.161.33]
In-Reply-To: <BF7E36B9C495A6468E8EC573603ED9411513EC09@xmb-aln-x11.cisco.com>
References: <4E1F6AAD24975D4BA5B168042967394367477490@TK5EX14MBXC284.redmond.corp.microsoft.com> <A723FC6ECC552A4D8C8249D9E07425A70F8975C6@xmb-rcd-x10.cisco.com> <CAK3OfOi5muC1kBgZHZKCzoVTgQLRLwLmwd3Jnrv_N8AkEkWPkw@mail.gmail.com> <CAHBU6is-Hx5aqthQRVrbcCKC0G2R9=OMVCth+ysvzk8J-PYvxA@mail.gmail.com> <CALcybBD79Bodp8SPosQGr95c2Mh=bVM=BN+SDc9cGjuO4Qr=CA@mail.gmail.com> <BF7E36B9C495A6468E8EC573603ED9411513EC09@xmb-aln-x11.cisco.com>
Date: Tue, 19 Feb 2013 14:23:51 -0800
Message-ID: <CAHBU6is92fgYKE-mvcUNmN--h2KYkwMJvNGgDCYJ_pt4+xynZQ@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: "Matt Miller (mamille2)" <mamille2@cisco.com>
Content-Type: multipart/alternative; boundary="bcaec543094cdc0c6104d61b4b21"
X-Gm-Message-State: ALoCoQmVtTVj1p468y5xi30jbCskcf+++ASuDzKoSww6hfOH5CDCXCKwl1W7gCDlV5dYvq5u5DoC
Cc: Francis Galiegue <fgaliegue@gmail.com>, "json@ietf.org" <json@ietf.org>, Nico Williams <nico@cryptonector.com>
Subject: Re: [Json] [apps-discuss] JSON mailing list and BoF
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion related to JavaScript Object Notation \(JSON\)." <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: Tue, 19 Feb 2013 22:24:00 -0000

Options for \uxxxx
- forbid it
- argue that comparisons MUST be Unicode-codepoint by Unicode-codepoint,
and specify that \uxxxx specifies a single codepoint

Latter is probably better. -T


On Tue, Feb 19, 2013 at 2:08 PM, Matt Miller (mamille2)
<mamille2@cisco.com>wrote:

> [Thank you Paul; removing apps-discuss@]
>
> On Feb 19, 2013, at 3:00 PM, Francis Galiegue <fgaliegue@gmail.com>
>  wrote:
>
> > On Tue, Feb 19, 2013 at 10:53 PM, Tim Bray <tbray@textuality.com> wrote:
> >> 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!”
> >>
> >
> > (as a not very well educated individual on this matter...)
> >
> > If _that_ is what normalization is about, then I strongly condemn it
> > being even a subject at all.
> >
> > The current RFC does a pretty good job at defining what a JSON String
> > can be, fabricating some sort of injective function so that one JSON
> > value is equal to another is sick.
> >
> > OK, I say that, but on the other hand, JSON Schema mandates that JSON
> > values "1.0" and "1" be considered equal for numeric validation. This
> > could also be viewed as a form of normalization...
> >
>
> And furthermore, "foó" versus "\u0066\u006f\u00f3" (or
> "\u0066\u006f\u006f\u00b4"?).  I think most of us clearly think the former
> is better than the latter, but it does need to be called out.
>
> I also do think some level of discussion on unicode normalization, even if
> the result is "this is out-of-scope," needs to take place.
>
>
> - m&m
>
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>
>