tests8.dat 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. #data
  2. <div>
  3. <div></div>
  4. </span>x
  5. #errors
  6. (1,5): expected-doctype-but-got-start-tag
  7. (3,7): unexpected-end-tag
  8. (3,8): expected-closing-tag-but-got-eof
  9. #document
  10. | <html>
  11. | <head>
  12. | <body>
  13. | <div>
  14. | "
  15. "
  16. | <div>
  17. | "
  18. x"
  19. #data
  20. <div>x<div></div>
  21. </span>x
  22. #errors
  23. (1,5): expected-doctype-but-got-start-tag
  24. (2,7): unexpected-end-tag
  25. (2,8): expected-closing-tag-but-got-eof
  26. #document
  27. | <html>
  28. | <head>
  29. | <body>
  30. | <div>
  31. | "x"
  32. | <div>
  33. | "
  34. x"
  35. #data
  36. <div>x<div></div>x</span>x
  37. #errors
  38. (1,5): expected-doctype-but-got-start-tag
  39. (1,25): unexpected-end-tag
  40. (1,26): expected-closing-tag-but-got-eof
  41. #document
  42. | <html>
  43. | <head>
  44. | <body>
  45. | <div>
  46. | "x"
  47. | <div>
  48. | "xx"
  49. #data
  50. <div>x<div></div>y</span>z
  51. #errors
  52. (1,5): expected-doctype-but-got-start-tag
  53. (1,25): unexpected-end-tag
  54. (1,26): expected-closing-tag-but-got-eof
  55. #document
  56. | <html>
  57. | <head>
  58. | <body>
  59. | <div>
  60. | "x"
  61. | <div>
  62. | "yz"
  63. #data
  64. <table><div>x<div></div>x</span>x
  65. #errors
  66. (1,7): expected-doctype-but-got-start-tag
  67. (1,12): foster-parenting-start-tag
  68. (1,13): foster-parenting-character
  69. (1,18): foster-parenting-start-tag
  70. (1,24): foster-parenting-end-tag
  71. (1,25): foster-parenting-start-tag
  72. (1,32): foster-parenting-end-tag
  73. (1,32): unexpected-end-tag
  74. (1,33): foster-parenting-character
  75. (1,33): eof-in-table
  76. #document
  77. | <html>
  78. | <head>
  79. | <body>
  80. | <div>
  81. | "x"
  82. | <div>
  83. | "xx"
  84. | <table>
  85. #data
  86. x<table>x
  87. #errors
  88. (1,1): expected-doctype-but-got-chars
  89. (1,9): foster-parenting-character
  90. (1,9): eof-in-table
  91. #document
  92. | <html>
  93. | <head>
  94. | <body>
  95. | "xx"
  96. | <table>
  97. #data
  98. x<table><table>x
  99. #errors
  100. (1,1): expected-doctype-but-got-chars
  101. (1,15): unexpected-start-tag-implies-end-tag
  102. (1,16): foster-parenting-character
  103. (1,16): eof-in-table
  104. #document
  105. | <html>
  106. | <head>
  107. | <body>
  108. | "x"
  109. | <table>
  110. | "x"
  111. | <table>
  112. #data
  113. <b>a<div></div><div></b>y
  114. #errors
  115. (1,3): expected-doctype-but-got-start-tag
  116. (1,24): adoption-agency-1.3
  117. (1,25): expected-closing-tag-but-got-eof
  118. #document
  119. | <html>
  120. | <head>
  121. | <body>
  122. | <b>
  123. | "a"
  124. | <div>
  125. | <div>
  126. | <b>
  127. | "y"
  128. #data
  129. <a><div><p></a>
  130. #errors
  131. (1,3): expected-doctype-but-got-start-tag
  132. (1,15): adoption-agency-1.3
  133. (1,15): adoption-agency-1.3
  134. (1,15): expected-closing-tag-but-got-eof
  135. #document
  136. | <html>
  137. | <head>
  138. | <body>
  139. | <a>
  140. | <div>
  141. | <a>
  142. | <p>
  143. | <a>