scriptdata01.dat 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. #data
  2. FOO<script>'Hello'</script>BAR
  3. #errors
  4. (1,3): expected-doctype-but-got-chars
  5. #document
  6. | <html>
  7. | <head>
  8. | <body>
  9. | "FOO"
  10. | <script>
  11. | "'Hello'"
  12. | "BAR"
  13. #data
  14. FOO<script></script>BAR
  15. #errors
  16. (1,3): expected-doctype-but-got-chars
  17. #document
  18. | <html>
  19. | <head>
  20. | <body>
  21. | "FOO"
  22. | <script>
  23. | "BAR"
  24. #data
  25. FOO<script></script >BAR
  26. #errors
  27. (1,3): expected-doctype-but-got-chars
  28. #document
  29. | <html>
  30. | <head>
  31. | <body>
  32. | "FOO"
  33. | <script>
  34. | "BAR"
  35. #data
  36. FOO<script></script/>BAR
  37. #errors
  38. (1,3): expected-doctype-but-got-chars
  39. (1,21): self-closing-flag-on-end-tag
  40. #document
  41. | <html>
  42. | <head>
  43. | <body>
  44. | "FOO"
  45. | <script>
  46. | "BAR"
  47. #data
  48. FOO<script></script/ >BAR
  49. #errors
  50. (1,3): expected-doctype-but-got-chars
  51. (1,20): unexpected-character-after-solidus-in-tag
  52. #document
  53. | <html>
  54. | <head>
  55. | <body>
  56. | "FOO"
  57. | <script>
  58. | "BAR"
  59. #data
  60. FOO<script type="text/plain"></scriptx>BAR
  61. #errors
  62. (1,3): expected-doctype-but-got-chars
  63. (1,42): expected-named-closing-tag-but-got-eof
  64. #document
  65. | <html>
  66. | <head>
  67. | <body>
  68. | "FOO"
  69. | <script>
  70. | type="text/plain"
  71. | "</scriptx>BAR"
  72. #data
  73. FOO<script></script foo=">" dd>BAR
  74. #errors
  75. (1,3): expected-doctype-but-got-chars
  76. (1,31): attributes-in-end-tag
  77. #document
  78. | <html>
  79. | <head>
  80. | <body>
  81. | "FOO"
  82. | <script>
  83. | "BAR"
  84. #data
  85. FOO<script>'<'</script>BAR
  86. #errors
  87. (1,3): expected-doctype-but-got-chars
  88. #document
  89. | <html>
  90. | <head>
  91. | <body>
  92. | "FOO"
  93. | <script>
  94. | "'<'"
  95. | "BAR"
  96. #data
  97. FOO<script>'<!'</script>BAR
  98. #errors
  99. (1,3): expected-doctype-but-got-chars
  100. #document
  101. | <html>
  102. | <head>
  103. | <body>
  104. | "FOO"
  105. | <script>
  106. | "'<!'"
  107. | "BAR"
  108. #data
  109. FOO<script>'<!-'</script>BAR
  110. #errors
  111. (1,3): expected-doctype-but-got-chars
  112. #document
  113. | <html>
  114. | <head>
  115. | <body>
  116. | "FOO"
  117. | <script>
  118. | "'<!-'"
  119. | "BAR"
  120. #data
  121. FOO<script>'<!--'</script>BAR
  122. #errors
  123. (1,3): expected-doctype-but-got-chars
  124. #document
  125. | <html>
  126. | <head>
  127. | <body>
  128. | "FOO"
  129. | <script>
  130. | "'<!--'"
  131. | "BAR"
  132. #data
  133. FOO<script>'<!---'</script>BAR
  134. #errors
  135. (1,3): expected-doctype-but-got-chars
  136. #document
  137. | <html>
  138. | <head>
  139. | <body>
  140. | "FOO"
  141. | <script>
  142. | "'<!---'"
  143. | "BAR"
  144. #data
  145. FOO<script>'<!-->'</script>BAR
  146. #errors
  147. (1,3): expected-doctype-but-got-chars
  148. #document
  149. | <html>
  150. | <head>
  151. | <body>
  152. | "FOO"
  153. | <script>
  154. | "'<!-->'"
  155. | "BAR"
  156. #data
  157. FOO<script>'<!-->'</script>BAR
  158. #errors
  159. (1,3): expected-doctype-but-got-chars
  160. #document
  161. | <html>
  162. | <head>
  163. | <body>
  164. | "FOO"
  165. | <script>
  166. | "'<!-->'"
  167. | "BAR"
  168. #data
  169. FOO<script>'<!-- potato'</script>BAR
  170. #errors
  171. (1,3): expected-doctype-but-got-chars
  172. #document
  173. | <html>
  174. | <head>
  175. | <body>
  176. | "FOO"
  177. | <script>
  178. | "'<!-- potato'"
  179. | "BAR"
  180. #data
  181. FOO<script>'<!-- <sCrIpt'</script>BAR
  182. #errors
  183. (1,3): expected-doctype-but-got-chars
  184. #document
  185. | <html>
  186. | <head>
  187. | <body>
  188. | "FOO"
  189. | <script>
  190. | "'<!-- <sCrIpt'"
  191. | "BAR"
  192. #data
  193. FOO<script type="text/plain">'<!-- <sCrIpt>'</script>BAR
  194. #errors
  195. (1,3): expected-doctype-but-got-chars
  196. (1,56): expected-script-data-but-got-eof
  197. (1,56): expected-named-closing-tag-but-got-eof
  198. #document
  199. | <html>
  200. | <head>
  201. | <body>
  202. | "FOO"
  203. | <script>
  204. | type="text/plain"
  205. | "'<!-- <sCrIpt>'</script>BAR"
  206. #data
  207. FOO<script type="text/plain">'<!-- <sCrIpt> -'</script>BAR
  208. #errors
  209. (1,3): expected-doctype-but-got-chars
  210. (1,58): expected-script-data-but-got-eof
  211. (1,58): expected-named-closing-tag-but-got-eof
  212. #document
  213. | <html>
  214. | <head>
  215. | <body>
  216. | "FOO"
  217. | <script>
  218. | type="text/plain"
  219. | "'<!-- <sCrIpt> -'</script>BAR"
  220. #data
  221. FOO<script type="text/plain">'<!-- <sCrIpt> --'</script>BAR
  222. #errors
  223. (1,3): expected-doctype-but-got-chars
  224. (1,59): expected-script-data-but-got-eof
  225. (1,59): expected-named-closing-tag-but-got-eof
  226. #document
  227. | <html>
  228. | <head>
  229. | <body>
  230. | "FOO"
  231. | <script>
  232. | type="text/plain"
  233. | "'<!-- <sCrIpt> --'</script>BAR"
  234. #data
  235. FOO<script>'<!-- <sCrIpt> -->'</script>BAR
  236. #errors
  237. (1,3): expected-doctype-but-got-chars
  238. #document
  239. | <html>
  240. | <head>
  241. | <body>
  242. | "FOO"
  243. | <script>
  244. | "'<!-- <sCrIpt> -->'"
  245. | "BAR"
  246. #data
  247. FOO<script type="text/plain">'<!-- <sCrIpt> --!>'</script>BAR
  248. #errors
  249. (1,3): expected-doctype-but-got-chars
  250. (1,61): expected-script-data-but-got-eof
  251. (1,61): expected-named-closing-tag-but-got-eof
  252. #document
  253. | <html>
  254. | <head>
  255. | <body>
  256. | "FOO"
  257. | <script>
  258. | type="text/plain"
  259. | "'<!-- <sCrIpt> --!>'</script>BAR"
  260. #data
  261. FOO<script type="text/plain">'<!-- <sCrIpt> -- >'</script>BAR
  262. #errors
  263. (1,3): expected-doctype-but-got-chars
  264. (1,61): expected-script-data-but-got-eof
  265. (1,61): expected-named-closing-tag-but-got-eof
  266. #document
  267. | <html>
  268. | <head>
  269. | <body>
  270. | "FOO"
  271. | <script>
  272. | type="text/plain"
  273. | "'<!-- <sCrIpt> -- >'</script>BAR"
  274. #data
  275. FOO<script type="text/plain">'<!-- <sCrIpt '</script>BAR
  276. #errors
  277. (1,3): expected-doctype-but-got-chars
  278. (1,56): expected-script-data-but-got-eof
  279. (1,56): expected-named-closing-tag-but-got-eof
  280. #document
  281. | <html>
  282. | <head>
  283. | <body>
  284. | "FOO"
  285. | <script>
  286. | type="text/plain"
  287. | "'<!-- <sCrIpt '</script>BAR"
  288. #data
  289. FOO<script type="text/plain">'<!-- <sCrIpt/'</script>BAR
  290. #errors
  291. (1,3): expected-doctype-but-got-chars
  292. (1,56): expected-script-data-but-got-eof
  293. (1,56): expected-named-closing-tag-but-got-eof
  294. #document
  295. | <html>
  296. | <head>
  297. | <body>
  298. | "FOO"
  299. | <script>
  300. | type="text/plain"
  301. | "'<!-- <sCrIpt/'</script>BAR"
  302. #data
  303. FOO<script type="text/plain">'<!-- <sCrIpt\'</script>BAR
  304. #errors
  305. (1,3): expected-doctype-but-got-chars
  306. #document
  307. | <html>
  308. | <head>
  309. | <body>
  310. | "FOO"
  311. | <script>
  312. | type="text/plain"
  313. | "'<!-- <sCrIpt\'"
  314. | "BAR"
  315. #data
  316. FOO<script type="text/plain">'<!-- <sCrIpt/'</script>BAR</script>QUX
  317. #errors
  318. (1,3): expected-doctype-but-got-chars
  319. #document
  320. | <html>
  321. | <head>
  322. | <body>
  323. | "FOO"
  324. | <script>
  325. | type="text/plain"
  326. | "'<!-- <sCrIpt/'</script>BAR"
  327. | "QUX"
  328. #data
  329. FOO<script><!--<script>-></script>--></script>QUX
  330. #errors
  331. (1,3): expected-doctype-but-got-chars
  332. #document
  333. | <html>
  334. | <head>
  335. | <body>
  336. | "FOO"
  337. | <script>
  338. | "<!--<script>-></script>-->"
  339. | "QUX"