/[suikacvs]/markup/html/whatpm/t/tokenizer/test4.test
Suika

Diff of /markup/html/whatpm/t/tokenizer/test4.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by wakaba, Sun Jun 1 05:42:06 2008 UTC revision 1.6 by wakaba, Sat Oct 4 17:16:02 2008 UTC
# Line 44  Line 44 
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='&#x0020; 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"}]]},
# Line 122  Line 130 
130    
131  {"description":"Maximum non-BMP numeric entity",  {"description":"Maximum non-BMP numeric entity",
132  "input":"&#X10FFFF;",  "input":"&#X10FFFF;",
133  "output":[["Character", "\uDBFF\uDFFF"]]},  "output":["ParseError", ["Character", "\uFFFD"]]},
134    
135  {"description":"Above maximum numeric entity",  {"description":"Above maximum numeric entity",
136  "input":"&#x110000;",  "input":"&#x110000;",
# Line 276  Line 284 
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\">",
# Line 284  Line 292 
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  ]}  ]}

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24