golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/html/testdata/webkit/comments01.dat (about) 1 #data 2 FOO<!-- BAR -->BAZ 3 #errors 4 (1,3): expected-doctype-but-got-chars 5 #document 6 | <html> 7 | <head> 8 | <body> 9 | "FOO" 10 | <!-- BAR --> 11 | "BAZ" 12 13 #data 14 FOO<!-- BAR --!>BAZ 15 #errors 16 (1,3): expected-doctype-but-got-chars 17 (1,15): unexpected-bang-after-double-dash-in-comment 18 #new-errors 19 (1:16) incorrectly-closed-comment 20 #document 21 | <html> 22 | <head> 23 | <body> 24 | "FOO" 25 | <!-- BAR --> 26 | "BAZ" 27 28 #data 29 FOO<!-- BAR --! >BAZ 30 #errors 31 (1,3): expected-doctype-but-got-chars 32 #new-errors 33 (1:20) eof-in-comment 34 #document 35 | <html> 36 | <head> 37 | <body> 38 | "FOO" 39 | <!-- BAR --! >BAZ --> 40 41 #data 42 FOO<!-- BAR --! 43 >BAZ 44 #errors 45 (1,3): expected-doctype-but-got-chars 46 #new-errors 47 (1:20) eof-in-comment 48 #document 49 | <html> 50 | <head> 51 | <body> 52 | "FOO" 53 | <!-- BAR --! 54 >BAZ --> 55 56 #data 57 FOO<!-- BAR -- >BAZ 58 #errors 59 (1,3): expected-doctype-but-got-chars 60 (1,15): unexpected-char-in-comment 61 (1,21): eof-in-comment 62 #new-errors 63 (1:22) eof-in-comment 64 #document 65 | <html> 66 | <head> 67 | <body> 68 | "FOO" 69 | <!-- BAR -- >BAZ --> 70 71 #data 72 FOO<!-- BAR -- <QUX> -- MUX -->BAZ 73 #errors 74 (1,3): expected-doctype-but-got-chars 75 (1,15): unexpected-char-in-comment 76 (1,24): unexpected-char-in-comment 77 #document 78 | <html> 79 | <head> 80 | <body> 81 | "FOO" 82 | <!-- BAR -- <QUX> -- MUX --> 83 | "BAZ" 84 85 #data 86 FOO<!-- BAR -- <QUX> -- MUX --!>BAZ 87 #errors 88 (1,3): expected-doctype-but-got-chars 89 (1,15): unexpected-char-in-comment 90 (1,24): unexpected-char-in-comment 91 (1,31): unexpected-bang-after-double-dash-in-comment 92 #new-errors 93 (1:32) incorrectly-closed-comment 94 #document 95 | <html> 96 | <head> 97 | <body> 98 | "FOO" 99 | <!-- BAR -- <QUX> -- MUX --> 100 | "BAZ" 101 102 #data 103 FOO<!-- BAR -- <QUX> -- MUX -- >BAZ 104 #errors 105 (1,3): expected-doctype-but-got-chars 106 (1,15): unexpected-char-in-comment 107 (1,24): unexpected-char-in-comment 108 (1,31): unexpected-char-in-comment 109 (1,35): eof-in-comment 110 #new-errors 111 (1:36) eof-in-comment 112 #document 113 | <html> 114 | <head> 115 | <body> 116 | "FOO" 117 | <!-- BAR -- <QUX> -- MUX -- >BAZ --> 118 119 #data 120 FOO<!---->BAZ 121 #errors 122 (1,3): expected-doctype-but-got-chars 123 #document 124 | <html> 125 | <head> 126 | <body> 127 | "FOO" 128 | <!-- --> 129 | "BAZ" 130 131 #data 132 FOO<!--->BAZ 133 #errors 134 (1,3): expected-doctype-but-got-chars 135 (1,9): incorrect-comment 136 #new-errors 137 (1:9) abrupt-closing-of-empty-comment 138 #document 139 | <html> 140 | <head> 141 | <body> 142 | "FOO" 143 | <!-- --> 144 | "BAZ" 145 146 #data 147 FOO<!-->BAZ 148 #errors 149 (1,3): expected-doctype-but-got-chars 150 (1,8): incorrect-comment 151 #new-errors 152 (1:8) abrupt-closing-of-empty-comment 153 #document 154 | <html> 155 | <head> 156 | <body> 157 | "FOO" 158 | <!-- --> 159 | "BAZ" 160 161 #data 162 <?xml version="1.0">Hi 163 #errors 164 (1,1): expected-tag-name-but-got-question-mark 165 (1,22): expected-doctype-but-got-chars 166 #new-errors 167 (1:2) unexpected-question-mark-instead-of-tag-name 168 #document 169 | <!-- ?xml version="1.0" --> 170 | <html> 171 | <head> 172 | <body> 173 | "Hi" 174 175 #data 176 <?xml version="1.0"> 177 #errors 178 (1,1): expected-tag-name-but-got-question-mark 179 (1,20): expected-doctype-but-got-eof 180 #new-errors 181 (1:2) unexpected-question-mark-instead-of-tag-name 182 #document 183 | <!-- ?xml version="1.0" --> 184 | <html> 185 | <head> 186 | <body> 187 188 #data 189 <?xml version 190 #errors 191 (1,1): expected-tag-name-but-got-question-mark 192 (1,13): expected-doctype-but-got-eof 193 #new-errors 194 (1:2) unexpected-question-mark-instead-of-tag-name 195 #document 196 | <!-- ?xml version --> 197 | <html> 198 | <head> 199 | <body> 200 201 #data 202 FOO<!----->BAZ 203 #errors 204 (1,3): expected-doctype-but-got-chars 205 (1,10): unexpected-dash-after-double-dash-in-comment 206 #document 207 | <html> 208 | <head> 209 | <body> 210 | "FOO" 211 | <!-- - --> 212 | "BAZ" 213 214 #data 215 <html><!-- comment --><title>Comment before head</title> 216 #errors 217 (1,6): expected-doctype-but-got-start-tag 218 #document 219 | <html> 220 | <!-- comment --> 221 | <head> 222 | <title> 223 | "Comment before head" 224 | <body>