Re: [Json] Some thoughts on the "text model" discussion
Tim Bray <tbray@textuality.com> Thu, 08 August 2013 18:45 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 83C3211E8204 for <json@ietfa.amsl.com>;
Thu, 8 Aug 2013 11:45:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.143
X-Spam-Level:
X-Spam-Status: No, score=-2.143 tagged_above=-999 required=5 tests=[AWL=-0.833,
BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001,
RCVD_IN_DNSWL_LOW=-1, SARE_HTML_USL_OBFU=1.666]
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 2GV+yeHGqmIm for
<json@ietfa.amsl.com>; Thu, 8 Aug 2013 11:45:41 -0700 (PDT)
Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com
[209.85.128.172]) by ietfa.amsl.com (Postfix) with ESMTP id B711011E8211 for
<json@ietf.org>; Thu, 8 Aug 2013 11:45:38 -0700 (PDT)
Received: by mail-ve0-f172.google.com with SMTP id oz10so3398364veb.17 for
<json@ietf.org>; Thu, 08 Aug 2013 11:45:38 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=20120113;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type;
bh=5yeNkILOp1ldF0pi9zQL7JJlzsXAr/Ub+mDEVj5XUo8=;
b=Csp2fnYnnYsOjWjCD8a0EFOLjWMz0q8x5Tlks3Vu7bxrDgreN9mDuWKw4FWuEAaPBX
WqYM04DwES6KnZByzXo+B8thjDVER3CtM8eA7yBXCmkO2/NnZcSVkX2Be1b6bzxzCOeL
LWpJylBzE0mu794oGd7cPbd50W1odVHIipVWq4y7MrhsypaEG/7msqWqrq6stVlrycmg
LlZhFakW02HFuf4pxqOC2TlQXs2RE8RdU5jKdhzE52z/69QZognzrslnjCRm/cdprkOI
XU8o9wAJVi8KHCwZGPLADAY0hKRoyhPsWWNF4F/+jUtd8bNt7+YBsz6uoBEjtJ2YTpFB ZvJQ==
X-Gm-Message-State: ALoCoQn23wYDLB4YTd0Lm8836dX8Afv6rpK0PyHEZjX8ymO6G6o4XN/qupRAndIS49zs1ggER6Re
MIME-Version: 1.0
X-Received: by 10.58.54.70 with SMTP id h6mr3981781vep.36.1375987537137;
Thu, 08 Aug 2013 11:45:37 -0700 (PDT)
Received: by 10.220.212.202 with HTTP; Thu, 8 Aug 2013 11:45:37 -0700 (PDT)
X-Originating-IP: [96.49.81.176]
In-Reply-To: <51F8D4AC.7080301@qti.qualcomm.com>
References: <51F8D4AC.7080301@qti.qualcomm.com>
Date: Thu, 8 Aug 2013 11:45:37 -0700
Message-ID: <CAHBU6ismvZ48DdmKTw0iepg1xK6dFpLC4aRG1ib0cugU-URq3w@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Pete Resnick <presnick@qti.qualcomm.com>
Content-Type: multipart/alternative; boundary=089e0122ad065de42a04e3741037
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Some thoughts on the "text model" discussion
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, 08 Aug 2013 18:45:45 -0000
OK, since general discussion has not broken out, let’s be very specific in answer to Pete’s question: On Wed, Jul 31, 2013 at 2:11 AM, Pete Resnick <presnick@qti.qualcomm.com>wrote;wrote: > For each of these three items, I think if we end up with some explanatory > text in the documents that helps make the appropriate distinctions (and > note that I am being purposely agnostic on what the WG should say about > each of them), I think that would help the clarity and implementability of > the spec. > I propose this as the explanatory text for the -bis: <<<<<<<<<<<<<<<< A JSON text which is composed entirely of Unicode characters (however encoded) will be interoperable in the sense that all Unicode-capable software which parses it will agree on the contents of names and values of object members. However, the ABNF in this specification allows member names and string values to contain bit sequences which cannot encode Unicode characters, for example "\udddd" (an unpaired UTF-16 surrogate). Instances of this have been observed, for example when a library truncates a UTF-16 string to a maximum allowable length without checking whether the truncation split a surrogate pair. The behavior of software which receives JSON texts containing such values is unpredictable; for example, two different implementations might return different values for the length of a string value, or even suffer a fatal runtime exception. <<<<<<<<<<<<<<<<< That’s all. Point out the problem as exactly and clearly as possible, then shut up. > > I'll leave it to the chairs to decide where to take the discussion from > here. > > pr > > -- > Pete Resnick<http://www.qualcomm.**com/~presnick/<http://www.qualcomm.com/~presnick/> > > > Qualcomm Technologies, Inc. - +1 (858)651-4478 > > ______________________________**_________________ > json mailing list > json@ietf.org > https://www.ietf.org/mailman/**listinfo/json<https://www.ietf.org/mailman/listinfo/json> >
- [Json] Some thoughts on the "text model" discussi… Pete Resnick
- Re: [Json] Some thoughts on the "text model" disc… Paul Hoffman
- Re: [Json] Some thoughts on the "text model" disc… Tim Bray
- Re: [Json] Some thoughts on the "text model" disc… Nico Williams
- Re: [Json] Some thoughts on the "text model" disc… Paul Hoffman
- Re: [Json] Some thoughts on the "text model" disc… Tim Bray
- Re: [Json] Some thoughts on the "text model" disc… Jorge Chamorro
- Re: [Json] Some thoughts on the "text model" disc… Larry Masinter
- Re: [Json] Some thoughts on the "text model" disc… John Levine
- Re: [Json] Some thoughts on the "text model" disc… Larry Masinter
- Re: [Json] Some thoughts on the "text model" disc… Tim Bray
- Re: [Json] Some thoughts on the "text model" disc… John R Levine
- Re: [Json] Some thoughts on the "text model" disc… Tim Bray
- Re: [Json] Some thoughts on the "text model" disc… R S