diff -r 000000000000 -r 6474c204b198 parser/htmlparser/tests/mochitest/html5lib_tree_construction/entities01.dat
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/entities01.dat Wed Dec 31 06:09:35 2014 +0100
@@ -0,0 +1,723 @@
+#data
+FOO>BAR
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOO>BAR"
+
+#data
+FOO>BAR
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,6): named-entity-without-semicolon
+#document
+|
+|
+|
+| "FOO>BAR"
+
+#data
+FOO> BAR
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,6): named-entity-without-semicolon
+#document
+|
+|
+|
+| "FOO> BAR"
+
+#data
+FOO>;;BAR
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOO>;;BAR"
+
+#data
+I'm ¬it; I tell you
+#errors
+(1,4): expected-doctype-but-got-chars
+(1,9): named-entity-without-semicolon
+#document
+|
+|
+|
+| "I'm ¬it; I tell you"
+
+#data
+I'm ∉ I tell you
+#errors
+(1,4): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "I'm ∉ I tell you"
+
+#data
+FOO& BAR
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOO& BAR"
+
+#data
+FOO&
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,9): expected-closing-tag-but-got-eof
+#document
+|
+|
+|
+| "FOO&"
+|
+
+#data
+FOO&&&>BAR
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOO&&&>BAR"
+
+#data
+FOO)BAR
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOO)BAR"
+
+#data
+FOOABAR
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOOABAR"
+
+#data
+FOOABAR
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOOABAR"
+
+#data
+FOOBAR
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,5): expected-numeric-entity
+#document
+|
+|
+|
+| "FOOBAR"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,5): expected-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOºR
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,7): expected-numeric-entity
+#document
+|
+|
+|
+| "FOOºR"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,6): expected-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,6): expected-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOO)BAR
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,7): numeric-entity-without-semicolon
+#document
+|
+|
+|
+| "FOO)BAR"
+
+#data
+FOO䆺R
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,10): numeric-entity-without-semicolon
+#document
+|
+|
+|
+| "FOO䆺R"
+
+#data
+FOOAZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,8): numeric-entity-without-semicolon
+#document
+|
+|
+|
+| "FOOAZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO�ZOO"
+
+#data
+FOOxZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOOxZOO"
+
+#data
+FOOyZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOOyZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO€ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO‚ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOƒZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO„ZOO"
+
+#data
+FOO
ZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO…ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO†ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO‡ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOˆZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO‰ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOŠZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO‹ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOŒZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOŽZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO‘ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO’ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO“ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO”ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO•ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO–ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO—ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO˜ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO™ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOšZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO›ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOœZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOžZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOŸZOO"
+
+#data
+FOO ZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOO ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO�ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO�ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO�ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,11): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO�ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,13): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,13): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOOZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,13): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO�ZOO"
+
+#data
+FOOZOO
+#errors
+(1,3): expected-doctype-but-got-chars
+(1,13): illegal-codepoint-for-numeric-entity
+#document
+|
+|
+|
+| "FOO�ZOO"