[Bug 17490] `entities.json` is invalid syntax and has incorrect content

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17490

Mathias Bynens <mathias@qiwi.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #2 from Mathias Bynens <mathias@qiwi.be> 2012-06-15 07:27:19 UTC ---
http://www.whatwg.org/specs/web-apps/current-work/multipage/entities.json 
currently has the following format:

    {
      "&AElig": { "codepoints": [0x000C6], "characters": "\u00C6" },
      …
    }

However, hexadecimal integer literals (although valid in JavaScript) aren’t
allowed in JSON.

The easiest solution would be to use the numerical value in decimal notation
instead, e.g. `198` instead of `0x000C6`.

Another solution would be to make the `codepoints` property an array of strings
instead of hexadecimal integers.

(You can check for JSON conformance using a tool like http://jsonlint.com/.)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 15 June 2012 07:27:23 UTC