tests15.dat 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. #data
  2. <!DOCTYPE html><p><b><i><u></p> <p>X
  3. #errors
  4. Line: 1 Col: 31 Unexpected end tag (p). Ignored.
  5. Line: 1 Col: 36 Expected closing tag. Unexpected end of file.
  6. #document
  7. | <!DOCTYPE html>
  8. | <html>
  9. | <head>
  10. | <body>
  11. | <p>
  12. | <b>
  13. | <i>
  14. | <u>
  15. | <b>
  16. | <i>
  17. | <u>
  18. | " "
  19. | <p>
  20. | "X"
  21. #data
  22. <p><b><i><u></p>
  23. <p>X
  24. #errors
  25. Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE.
  26. Line: 1 Col: 16 Unexpected end tag (p). Ignored.
  27. Line: 2 Col: 4 Expected closing tag. Unexpected end of file.
  28. #document
  29. | <html>
  30. | <head>
  31. | <body>
  32. | <p>
  33. | <b>
  34. | <i>
  35. | <u>
  36. | <b>
  37. | <i>
  38. | <u>
  39. | "
  40. "
  41. | <p>
  42. | "X"
  43. #data
  44. <!doctype html></html> <head>
  45. #errors
  46. Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element.
  47. #document
  48. | <!DOCTYPE html>
  49. | <html>
  50. | <head>
  51. | <body>
  52. | " "
  53. #data
  54. <!doctype html></body><meta>
  55. #errors
  56. Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element.
  57. #document
  58. | <!DOCTYPE html>
  59. | <html>
  60. | <head>
  61. | <body>
  62. | <meta>
  63. #data
  64. <html></html><!-- foo -->
  65. #errors
  66. Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
  67. Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element.
  68. #document
  69. | <html>
  70. | <head>
  71. | <body>
  72. | <!-- foo -->
  73. #data
  74. <!doctype html></body><title>X</title>
  75. #errors
  76. Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element.
  77. #document
  78. | <!DOCTYPE html>
  79. | <html>
  80. | <head>
  81. | <body>
  82. | <title>
  83. | "X"
  84. #data
  85. <!doctype html><table> X<meta></table>
  86. #errors
  87. Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode.
  88. Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode.
  89. #document
  90. | <!DOCTYPE html>
  91. | <html>
  92. | <head>
  93. | <body>
  94. | " X"
  95. | <meta>
  96. | <table>
  97. #data
  98. <!doctype html><table> x</table>
  99. #errors
  100. Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode.
  101. #document
  102. | <!DOCTYPE html>
  103. | <html>
  104. | <head>
  105. | <body>
  106. | " x"
  107. | <table>
  108. #data
  109. <!doctype html><table> x </table>
  110. #errors
  111. Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo mode.
  112. #document
  113. | <!DOCTYPE html>
  114. | <html>
  115. | <head>
  116. | <body>
  117. | " x "
  118. | <table>
  119. #data
  120. <!doctype html><table><tr> x</table>
  121. #errors
  122. Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo mode.
  123. #document
  124. | <!DOCTYPE html>
  125. | <html>
  126. | <head>
  127. | <body>
  128. | " x"
  129. | <table>
  130. | <tbody>
  131. | <tr>
  132. #data
  133. <!doctype html><table>X<style> <tr>x </style> </table>
  134. #errors
  135. Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode.
  136. #document
  137. | <!DOCTYPE html>
  138. | <html>
  139. | <head>
  140. | <body>
  141. | "X"
  142. | <table>
  143. | <style>
  144. | " <tr>x "
  145. | " "
  146. #data
  147. <!doctype html><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div>
  148. #errors
  149. Line: 1 Col: 30 Unexpected start tag (a) in table context caused voodoo mode.
  150. Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode.
  151. #document
  152. | <!DOCTYPE html>
  153. | <html>
  154. | <head>
  155. | <body>
  156. | <div>
  157. | <a>
  158. | "foo"
  159. | <table>
  160. | " "
  161. | <tbody>
  162. | <tr>
  163. | <td>
  164. | "bar"
  165. | " "
  166. #data
  167. <frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes>
  168. #errors
  169. 6: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.
  170. 13: Stray start tag “frame”.
  171. 21: Stray end tag “frame”.
  172. 29: Stray end tag “frame”.
  173. 39: “frameset” start tag after “body” already open.
  174. 105: End of file seen inside an [R]CDATA element.
  175. 105: End of file seen and there were open elements.
  176. XXX: These errors are wrong, please fix me!
  177. #document
  178. | <html>
  179. | <head>
  180. | <frameset>
  181. | <frame>
  182. | <frameset>
  183. | <frame>
  184. | <noframes>
  185. | "</frameset><noframes>"
  186. #data
  187. <!DOCTYPE html><object></html>
  188. #errors
  189. 1: Expected closing tag. Unexpected end of file
  190. #document
  191. | <!DOCTYPE html>
  192. | <html>
  193. | <head>
  194. | <body>
  195. | <object>