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 |
|