« Bugzilla Issues Index
#1287 — JSON grammar differs between body and annex for JSONEscapeSequence
- bug_id:
1287
- creation_ts:
2013-03-12 06:23:00 -0700
- short_desc:
JSON grammar differs between body and annex for JSONEscapeSequence
- delta_ts:
2013-10-29 09:45:31 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 14: March 8, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
James Manger
- assigned_to:
Allen Wirfs-Brock
- commentid:
3427
- comment_count:
0
- who:
James Manger
- bug_when:
2013-03-12 06:23:50 -0700
JSONEscapeSequence is different between section 15.12.1.1 "JSON Lexical Grammar" and annex A.8.1 "JSON Lexical Grammar". The annex allows the new \u{x...} escape sequence, but that should not be valid in JSON.
RIGHT (section 15.12.1.1)
JSONEscapeSequence ::
JSONEscapeCharacter
u HexDigit HexDigit HexDigit HexDigit
WRONG (annex A.8.1)
JSONEscapeSequence ::
JSONEscapeCharacter
UnicodeEscapeSequence
- commentid:
5979
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-25 18:19:00 -0700
fixed in rev20 editor's draft
the JSON grammar has been removed from Ecma-262 and replaced with a normative reference to Ecma-404
- commentid:
6079
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-29 09:45:31 -0700
fixed in rev20 draft, Oct. 28, 2013