aboutsummaryrefslogtreecommitdiff
path: root/tests/html5lib-tests/tokenizer/xmlViolation.test
blob: da6159e2ea7418684db258cd9fd7aad48f24af25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{"xmlViolationTests": [

{"description":"Non-XML character",
"input":"a\uFFFFb",
"output":[["Character","a\uFFFDb"]]},

{"description":"Non-XML space",
"input":"a\u000Cb",
"output":[["Character","a b"]]},

{"description":"Double hyphen in comment",
"input":"<!-- foo -- bar -->",
"output":[["Comment"," foo - - bar "]]},

{"description":"FF between attributes",
"input":"<a b=''\u000Cc=''>",
"output":[["StartTag","a",{"b":"","c":""}]]}
]}