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