On Sat, 04 Jul 2009 13:49:01 +0200, Hallvord R. M. Steen
<[email protected]> wrote:
Another question: The JSON grammar says
JSONNumber ::
-opt DecimalIntegerLiteral JSONFraction opt ExponentPart opt
JSONFraction ::
. DecimalDigits
This apparently makes numbers like "1." illegal?
I suggest that the spec is changed. In 15.12.1.1 under "Syntax", add
"JSONFraction" on a new line after
JSONNumber ::
-opt DecimalIntegerLiteral JSONFractionopt ExponentPartopt
in other words, define JSONNumber as follows:
JSONNumber ::
-opt DecimalIntegerLiteral JSONFractionopt ExponentPartopt
JSONFraction
I suggest this change because the browser implementations seem to align on
allowing this.
--
Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss