From 707841cf7eb459ce51c79747dc8b2c4ce8c491db Mon Sep 17 00:00:00 2001 From: Geoffrey Sneddon Date: Sun, 29 May 2016 04:55:53 +0100 Subject: [PATCH 1/2] Add a bunch more tests for annotation-xml --- tree-construction/tests20.dat | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/tree-construction/tests20.dat b/tree-construction/tests20.dat index 52c5acdc..b4ff8c4e 100644 --- a/tree-construction/tests20.dat +++ b/tree-construction/tests20.dat @@ -514,3 +514,57 @@ | | encoding=" text/html " |
+ +#data + +#errors +#document +| +| +| +| +| +| " " + +#data +c +#errors +#document +| +| +| +| +| +| "c" + +#data + +#errors +#document +| +| +| +| +| +| + +#data + +#errors +#document +| +| +| +| +| + +#data + +#errors +#document +| +| +| +| +| +| From 288232d53a914b2e617b5abd6d3eb08322aa61a0 Mon Sep 17 00:00:00 2001 From: Geoffrey Sneddon Date: Wed, 6 Jul 2016 19:14:26 +0100 Subject: [PATCH 2/2] fixup! Add a bunch more tests for annotation-xml --- tree-construction/tests20.dat | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/tree-construction/tests20.dat b/tree-construction/tests20.dat index b4ff8c4e..12f391eb 100644 --- a/tree-construction/tests20.dat +++ b/tree-construction/tests20.dat @@ -518,6 +518,8 @@ #data #errors +(1,6): expected-doctype-but-got-start-tag +(1,40): expected-closing-tag-but-got-eof #document | | @@ -529,6 +531,8 @@ #data c #errors +(1,6): expected-doctype-but-got-start-tag +(1,40): expected-closing-tag-but-got-eof #document | | @@ -540,6 +544,8 @@ #data #errors +(1,6): expected-doctype-but-got-start-tag +(1,32): expected-closing-tag-but-got-eof #document | | @@ -549,18 +555,24 @@ | #data - +x #errors +(1,6): expected-doctype-but-got-start-tag +(1,28): unexpected-end-tag +(1,29): expected-closing-tag-but-got-eof #document | | | | | +| "x" #data - +x #errors +(1,6): expected-doctype-but-got-start-tag +(1,28): expected-closing-tag-but-got-eof #document | | @@ -568,3 +580,4 @@ | | | +| "x"