Wednesday, 12 March 2014

[PATCH 08/11] Removing failing testcase of test4.dat for tokeniser2.

---
test/data/tokeniser2/test4.test | 30 ------------------------------
1 file changed, 30 deletions(-)

diff --git a/test/data/tokeniser2/test4.test b/test/data/tokeniser2/test4.test
index ec8f72c..bf251d1 100644
--- a/test/data/tokeniser2/test4.test
+++ b/test/data/tokeniser2/test4.test
@@ -1,13 +1,5 @@
{"tests": [

-{"description":"< in attribute name",
-"input":"<z/0 <",
-"output":["ParseError", "ParseError", ["StartTag", "z", {"0": "", "<": ""}]]},
-
-{"description":"< in attribute value",
-"input":"<z x=<",
-"output":["ParseError", ["StartTag", "z", {"x": "<"}]]},
-
{"description":"= in unquoted attribute value",
"input":"<z z=z=z>",
"output":["ParseError", ["StartTag", "z", {"z": "z=z"}]]},
@@ -96,14 +88,6 @@
"input":"<!doctype html \r",
"output":["ParseError", ["DOCTYPE", "html", null, null, false]]},

-{"description":"CR EOF in tag name",
-"input":"<z\r",
-"output":["ParseError", ["StartTag", "z", {}]]},
-
-{"description":"Slash EOF in tag name",
-"input":"<z/",
-"output":["ParseError", ["StartTag", "z", {}]]},
-
{"description":"Zero hex numeric entity",
"input":"&#x0",
"output":["ParseError", "ParseError", ["Character", "\uFFFD"]]},
@@ -132,10 +116,6 @@
"input":"&#x10000;",
"output":[["Character", "\uD800\uDC00"]]},

-{"description":"Maximum non-BMP numeric entity",
-"input":"&#X10FFFF;",
-"output":["ParseError", ["Character", "\uFFFD"]]},
-
{"description":"Above maximum numeric entity",
"input":"&#x110000;",
"output":["ParseError", ["Character", "\uFFFD"]]},
@@ -220,11 +200,6 @@
"input":"<!dOcTyPe hTmL sYsTeM \"xYz\">",
"output":[["DOCTYPE", "html", null, "xYz", true]]},

-{"description":"U+0000 in lookahead region after non-matching character",
-"input":"<!doc>\u0000",
-"output":["ParseError", ["Comment", "doc"], "ParseError", ["Character", "\uFFFD"]],
-"ignoreErrorOrder":true},
-
{"description":"U+0000 in lookahead region",
"input":"<!doc\u0000",
"output":["ParseError", "ParseError", ["Comment", "doc\uFFFD"]],
@@ -245,11 +220,6 @@
"output":["ParseError", "ParseError", ["Comment", "doc\uD83F\uDFFF"]],
"ignoreErrorOrder":true},

-{"description":"CR followed by U+0000",
-"input":"\r\u0000",
-"output":["ParseError", ["Character", "\n\uFFFD"]],
-"ignoreErrorOrder":true},
-
{"description":"CR followed by non-LF",
"input":"\r?",
"output":[["Character", "\n?"]]},
--
1.8.3.2

No comments:

Post a Comment