Re: [vwrap] ECMA-262 and the Real LLSD type
Joshua Bell <josh@lindenlab.com> Thu, 06 May 2010 18:48 UTC
Return-Path: <josh@lindenlab.com>
X-Original-To: vwrap@core3.amsl.com
Delivered-To: vwrap@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix)
with ESMTP id E4DBD3A69F6 for <vwrap@core3.amsl.com>;
Thu, 6 May 2010 11:48:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.924
X-Spam-Level:
X-Spam-Status: No, score=0.924 tagged_above=-999 required=5 tests=[AWL=-0.300,
BAYES_50=0.001, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001,
J_CHICKENPOX_14=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3gNQD+kTTF2a for
<vwrap@core3.amsl.com>; Thu, 6 May 2010 11:48:06 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com
[209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id F09883A68A0 for
<vwrap@ietf.org>; Thu, 6 May 2010 11:48:05 -0700 (PDT)
Received: by vws9 with SMTP id 9so286660vws.31 for <vwrap@ietf.org>;
Thu, 06 May 2010 11:47:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.108.227 with SMTP id g35mr1835236vcp.184.1273171670130;
Thu, 06 May 2010 11:47:50 -0700 (PDT)
Received: by 10.220.73.13 with HTTP; Thu, 6 May 2010 11:47:49 -0700 (PDT)
In-Reply-To: <62BFE5680C037E4DA0B0A08946C0933DCE425A2C@rrsmsx506.amr.corp.intel.com>
References: <62BFE5680C037E4DA0B0A08946C0933DCE425A2C@rrsmsx506.amr.corp.intel.com>
Date: Thu, 6 May 2010 11:47:49 -0700
Message-ID: <v2jf72742de1005061147qad927bb3p9c268fc18b1d0995@mail.gmail.com>
From: Joshua Bell <josh@lindenlab.com>
To: "vwrap@ietf.org" <vwrap@ietf.org>
Content-Type: multipart/alternative; boundary=00c09f8de5392393690485f1615e
Subject: Re: [vwrap] ECMA-262 and the Real LLSD type
X-BeenThere: vwrap@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual World Region Agent Protocol - IETF working group
<vwrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vwrap>,
<mailto:vwrap-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vwrap>
List-Post: <mailto:vwrap@ietf.org>
List-Help: <mailto:vwrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vwrap>,
<mailto:vwrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 May 2010 18:48:07 -0000
("from the floor")
On Thu, May 6, 2010 at 10:36 AM, Hurliman, John <john.hurliman@intel.com>wrote;wrote:
> In draft-hamrick-llsd-00 "3.2. JSON Serialization" it states:
>
> (snip)
> Does this mean that an LLSD real type with a value of -Infinity needs to be
> converted to a JSON string, and would be decoded on the receiving side as an
> LLSD string with value "-Infinity" (that happens to have a valid conversion
> to an LLSD real)? ECMA-262 does not support Infinity, NaN, etc. for the JSON
> 'number' type so it looks like we need to transmit those values as strings.
>
That looks like a reasonable interpretation/suggestion to me.
While we're nitpicking this part of the spec:
* The ABNF for non-special real numbers is pretty b0rked if I'm reading it
correctly. (The exponent is non-optional, negative numbers are not
productions, '0.00' is forbidden, etc) I've mentioned this to Mark Lentczner
off-list.
* are '+Zero' and '-Zero' really preferable over '0.0' and '-0.0' ? Who uses
them?
* should 'Infinity' (sans-+) be considered valid? how about 'NaN' (no 'S' or
'Q')?
* was this all just a conspiracy by the draft authors to get us talking
about their alter egos?
- [vwrap] ECMA-262 and the Real LLSD type Hurliman, John
- Re: [vwrap] ECMA-262 and the Real LLSD type Joshua Bell
- Re: [vwrap] ECMA-262 and the Real LLSD type Meadhbh Hamrick
- Re: [vwrap] ECMA-262 and the Real LLSD type Meadhbh Hamrick
- Re: [vwrap] ECMA-262 and the Real LLSD type Meadhbh Hamrick
- Re: [vwrap] ECMA-262 and the Real LLSD type Meadhbh Hamrick
- Re: [vwrap] ECMA-262 and the Real LLSD type Joshua Bell
- Re: [vwrap] ECMA-262 and the Real LLSD type Hurliman, John
- Re: [vwrap] ECMA-262 and the Real LLSD type David W Levine