44 |
"input":"<z z='&\"'>", |
"input":"<z z='&\"'>", |
45 |
"output":["ParseError", ["StartTag", "z", {"z": "&\""}]]}, |
"output":["ParseError", ["StartTag", "z", {"z": "&\""}]]}, |
46 |
|
|
47 |
|
{"description":"Text after bogus character reference", |
48 |
|
"input":"<z z='&xlink_xmlns;'>bar<z>", |
49 |
|
"output":["ParseError",["StartTag","z",{"z":"&xlink_xmlns;"}],["Character","bar"],["StartTag","z",{}]]}, |
50 |
|
|
51 |
|
{"description":"Text after hex character reference", |
52 |
|
"input":"<z z='  foo'>bar<z>", |
53 |
|
"output":[["StartTag","z",{"z":" foo"}],["Character","bar"],["StartTag","z",{}]]}, |
54 |
|
|
55 |
{"description":"Attribute name starting with \"", |
{"description":"Attribute name starting with \"", |
56 |
"input":"<foo \"='bar'>", |
"input":"<foo \"='bar'>", |
57 |
"output":["ParseError", ["StartTag", "foo", {"\"": "bar"}]]}, |
"output":["ParseError", ["StartTag", "foo", {"\"": "bar"}]]}, |
130 |
|
|
131 |
{"description":"Maximum non-BMP numeric entity", |
{"description":"Maximum non-BMP numeric entity", |
132 |
"input":"", |
"input":"", |
133 |
"output":[["Character", "\uDBFF\uDFFF"]]}, |
"output":["ParseError", ["Character", "\uFFFD"]]}, |
134 |
|
|
135 |
{"description":"Above maximum numeric entity", |
{"description":"Above maximum numeric entity", |
136 |
"input":"�", |
"input":"�", |
284 |
|
|
285 |
{"description":"Doctype publi", |
{"description":"Doctype publi", |
286 |
"input":"<!DOCTYPE html PUBLI", |
"input":"<!DOCTYPE html PUBLI", |
287 |
"output":["ParseError", "ParseError", ["DOCTYPE", "html", null, null, false]]}, |
"output":["ParseError", ["DOCTYPE", "html", null, null, false]]}, |
288 |
|
|
289 |
{"description":"Doctype sistem", |
{"description":"Doctype sistem", |
290 |
"input":"<!DOCTYPE html SISTEM \"AbC\">", |
"input":"<!DOCTYPE html SISTEM \"AbC\">", |
292 |
|
|
293 |
{"description":"Doctype sys", |
{"description":"Doctype sys", |
294 |
"input":"<!DOCTYPE html SYS", |
"input":"<!DOCTYPE html SYS", |
295 |
"output":["ParseError", "ParseError", ["DOCTYPE", "html", null, null, false]]} |
"output":["ParseError", ["DOCTYPE", "html", null, null, false]]} |
296 |
|
|
297 |
]} |
]} |