doctype01.dat 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. #data
  2. <!DOCTYPE html>Hello
  3. #errors
  4. #document
  5. | <!DOCTYPE html>
  6. | <html>
  7. | <head>
  8. | <body>
  9. | "Hello"
  10. #data
  11. <!dOctYpE HtMl>Hello
  12. #errors
  13. #document
  14. | <!DOCTYPE html>
  15. | <html>
  16. | <head>
  17. | <body>
  18. | "Hello"
  19. #data
  20. <!DOCTYPEhtml>Hello
  21. #errors
  22. (1,9): need-space-after-doctype
  23. #document
  24. | <!DOCTYPE html>
  25. | <html>
  26. | <head>
  27. | <body>
  28. | "Hello"
  29. #data
  30. <!DOCTYPE>Hello
  31. #errors
  32. (1,9): need-space-after-doctype
  33. (1,10): expected-doctype-name-but-got-right-bracket
  34. (1,10): unknown-doctype
  35. #document
  36. | <!DOCTYPE >
  37. | <html>
  38. | <head>
  39. | <body>
  40. | "Hello"
  41. #data
  42. <!DOCTYPE >Hello
  43. #errors
  44. (1,11): expected-doctype-name-but-got-right-bracket
  45. (1,11): unknown-doctype
  46. #document
  47. | <!DOCTYPE >
  48. | <html>
  49. | <head>
  50. | <body>
  51. | "Hello"
  52. #data
  53. <!DOCTYPE potato>Hello
  54. #errors
  55. (1,17): unknown-doctype
  56. #document
  57. | <!DOCTYPE potato>
  58. | <html>
  59. | <head>
  60. | <body>
  61. | "Hello"
  62. #data
  63. <!DOCTYPE potato >Hello
  64. #errors
  65. (1,18): unknown-doctype
  66. #document
  67. | <!DOCTYPE potato>
  68. | <html>
  69. | <head>
  70. | <body>
  71. | "Hello"
  72. #data
  73. <!DOCTYPE potato taco>Hello
  74. #errors
  75. (1,17): expected-space-or-right-bracket-in-doctype
  76. (1,22): unknown-doctype
  77. #document
  78. | <!DOCTYPE potato>
  79. | <html>
  80. | <head>
  81. | <body>
  82. | "Hello"
  83. #data
  84. <!DOCTYPE potato taco "ddd>Hello
  85. #errors
  86. (1,17): expected-space-or-right-bracket-in-doctype
  87. (1,27): unknown-doctype
  88. #document
  89. | <!DOCTYPE potato>
  90. | <html>
  91. | <head>
  92. | <body>
  93. | "Hello"
  94. #data
  95. <!DOCTYPE potato sYstEM>Hello
  96. #errors
  97. (1,24): unexpected-char-in-doctype
  98. (1,24): unknown-doctype
  99. #document
  100. | <!DOCTYPE potato>
  101. | <html>
  102. | <head>
  103. | <body>
  104. | "Hello"
  105. #data
  106. <!DOCTYPE potato sYstEM >Hello
  107. #errors
  108. (1,28): unexpected-char-in-doctype
  109. (1,28): unknown-doctype
  110. #document
  111. | <!DOCTYPE potato>
  112. | <html>
  113. | <head>
  114. | <body>
  115. | "Hello"
  116. #data
  117. <!DOCTYPE potato sYstEM ggg>Hello
  118. #errors
  119. (1,34): unexpected-char-in-doctype
  120. (1,37): unknown-doctype
  121. #document
  122. | <!DOCTYPE potato>
  123. | <html>
  124. | <head>
  125. | <body>
  126. | "Hello"
  127. #data
  128. <!DOCTYPE potato SYSTEM taco >Hello
  129. #errors
  130. (1,25): unexpected-char-in-doctype
  131. (1,31): unknown-doctype
  132. #document
  133. | <!DOCTYPE potato>
  134. | <html>
  135. | <head>
  136. | <body>
  137. | "Hello"
  138. #data
  139. <!DOCTYPE potato SYSTEM 'taco"'>Hello
  140. #errors
  141. (1,32): unknown-doctype
  142. #document
  143. | <!DOCTYPE potato "" "taco"">
  144. | <html>
  145. | <head>
  146. | <body>
  147. | "Hello"
  148. #data
  149. <!DOCTYPE potato SYSTEM "taco">Hello
  150. #errors
  151. (1,31): unknown-doctype
  152. #document
  153. | <!DOCTYPE potato "" "taco">
  154. | <html>
  155. | <head>
  156. | <body>
  157. | "Hello"
  158. #data
  159. <!DOCTYPE potato SYSTEM "tai'co">Hello
  160. #errors
  161. (1,33): unknown-doctype
  162. #document
  163. | <!DOCTYPE potato "" "tai'co">
  164. | <html>
  165. | <head>
  166. | <body>
  167. | "Hello"
  168. #data
  169. <!DOCTYPE potato SYSTEMtaco "ddd">Hello
  170. #errors
  171. (1,24): unexpected-char-in-doctype
  172. (1,34): unknown-doctype
  173. #document
  174. | <!DOCTYPE potato>
  175. | <html>
  176. | <head>
  177. | <body>
  178. | "Hello"
  179. #data
  180. <!DOCTYPE potato grass SYSTEM taco>Hello
  181. #errors
  182. (1,17): expected-space-or-right-bracket-in-doctype
  183. (1,35): unknown-doctype
  184. #document
  185. | <!DOCTYPE potato>
  186. | <html>
  187. | <head>
  188. | <body>
  189. | "Hello"
  190. #data
  191. <!DOCTYPE potato pUbLIc>Hello
  192. #errors
  193. (1,24): unexpected-end-of-doctype
  194. (1,24): unknown-doctype
  195. #document
  196. | <!DOCTYPE potato>
  197. | <html>
  198. | <head>
  199. | <body>
  200. | "Hello"
  201. #data
  202. <!DOCTYPE potato pUbLIc >Hello
  203. #errors
  204. (1,25): unexpected-end-of-doctype
  205. (1,25): unknown-doctype
  206. #document
  207. | <!DOCTYPE potato>
  208. | <html>
  209. | <head>
  210. | <body>
  211. | "Hello"
  212. #data
  213. <!DOCTYPE potato pUbLIcgoof>Hello
  214. #errors
  215. (1,24): unexpected-char-in-doctype
  216. (1,28): unknown-doctype
  217. #document
  218. | <!DOCTYPE potato>
  219. | <html>
  220. | <head>
  221. | <body>
  222. | "Hello"
  223. #data
  224. <!DOCTYPE potato PUBLIC goof>Hello
  225. #errors
  226. (1,25): unexpected-char-in-doctype
  227. (1,29): unknown-doctype
  228. #document
  229. | <!DOCTYPE potato>
  230. | <html>
  231. | <head>
  232. | <body>
  233. | "Hello"
  234. #data
  235. <!DOCTYPE potato PUBLIC "go'of">Hello
  236. #errors
  237. (1,32): unknown-doctype
  238. #document
  239. | <!DOCTYPE potato "go'of" "">
  240. | <html>
  241. | <head>
  242. | <body>
  243. | "Hello"
  244. #data
  245. <!DOCTYPE potato PUBLIC 'go'of'>Hello
  246. #errors
  247. (1,29): unexpected-char-in-doctype
  248. (1,32): unknown-doctype
  249. #document
  250. | <!DOCTYPE potato "go" "">
  251. | <html>
  252. | <head>
  253. | <body>
  254. | "Hello"
  255. #data
  256. <!DOCTYPE potato PUBLIC 'go:hh of' >Hello
  257. #errors
  258. (1,38): unknown-doctype
  259. #document
  260. | <!DOCTYPE potato "go:hh of" "">
  261. | <html>
  262. | <head>
  263. | <body>
  264. | "Hello"
  265. #data
  266. <!DOCTYPE potato PUBLIC "W3C-//dfdf" SYSTEM ggg>Hello
  267. #errors
  268. (1,38): unexpected-char-in-doctype
  269. (1,48): unknown-doctype
  270. #document
  271. | <!DOCTYPE potato "W3C-//dfdf" "">
  272. | <html>
  273. | <head>
  274. | <body>
  275. | "Hello"
  276. #data
  277. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  278. "http://www.w3.org/TR/html4/strict.dtd">Hello
  279. #errors
  280. #document
  281. | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  282. | <html>
  283. | <head>
  284. | <body>
  285. | "Hello"
  286. #data
  287. <!DOCTYPE ...>Hello
  288. #errors
  289. (1,14): unknown-doctype
  290. #document
  291. | <!DOCTYPE ...>
  292. | <html>
  293. | <head>
  294. | <body>
  295. | "Hello"
  296. #data
  297. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  298. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  299. #errors
  300. (2,58): unknown-doctype
  301. #document
  302. | <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  303. | <html>
  304. | <head>
  305. | <body>
  306. #data
  307. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  308. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  309. #errors
  310. (2,54): unknown-doctype
  311. #document
  312. | <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  313. | <html>
  314. | <head>
  315. | <body>
  316. #data
  317. <!DOCTYPE root-element [SYSTEM OR PUBLIC FPI] "uri" [
  318. <!-- internal declarations -->
  319. ]>
  320. #errors
  321. (1,23): expected-space-or-right-bracket-in-doctype
  322. (2,30): unknown-doctype
  323. #document
  324. | <!DOCTYPE root-element>
  325. | <html>
  326. | <head>
  327. | <body>
  328. | "]>"
  329. #data
  330. <!DOCTYPE html PUBLIC
  331. "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
  332. "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
  333. #errors
  334. (3,53): unknown-doctype
  335. #document
  336. | <!DOCTYPE html "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
  337. | <html>
  338. | <head>
  339. | <body>
  340. #data
  341. <!DOCTYPE HTML SYSTEM "http://www.w3.org/DTD/HTML4-strict.dtd"><body><b>Mine!</b></body>
  342. #errors
  343. (1,63): unknown-doctype
  344. #document
  345. | <!DOCTYPE html "" "http://www.w3.org/DTD/HTML4-strict.dtd">
  346. | <html>
  347. | <head>
  348. | <body>
  349. | <b>
  350. | "Mine!"
  351. #data
  352. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
  353. #errors
  354. (1,50): unexpected-char-in-doctype
  355. #document
  356. | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  357. | <html>
  358. | <head>
  359. | <body>
  360. #data
  361. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"'http://www.w3.org/TR/html4/strict.dtd'>
  362. #errors
  363. (1,50): unexpected-char-in-doctype
  364. #document
  365. | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  366. | <html>
  367. | <head>
  368. | <body>
  369. #data
  370. <!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.01//EN"'http://www.w3.org/TR/html4/strict.dtd'>
  371. #errors
  372. (1,21): unexpected-char-in-doctype
  373. (1,49): unexpected-char-in-doctype
  374. #document
  375. | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  376. | <html>
  377. | <head>
  378. | <body>
  379. #data
  380. <!DOCTYPE HTML PUBLIC'-//W3C//DTD HTML 4.01//EN''http://www.w3.org/TR/html4/strict.dtd'>
  381. #errors
  382. (1,21): unexpected-char-in-doctype
  383. (1,49): unexpected-char-in-doctype
  384. #document
  385. | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  386. | <html>
  387. | <head>
  388. | <body>