tests21.dat 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. #data
  2. <svg><![CDATA[foo]]>
  3. #errors
  4. (1,5): expected-doctype-but-got-start-tag
  5. (1,20): expected-closing-tag-but-got-eof
  6. #document
  7. | <html>
  8. | <head>
  9. | <body>
  10. | <svg svg>
  11. | "foo"
  12. #data
  13. <math><![CDATA[foo]]>
  14. #errors
  15. (1,6): expected-doctype-but-got-start-tag
  16. (1,21): expected-closing-tag-but-got-eof
  17. #document
  18. | <html>
  19. | <head>
  20. | <body>
  21. | <math math>
  22. | "foo"
  23. #data
  24. <div><![CDATA[foo]]>
  25. #errors
  26. (1,5): expected-doctype-but-got-start-tag
  27. (1,7): expected-dashes-or-doctype
  28. (1,20): expected-closing-tag-but-got-eof
  29. #document
  30. | <html>
  31. | <head>
  32. | <body>
  33. | <div>
  34. | <!-- [CDATA[foo]] -->
  35. #data
  36. <svg><![CDATA[foo
  37. #errors
  38. (1,5): expected-doctype-but-got-start-tag
  39. (1,17): expected-closing-tag-but-got-eof
  40. #document
  41. | <html>
  42. | <head>
  43. | <body>
  44. | <svg svg>
  45. | "foo"
  46. #data
  47. <svg><![CDATA[foo
  48. #errors
  49. (1,5): expected-doctype-but-got-start-tag
  50. (1,17): expected-closing-tag-but-got-eof
  51. #document
  52. | <html>
  53. | <head>
  54. | <body>
  55. | <svg svg>
  56. | "foo"
  57. #data
  58. <svg><![CDATA[
  59. #errors
  60. (1,5): expected-doctype-but-got-start-tag
  61. (1,14): expected-closing-tag-but-got-eof
  62. #document
  63. | <html>
  64. | <head>
  65. | <body>
  66. | <svg svg>
  67. #data
  68. <svg><![CDATA[]]>
  69. #errors
  70. (1,5): expected-doctype-but-got-start-tag
  71. (1,17): expected-closing-tag-but-got-eof
  72. #document
  73. | <html>
  74. | <head>
  75. | <body>
  76. | <svg svg>
  77. #data
  78. <svg><![CDATA[]] >]]>
  79. #errors
  80. (1,5): expected-doctype-but-got-start-tag
  81. (1,21): expected-closing-tag-but-got-eof
  82. #document
  83. | <html>
  84. | <head>
  85. | <body>
  86. | <svg svg>
  87. | "]] >"
  88. #data
  89. <svg><![CDATA[]] >]]>
  90. #errors
  91. (1,5): expected-doctype-but-got-start-tag
  92. (1,21): expected-closing-tag-but-got-eof
  93. #document
  94. | <html>
  95. | <head>
  96. | <body>
  97. | <svg svg>
  98. | "]] >"
  99. #data
  100. <svg><![CDATA[]]
  101. #errors
  102. (1,5): expected-doctype-but-got-start-tag
  103. (1,16): expected-closing-tag-but-got-eof
  104. #document
  105. | <html>
  106. | <head>
  107. | <body>
  108. | <svg svg>
  109. | "]]"
  110. #data
  111. <svg><![CDATA[]
  112. #errors
  113. (1,5): expected-doctype-but-got-start-tag
  114. (1,15): expected-closing-tag-but-got-eof
  115. #document
  116. | <html>
  117. | <head>
  118. | <body>
  119. | <svg svg>
  120. | "]"
  121. #data
  122. <svg><![CDATA[]>a
  123. #errors
  124. (1,5): expected-doctype-but-got-start-tag
  125. (1,17): expected-closing-tag-but-got-eof
  126. #document
  127. | <html>
  128. | <head>
  129. | <body>
  130. | <svg svg>
  131. | "]>a"
  132. #data
  133. <!DOCTYPE html><svg><![CDATA[foo]]]>
  134. #errors
  135. (1,36): expected-closing-tag-but-got-eof
  136. #document
  137. | <!DOCTYPE html>
  138. | <html>
  139. | <head>
  140. | <body>
  141. | <svg svg>
  142. | "foo]"
  143. #data
  144. <!DOCTYPE html><svg><![CDATA[foo]]]]>
  145. #errors
  146. (1,37): expected-closing-tag-but-got-eof
  147. #document
  148. | <!DOCTYPE html>
  149. | <html>
  150. | <head>
  151. | <body>
  152. | <svg svg>
  153. | "foo]]"
  154. #data
  155. <!DOCTYPE html><svg><![CDATA[foo]]]]]>
  156. #errors
  157. (1,38): expected-closing-tag-but-got-eof
  158. #document
  159. | <!DOCTYPE html>
  160. | <html>
  161. | <head>
  162. | <body>
  163. | <svg svg>
  164. | "foo]]]"
  165. #data
  166. <svg><foreignObject><div><![CDATA[foo]]>
  167. #errors
  168. (1,5): expected-doctype-but-got-start-tag
  169. (1,27): expected-dashes-or-doctype
  170. (1,40): expected-closing-tag-but-got-eof
  171. #document
  172. | <html>
  173. | <head>
  174. | <body>
  175. | <svg svg>
  176. | <svg foreignObject>
  177. | <div>
  178. | <!-- [CDATA[foo]] -->
  179. #data
  180. <svg><![CDATA[<svg>]]>
  181. #errors
  182. (1,5): expected-doctype-but-got-start-tag
  183. (1,22): expected-closing-tag-but-got-eof
  184. #document
  185. | <html>
  186. | <head>
  187. | <body>
  188. | <svg svg>
  189. | "<svg>"
  190. #data
  191. <svg><![CDATA[</svg>a]]>
  192. #errors
  193. (1,5): expected-doctype-but-got-start-tag
  194. (1,24): expected-closing-tag-but-got-eof
  195. #document
  196. | <html>
  197. | <head>
  198. | <body>
  199. | <svg svg>
  200. | "</svg>a"
  201. #data
  202. <svg><![CDATA[<svg>a
  203. #errors
  204. (1,5): expected-doctype-but-got-start-tag
  205. (1,20): expected-closing-tag-but-got-eof
  206. #document
  207. | <html>
  208. | <head>
  209. | <body>
  210. | <svg svg>
  211. | "<svg>a"
  212. #data
  213. <svg><![CDATA[</svg>a
  214. #errors
  215. (1,5): expected-doctype-but-got-start-tag
  216. (1,21): expected-closing-tag-but-got-eof
  217. #document
  218. | <html>
  219. | <head>
  220. | <body>
  221. | <svg svg>
  222. | "</svg>a"
  223. #data
  224. <svg><![CDATA[<svg>]]><path>
  225. #errors
  226. (1,5): expected-doctype-but-got-start-tag
  227. (1,28): expected-closing-tag-but-got-eof
  228. #document
  229. | <html>
  230. | <head>
  231. | <body>
  232. | <svg svg>
  233. | "<svg>"
  234. | <svg path>
  235. #data
  236. <svg><![CDATA[<svg>]]></path>
  237. #errors
  238. (1,5): expected-doctype-but-got-start-tag
  239. (1,29): unexpected-end-tag
  240. (1,29): unexpected-end-tag
  241. (1,29): expected-closing-tag-but-got-eof
  242. #document
  243. | <html>
  244. | <head>
  245. | <body>
  246. | <svg svg>
  247. | "<svg>"
  248. #data
  249. <svg><![CDATA[<svg>]]><!--path-->
  250. #errors
  251. (1,5): expected-doctype-but-got-start-tag
  252. (1,33): expected-closing-tag-but-got-eof
  253. #document
  254. | <html>
  255. | <head>
  256. | <body>
  257. | <svg svg>
  258. | "<svg>"
  259. | <!-- path -->
  260. #data
  261. <svg><![CDATA[<svg>]]>path
  262. #errors
  263. (1,5): expected-doctype-but-got-start-tag
  264. (1,26): expected-closing-tag-but-got-eof
  265. #document
  266. | <html>
  267. | <head>
  268. | <body>
  269. | <svg svg>
  270. | "<svg>path"
  271. #data
  272. <svg><![CDATA[<!--svg-->]]>
  273. #errors
  274. (1,5): expected-doctype-but-got-start-tag
  275. (1,27): expected-closing-tag-but-got-eof
  276. #document
  277. | <html>
  278. | <head>
  279. | <body>
  280. | <svg svg>
  281. | "<!--svg-->"