[Json] a candidate for the minimal change target

"Peter F. Patel-Schneider" <pfpschneider@gmail.com> Tue, 09 July 2013 21:34 UTC

Return-Path: <pfpschneider@gmail.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 3F9C211E816D for <json@ietfa.amsl.com>; Tue, 9 Jul 2013 14:34:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.766
X-Spam-Level:
X-Spam-Status: No, score=-2.766 tagged_above=-999 required=5 tests=[AWL=-0.167, BAYES_00=-2.599]
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 73IBmZDxKhKQ for <json@ietfa.amsl.com>; Tue, 9 Jul 2013 14:34:14 -0700 (PDT)
Received: from mail-oa0-x234.google.com (mail-oa0-x234.google.com [IPv6:2607:f8b0:4003:c02::234]) by ietfa.amsl.com (Postfix) with ESMTP id B005611E8156 for <json@ietf.org>; Tue, 9 Jul 2013 14:34:14 -0700 (PDT)
Received: by mail-oa0-f52.google.com with SMTP id g12so8499601oah.39 for <json@ietf.org>; Tue, 09 Jul 2013 14:34:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=G6s/72CkDsyUFDI3zY4ieANGSf1tO8xNykcKC1tLgxY=; b=l3lYc5pWwX7l6fJyTSqqdUa8UV5oqEQqFVfZ8/rsZTG9XmG1VKbSpQlfLbF+Zx/MlC CNEInITKmIE2hl5+lBgAdrDRCKFJ4oHRMcfjk8ahWOczmJfKqWlWxfR39+Lvdrldpjzs vbzk2CnzP4MMh/kwLpxZD0rWdq1F3YwCwbhqOmtm4uCQW1FtVxD/5evZviQms8MGVzub hn5GJmHpxOPY2/9FWVol5MMFuad2vs13BKmdWpnk3nAvzIsFsNP7jxS0qfXjPQ2iilyB ltXEGe7PbXosJRP90gq8VVJ4IM0uxhnlTbGqHm6jbJbrrpWY5OtSpM1vXb0Qeb6LyIXM YxzQ==
X-Received: by 10.182.16.137 with SMTP id g9mr26008650obd.17.1373405654306; Tue, 09 Jul 2013 14:34:14 -0700 (PDT)
Received: from [192.168.1.102] (out-on-158.wireless.telus.com. [207.219.69.158]) by mx.google.com with ESMTPSA id q4sm40282539obl.1.2013.07.09.14.34.12 for <json@ietf.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 09 Jul 2013 14:34:13 -0700 (PDT)
Message-ID: <51DC81CD.9070904@gmail.com>
Date: Tue, 09 Jul 2013 14:34:05 -0700
From: "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130514 Thunderbird/17.0.6
MIME-Version: 1.0
To: json@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [Json] a candidate for the minimal change target
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: Tue, 09 Jul 2013 21:34:15 -0000

This may be somewhat on the spec-lawyerly side, but

    Numeric values that cannot be represented as sequences of digits
    (such as Infinity and NaN) are not permitted.

is counter to the grammar for numbers.

For example, under any sane reading of what numbers mean this would disallow the rational number 1/10.
(Yes, I'm counting unusual number bases as an insanity.)


Peter F. Patel-Schneider