Files
headphones/html5lib/tests/testdata/tokenizer/xmlViolation.test
Ade b8c5782765 Include html5lib for BeautifulSoup
BeautifulSoup needs lxml or html5, have included html5lib.

Also latest BeautifulSoup 4.1.3
2012-09-06 10:47:07 +12:00

23 lines
518 B
Plaintext

{"xmlViolationTests": [
{"description":"Non-XML character",
"input":"a\uFFFFb",
"ignoreErrorOrder":true,
"output":["ParseError",["Character","a\uFFFDb"]]},
{"description":"Non-XML space",
"input":"a\u000Cb",
"ignoreErrorOrder":true,
"output":[["Character","a b"]]},
{"description":"Double hyphen in comment",
"input":"<!-- foo -- bar -->",
"output":["ParseError",["Comment"," foo - - bar "]]},
{"description":"FF between attributes",
"input":"<a b=''\u000Cc=''>",
"output":[["StartTag","a",{"b":"","c":""}]]}
]}