Il WPT vero non è agganciabile: i suoi test di parsing sono pagine che girano in testharness.js e vogliono DOMParser, createHTMLDocument e un event loop asincrono — cose che il motore non ha. Il corpus `html5lib-tests/tokenizer` è invece la sorgente da cui WPT genera quei test, e misurarlo dà un numero confrontabile invece di un'affermazione. - engine/src/bin/wpt.rs: legge i .test, esegue i casi, confronta i token, stampa percentuali per file e totale; `--min N` fa fallire la CI sotto soglia (93%) - engine/scripts/scarica-corpus.sh: rigenera il corpus (1,7 MB, nel repository perché la CI non deve dipendere dalla rete) Il corpus ha trovato subito due difetti: 1. **Il tokenizer si BLOCCAVA** su `<h/a='b'>`, `<a/\0>` e `<z/0 <>`: nel ciclo degli attributi, una `/` non seguita da `>` produceva un nome vuoto e `j` non avanzava mai. Ora il carattere si scarta e si prosegue (e `<h/a='b'>` vale `<h a='b'>`, come dice la specifica). Un blocco, non un token sbagliato. 2. **Ogni `<!…>` diventava un doctype**, anche `<!>`, `<!ciao>`, `<! `, `<?…>`: doveva essere un **commento spurio**. Era il grosso dei fallimenti in test3. Più: entità HTML nominate complete (2231 voci generate da entities.json del WHATWG, forme legacy e multi-carattere comprese) e DOCTYPE con nome, PUBLIC/SYSTEM e segnalazione degli errori. Numeri: 48,42% al primo giro, 82,09% con le entità, 93,88% con commento spurio e doctype (6247 casi su 6654 eseguibili, 166 saltati). Restano fuori gli stati iniziali diversi da quello dei dati (RCDATA, CDATA, script, PLAINTEXT), lastStartTag e la serializzazione: dichiarati, non nascosti. Effetti collaterali utili: le entità complete migliorano ogni pagina reale con simboli tipografici; il commento spurio rende il parsing di `<![CDATA[` e delle dichiarazioni PHP-like meno sbagliato di prima.
543 lines
19 KiB
Plaintext
543 lines
19 KiB
Plaintext
{"tests": [
|
|
|
|
{"description": "Undefined named entity in a double-quoted attribute value ending in semicolon and whose name starts with a known entity name.",
|
|
"input":"<h a=\"¬i;\">",
|
|
"output": [["StartTag", "h", {"a": "¬i;"}]]},
|
|
|
|
{"description": "Entity name requiring semicolon instead followed by the equals sign in a double-quoted attribute value.",
|
|
"input":"<h a=\"&lang=\">",
|
|
"output": [["StartTag", "h", {"a": "&lang="}]]},
|
|
|
|
{"description": "Valid entity name followed by the equals sign in a double-quoted attribute value.",
|
|
"input":"<h a=\"¬=\">",
|
|
"output": [["StartTag", "h", {"a": "¬="}]]},
|
|
|
|
{"description": "Undefined named entity in a single-quoted attribute value ending in semicolon and whose name starts with a known entity name.",
|
|
"input":"<h a='¬i;'>",
|
|
"output": [["StartTag", "h", {"a": "¬i;"}]]},
|
|
|
|
{"description": "Entity name requiring semicolon instead followed by the equals sign in a single-quoted attribute value.",
|
|
"input":"<h a='&lang='>",
|
|
"output": [["StartTag", "h", {"a": "&lang="}]]},
|
|
|
|
{"description": "Valid entity name followed by the equals sign in a single-quoted attribute value.",
|
|
"input":"<h a='¬='>",
|
|
"output": [["StartTag", "h", {"a": "¬="}]]},
|
|
|
|
{"description": "Undefined named entity in an unquoted attribute value ending in semicolon and whose name starts with a known entity name.",
|
|
"input":"<h a=¬i;>",
|
|
"output": [["StartTag", "h", {"a": "¬i;"}]]},
|
|
|
|
{"description": "Entity name requiring semicolon instead followed by the equals sign in an unquoted attribute value.",
|
|
"input":"<h a=&lang=>",
|
|
"output": [["StartTag", "h", {"a": "&lang="}]],
|
|
"errors":[
|
|
{ "code": "unexpected-character-in-unquoted-attribute-value", "line": 1, "col": 11 }
|
|
]},
|
|
|
|
{"description": "Valid entity name followed by the equals sign in an unquoted attribute value.",
|
|
"input":"<h a=¬=>",
|
|
"output": [["StartTag", "h", {"a": "¬="}]],
|
|
"errors":[
|
|
{ "code": "unexpected-character-in-unquoted-attribute-value", "line": 1, "col": 10 }
|
|
]},
|
|
|
|
{"description": "Ambiguous ampersand.",
|
|
"input":"&rrrraannddom;",
|
|
"output": [["Character", "&rrrraannddom;"]],
|
|
"errors":[
|
|
{ "code": "unknown-named-character-reference", "line": 1, "col": 14 }
|
|
]},
|
|
|
|
{"description": "Semicolonless named entity 'not' followed by 'i;' in body",
|
|
"input":"¬i;",
|
|
"output": [["Character", "\u00ACi;"]],
|
|
"errors":[
|
|
{ "code": "missing-semicolon-after-character-reference", "line": 1, "col": 5 }
|
|
]},
|
|
|
|
{"description": "Very long undefined named entity in body",
|
|
"input":"&ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp;",
|
|
"output": [["Character", "&ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp;"]],
|
|
"errors":[
|
|
{ "code": "unknown-named-character-reference", "line": 1, "col": 950 }
|
|
]},
|
|
|
|
{"description": "CR as numeric entity",
|
|
"input":"
",
|
|
"output": [["Character", "\r"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 7 }
|
|
]},
|
|
|
|
{"description": "CR as hexadecimal numeric entity",
|
|
"input":"
",
|
|
"output": [["Character", "\r"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 EURO SIGN numeric entity.",
|
|
"input":"€",
|
|
"output": [["Character", "\u20AC"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u0081"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 SINGLE LOW-9 QUOTATION MARK numeric entity.",
|
|
"input":"‚",
|
|
"output": [["Character", "\u201A"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN SMALL LETTER F WITH HOOK numeric entity.",
|
|
"input":"ƒ",
|
|
"output": [["Character", "\u0192"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 DOUBLE LOW-9 QUOTATION MARK numeric entity.",
|
|
"input":"„",
|
|
"output": [["Character", "\u201E"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 HORIZONTAL ELLIPSIS numeric entity.",
|
|
"input":"…",
|
|
"output": [["Character", "\u2026"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 DAGGER numeric entity.",
|
|
"input":"†",
|
|
"output": [["Character", "\u2020"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 DOUBLE DAGGER numeric entity.",
|
|
"input":"‡",
|
|
"output": [["Character", "\u2021"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 MODIFIER LETTER CIRCUMFLEX ACCENT numeric entity.",
|
|
"input":"ˆ",
|
|
"output": [["Character", "\u02C6"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 PER MILLE SIGN numeric entity.",
|
|
"input":"‰",
|
|
"output": [["Character", "\u2030"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN CAPITAL LETTER S WITH CARON numeric entity.",
|
|
"input":"Š",
|
|
"output": [["Character", "\u0160"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 SINGLE LEFT-POINTING ANGLE QUOTATION MARK numeric entity.",
|
|
"input":"‹",
|
|
"output": [["Character", "\u2039"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN CAPITAL LIGATURE OE numeric entity.",
|
|
"input":"Œ",
|
|
"output": [["Character", "\u0152"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u008D"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN CAPITAL LETTER Z WITH CARON numeric entity.",
|
|
"input":"Ž",
|
|
"output": [["Character", "\u017D"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u008F"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u0090"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LEFT SINGLE QUOTATION MARK numeric entity.",
|
|
"input":"‘",
|
|
"output": [["Character", "\u2018"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 RIGHT SINGLE QUOTATION MARK numeric entity.",
|
|
"input":"’",
|
|
"output": [["Character", "\u2019"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LEFT DOUBLE QUOTATION MARK numeric entity.",
|
|
"input":"“",
|
|
"output": [["Character", "\u201C"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 RIGHT DOUBLE QUOTATION MARK numeric entity.",
|
|
"input":"”",
|
|
"output": [["Character", "\u201D"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 BULLET numeric entity.",
|
|
"input":"•",
|
|
"output": [["Character", "\u2022"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 EN DASH numeric entity.",
|
|
"input":"–",
|
|
"output": [["Character", "\u2013"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 EM DASH numeric entity.",
|
|
"input":"—",
|
|
"output": [["Character", "\u2014"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 SMALL TILDE numeric entity.",
|
|
"input":"˜",
|
|
"output": [["Character", "\u02DC"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 TRADE MARK SIGN numeric entity.",
|
|
"input":"™",
|
|
"output": [["Character", "\u2122"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN SMALL LETTER S WITH CARON numeric entity.",
|
|
"input":"š",
|
|
"output": [["Character", "\u0161"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 SINGLE RIGHT-POINTING ANGLE QUOTATION MARK numeric entity.",
|
|
"input":"›",
|
|
"output": [["Character", "\u203A"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN SMALL LIGATURE OE numeric entity.",
|
|
"input":"œ",
|
|
"output": [["Character", "\u0153"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u009D"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 EURO SIGN hexadecimal numeric entity.",
|
|
"input":"€",
|
|
"output": [["Character", "\u20AC"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR hexadecimal numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u0081"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 SINGLE LOW-9 QUOTATION MARK hexadecimal numeric entity.",
|
|
"input":"‚",
|
|
"output": [["Character", "\u201A"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN SMALL LETTER F WITH HOOK hexadecimal numeric entity.",
|
|
"input":"ƒ",
|
|
"output": [["Character", "\u0192"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 DOUBLE LOW-9 QUOTATION MARK hexadecimal numeric entity.",
|
|
"input":"„",
|
|
"output": [["Character", "\u201E"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 HORIZONTAL ELLIPSIS hexadecimal numeric entity.",
|
|
"input":"…",
|
|
"output": [["Character", "\u2026"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 DAGGER hexadecimal numeric entity.",
|
|
"input":"†",
|
|
"output": [["Character", "\u2020"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 DOUBLE DAGGER hexadecimal numeric entity.",
|
|
"input":"‡",
|
|
"output": [["Character", "\u2021"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 MODIFIER LETTER CIRCUMFLEX ACCENT hexadecimal numeric entity.",
|
|
"input":"ˆ",
|
|
"output": [["Character", "\u02C6"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 PER MILLE SIGN hexadecimal numeric entity.",
|
|
"input":"‰",
|
|
"output": [["Character", "\u2030"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN CAPITAL LETTER S WITH CARON hexadecimal numeric entity.",
|
|
"input":"Š",
|
|
"output": [["Character", "\u0160"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 SINGLE LEFT-POINTING ANGLE QUOTATION MARK hexadecimal numeric entity.",
|
|
"input":"‹",
|
|
"output": [["Character", "\u2039"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN CAPITAL LIGATURE OE hexadecimal numeric entity.",
|
|
"input":"Œ",
|
|
"output": [["Character", "\u0152"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR hexadecimal numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u008D"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN CAPITAL LETTER Z WITH CARON hexadecimal numeric entity.",
|
|
"input":"Ž",
|
|
"output": [["Character", "\u017D"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR hexadecimal numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u008F"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR hexadecimal numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u0090"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LEFT SINGLE QUOTATION MARK hexadecimal numeric entity.",
|
|
"input":"‘",
|
|
"output": [["Character", "\u2018"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 RIGHT SINGLE QUOTATION MARK hexadecimal numeric entity.",
|
|
"input":"’",
|
|
"output": [["Character", "\u2019"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LEFT DOUBLE QUOTATION MARK hexadecimal numeric entity.",
|
|
"input":"“",
|
|
"output": [["Character", "\u201C"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 RIGHT DOUBLE QUOTATION MARK hexadecimal numeric entity.",
|
|
"input":"”",
|
|
"output": [["Character", "\u201D"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 BULLET hexadecimal numeric entity.",
|
|
"input":"•",
|
|
"output": [["Character", "\u2022"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 EN DASH hexadecimal numeric entity.",
|
|
"input":"–",
|
|
"output": [["Character", "\u2013"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 EM DASH hexadecimal numeric entity.",
|
|
"input":"—",
|
|
"output": [["Character", "\u2014"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 SMALL TILDE hexadecimal numeric entity.",
|
|
"input":"˜",
|
|
"output": [["Character", "\u02DC"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 TRADE MARK SIGN hexadecimal numeric entity.",
|
|
"input":"™",
|
|
"output": [["Character", "\u2122"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN SMALL LETTER S WITH CARON hexadecimal numeric entity.",
|
|
"input":"š",
|
|
"output": [["Character", "\u0161"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 SINGLE RIGHT-POINTING ANGLE QUOTATION MARK hexadecimal numeric entity.",
|
|
"input":"›",
|
|
"output": [["Character", "\u203A"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN SMALL LIGATURE OE hexadecimal numeric entity.",
|
|
"input":"œ",
|
|
"output": [["Character", "\u0153"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 REPLACEMENT CHAR hexadecimal numeric entity.",
|
|
"input":"",
|
|
"output": [["Character", "\u009D"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN SMALL LETTER Z WITH CARON hexadecimal numeric entity.",
|
|
"input":"ž",
|
|
"output": [["Character", "\u017E"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Windows-1252 LATIN CAPITAL LETTER Y WITH DIAERESIS hexadecimal numeric entity.",
|
|
"input":"Ÿ",
|
|
"output": [["Character", "\u0178"]],
|
|
"errors":[
|
|
{ "code": "control-character-reference", "line": 1, "col": 8 }
|
|
]},
|
|
|
|
{"description": "Decimal numeric entity followed by hex character a.",
|
|
"input":"aa",
|
|
"output": [["Character", "aa"]],
|
|
"errors":[
|
|
{ "code": "missing-semicolon-after-character-reference", "line": 1, "col": 5 }
|
|
]},
|
|
|
|
{"description": "Decimal numeric entity followed by hex character A.",
|
|
"input":"aA",
|
|
"output": [["Character", "aA"]],
|
|
"errors":[
|
|
{ "code": "missing-semicolon-after-character-reference", "line": 1, "col": 5 }
|
|
]},
|
|
|
|
{"description": "Decimal numeric entity followed by hex character f.",
|
|
"input":"af",
|
|
"output": [["Character", "af"]],
|
|
"errors":[
|
|
{ "code": "missing-semicolon-after-character-reference", "line": 1, "col": 5 }
|
|
]},
|
|
|
|
{"description": "Decimal numeric entity followed by hex character A.",
|
|
"input":"aF",
|
|
"output": [["Character", "aF"]],
|
|
"errors":[
|
|
{ "code": "missing-semicolon-after-character-reference", "line": 1, "col": 5 }
|
|
]}
|
|
|
|
]}
|