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

Contents of /markup/html/whatpm/t/tokenizer/xmlViolation.test

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Apr 13 06:44:27 2008 UTC (16 years, 6 months ago) by wakaba
Branch: MAIN
++ whatpm/t/ChangeLog	13 Apr 2008 06:43:36 -0000
	* HTML-tokenizer.t, HTML-tree.t, Makefile: Support for html5lib
	new test files.

2008-04-13  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	13 Apr 2008 06:44:17 -0000
	* mkentitylist.pl: Support for new HTML5 entity table format (the
	definition for |AElig;| was missing).

2008-04-13  Wakaba  <wakaba@suika.fam.cx>

1 {"xmlViolationTests": [
2
3 {"description":"Non-XML character",
4 "input":"a\uFFFFb",
5 "ignoreErrorOrder":true,
6 "output":["ParseError",["Character","a\uFFFDb"]]},
7
8 {"description":"Non-XML space",
9 "input":"a\u000Cb",
10 "ignoreErrorOrder":true,
11 "output":[["Character","a b"]]},
12
13 {"description":"Double hyphen in comment",
14 "input":"<!-- foo -- bar -->",
15 "output":["ParseError",["Comment"," foo - - bar "]]},
16
17 {"description":"Colon in attribute name",
18 "input":"a<a b:=''>b",
19 "output":[["Character","a"],["StartTag","a",{}],["Character","b"]]},
20
21 {"description":"FF between attributes",
22 "input":"<a b=''\u000Cc=''>",
23 "output":[["StartTag","a",{"b":"","c":""}]]},
24
25 {"description":"Colon in attribute name",
26 "input":"a<a b:=''>b",
27 "output":[["Character","a"],["StartTag","a",{}],["Character","b"]]},
28
29 {"description":"Colon in tag name",
30 "input":"a<a:>b",
31 "output":[["Character","ab"]]}
32
33 ]}
34
35

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24