Parent Directory | Revision Log
++ whatpm/t/ChangeLog 13 May 2007 05:35:20 -0000 2007-05-13 Wakaba <wakaba@suika.fam.cx> * content-model-1.dat: New test data. * ContentChecker.t: New test. ++ whatpm/Whatpm/ChangeLog 13 May 2007 05:34:38 -0000 2007-05-13 Wakaba <wakaba@suika.fam.cx> * ContentChecker.pm ($AnyChecker): Renamed from |$ElementDefault->{checker}|. ($ElementDefault->{checker}): Throw an error that the element type is not supported by the checker. ($HTMLMetadataElement): |html:base| was missing. ($HTMLEmptyChecker): Don't throw an error for inter-element whitespace nodes. (html:html checker): Errors were not thrown even if |html:head| and/or |html:body| children were missing. (html:head checker): An error was not thrown if <meta charset> appered after other elements.
1 | wakaba | 1.1 | #data |
2 | <html></html> | ||
3 | #errors | ||
4 | /html;element not supported | ||
5 | |||
6 | #data | ||
7 | <html xmlns="http://www.w3.org/1999/xhtml"></html> | ||
8 | #errors | ||
9 | /html;child element missing:head | ||
10 | /html;child element missing:body | ||
11 | |||
12 | #data | ||
13 | <html xmlns="http://www.w3.org/1999/xhtml"><head></head></html> | ||
14 | #errors | ||
15 | /html;child element missing:body | ||
16 | /html/head;child element missing:title | ||
17 | |||
18 | #data | ||
19 | <html xmlns="http://www.w3.org/1999/xhtml"><body></body></html> | ||
20 | #errors | ||
21 | /html/body;ps element missing:head | ||
22 | |||
23 | #data | ||
24 | <html xmlns="http://www.w3.org/1999/xhtml"><p></p></html> | ||
25 | #errors | ||
26 | /html/p;element not allowed | ||
27 | /html;child element missing:head | ||
28 | /html;child element missing:body | ||
29 | |||
30 | #data | ||
31 | <html xmlns="http://www.w3.org/1999/xhtml">a</html> | ||
32 | #errors | ||
33 | /html/"a";character not allowed | ||
34 | /html;child element missing:head | ||
35 | /html;child element missing:body | ||
36 | |||
37 | #data | ||
38 | <html xmlns="http://www.w3.org/1999/xhtml"> </html> | ||
39 | #errors | ||
40 | /html;child element missing:head | ||
41 | /html;child element missing:body | ||
42 | |||
43 | #data | ||
44 | <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html> | ||
45 | #errors | ||
46 | /html/head;child element missing:title | ||
47 | |||
48 | #data | ||
49 | <html xmlns="http://www.w3.org/1999/xhtml"><head></head>a<body></body></html> | ||
50 | #errors | ||
51 | /html/head;child element missing:title | ||
52 | /html/"a";character not allowed | ||
53 | |||
54 | #data | ||
55 | <html xmlns="http://www.w3.org/1999/xhtml">a<head></head><body></body></html> | ||
56 | #errors | ||
57 | /html/"a";character not allowed | ||
58 | /html/head;child element missing:title | ||
59 | |||
60 | #data | ||
61 | <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body>a</html> | ||
62 | #errors | ||
63 | /html/head;child element missing:title | ||
64 | /html/"a";character not allowed | ||
65 | |||
66 | #data | ||
67 | <html xmlns="http://www.w3.org/1999/xhtml"> <head></head> <body></body> </html> | ||
68 | #errors | ||
69 | /html/head;child element missing:title | ||
70 | |||
71 | #data | ||
72 | <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body><p></p></html> | ||
73 | #errors | ||
74 | /html/head;child element missing:title | ||
75 | /html/p;element not allowed | ||
76 | |||
77 | #data | ||
78 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
79 | <base href="http://www.w3.org/"/> | ||
80 | </head> | ||
81 | #errors | ||
82 | /head;child element missing:title | ||
83 | |||
84 | #data | ||
85 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
86 | <command/> | ||
87 | </head> | ||
88 | #errors | ||
89 | /head;child element missing:title | ||
90 | |||
91 | #data | ||
92 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
93 | <event-source/> | ||
94 | </head> | ||
95 | #errors | ||
96 | /head;child element missing:title | ||
97 | |||
98 | #data | ||
99 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
100 | <link/> | ||
101 | </head> | ||
102 | #errors | ||
103 | /head;child element missing:title | ||
104 | |||
105 | #data | ||
106 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
107 | <meta charset="us-ascii"/> | ||
108 | </head> | ||
109 | #errors | ||
110 | /head;child element missing:title | ||
111 | |||
112 | #data | ||
113 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
114 | <meta name="keywords" content="html5"/> | ||
115 | </head> | ||
116 | #errors | ||
117 | /head;child element missing:title | ||
118 | |||
119 | #data | ||
120 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
121 | <script type="text/javascript"/> | ||
122 | </head> | ||
123 | #errors | ||
124 | /head;child element missing:title | ||
125 | |||
126 | #data | ||
127 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
128 | <style type="text/css"/> | ||
129 | </head> | ||
130 | #errors | ||
131 | /head;child element missing:title | ||
132 | |||
133 | #data | ||
134 | <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title></head><body></body></html> | ||
135 | #errors | ||
136 | |||
137 | #data | ||
138 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
139 | <base href="http://www.w3.org/"/> | ||
140 | <title/> | ||
141 | </head> | ||
142 | #errors | ||
143 | |||
144 | #data | ||
145 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
146 | <title/> | ||
147 | <base href="http://www.w3.org/"/> | ||
148 | </head> | ||
149 | #errors | ||
150 | /head/base;element not allowed | ||
151 | |||
152 | #data | ||
153 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
154 | <command/> | ||
155 | <title/> | ||
156 | </head> | ||
157 | #errors | ||
158 | |||
159 | #data | ||
160 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
161 | <title/> | ||
162 | <command/> | ||
163 | </head> | ||
164 | #errors | ||
165 | |||
166 | #data | ||
167 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
168 | <event-source/> | ||
169 | <title/> | ||
170 | </head> | ||
171 | #errors | ||
172 | |||
173 | #data | ||
174 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
175 | <title/> | ||
176 | <event-source/> | ||
177 | </head> | ||
178 | #errors | ||
179 | |||
180 | #data | ||
181 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
182 | <link/> | ||
183 | <title/> | ||
184 | </head> | ||
185 | #errors | ||
186 | |||
187 | #data | ||
188 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
189 | <title/> | ||
190 | <link/> | ||
191 | </head> | ||
192 | #errors | ||
193 | |||
194 | #data | ||
195 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
196 | <meta charset="us-ascii"/> | ||
197 | <title/> | ||
198 | </head> | ||
199 | #errors | ||
200 | |||
201 | #data | ||
202 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
203 | <title/> | ||
204 | <meta charset="us-ascii"/> | ||
205 | </head> | ||
206 | #errors | ||
207 | /head/meta;element not allowed | ||
208 | |||
209 | #data | ||
210 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
211 | <meta name="keywords" content="html5"/> | ||
212 | <title/> | ||
213 | </head> | ||
214 | #errors | ||
215 | |||
216 | #data | ||
217 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
218 | <title/> | ||
219 | <meta name="keywords" content="html5"/> | ||
220 | </head> | ||
221 | #errors | ||
222 | |||
223 | #data | ||
224 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
225 | <script type="text/javascript"/> | ||
226 | <title/> | ||
227 | </head> | ||
228 | #errors | ||
229 | |||
230 | #data | ||
231 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
232 | <title/> | ||
233 | <script type="text/javascript"/> | ||
234 | </head> | ||
235 | #errors | ||
236 | |||
237 | #data | ||
238 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
239 | <style type="text/css"/> | ||
240 | <title/> | ||
241 | </head> | ||
242 | #errors | ||
243 | |||
244 | #data | ||
245 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
246 | <title/> | ||
247 | <style type="text/css"/> | ||
248 | </head> | ||
249 | #errors | ||
250 | |||
251 | #data | ||
252 | <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><title></title></head><body></body></html> | ||
253 | #errors | ||
254 | /html/head/title;element not allowed | ||
255 | |||
256 | #data | ||
257 | <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><p></p></head><body></body></html> | ||
258 | #errors | ||
259 | /html/head/p;element not allowed | ||
260 | |||
261 | #data | ||
262 | <head xmlns="http://www.w3.org/1999/xhtml"><meta charset="us-ascii"/><base/><title></title></head> | ||
263 | #errors | ||
264 | |||
265 | #data | ||
266 | <head xmlns="http://www.w3.org/1999/xhtml"><meta charset="us-ascii"/><title/><base/></head> | ||
267 | #errors | ||
268 | /head/base;element not allowed | ||
269 | |||
270 | #data | ||
271 | <head xmlns="http://www.w3.org/1999/xhtml"><title/><base/></head> | ||
272 | #errors | ||
273 | /head/base;element not allowed | ||
274 | |||
275 | #data | ||
276 | <head xmlns="http://www.w3.org/1999/xhtml"><title/><base/><meta charset="us-ascii"/></head> | ||
277 | #errors | ||
278 | /head/base;element not allowed | ||
279 | /head/meta;element not allowed | ||
280 | |||
281 | #data | ||
282 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
283 | <meta charset="us-ascii"/> | ||
284 | <title/> | ||
285 | <base href="http://www.w3.org/"/> | ||
286 | </head> | ||
287 | #errors | ||
288 | /head/base;element not allowed | ||
289 | |||
290 | #data | ||
291 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
292 | <base href="http://www.w3.org/"/> | ||
293 | <meta charset="us-ascii"/> | ||
294 | <title/> | ||
295 | </head> | ||
296 | #errors | ||
297 | /head/meta;element not allowed | ||
298 | |||
299 | #data | ||
300 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
301 | <base href="http://www.w3.org/"/> | ||
302 | <title/> | ||
303 | <meta charset="us-ascii"/> | ||
304 | </head> | ||
305 | #errors | ||
306 | /head/meta;element not allowed | ||
307 | |||
308 | #data | ||
309 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
310 | <base href="http://www.w3.org/"/> | ||
311 | <meta name="keywords" content="html5"/> | ||
312 | <title/> | ||
313 | </head> | ||
314 | #errors | ||
315 | |||
316 | #data | ||
317 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
318 | <base href="http://www.w3.org/"/> | ||
319 | <title/> | ||
320 | <meta name="keywords" content="html5"/> | ||
321 | </head> | ||
322 | #errors | ||
323 | |||
324 | #data | ||
325 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
326 | <meta name="keywords" content="html5"/> | ||
327 | <meta charset="us-ascii"/> | ||
328 | <title/> | ||
329 | </head> | ||
330 | #errors | ||
331 | /head/meta;element not allowed | ||
332 | |||
333 | #data | ||
334 | <head xmlns="http://www.w3.org/1999/xhtml"> | ||
335 | <meta charset="us-ascii"/> | ||
336 | <meta name="keywords" content="html5"/> | ||
337 | <title/> | ||
338 | </head> | ||
339 | #errors | ||
340 | |||
341 | #data | ||
342 | <base href="http://www.w3.org/" xmlns="http://www.w3.org/1999/xhtml"></base> | ||
343 | #errors | ||
344 | |||
345 | #data | ||
346 | <base href="http://www.w3.org/" xmlns="http://www.w3.org/1999/xhtml"> </base> | ||
347 | #errors | ||
348 | |||
349 | #data | ||
350 | <base href="http://www.w3.org/" xmlns="http://www.w3.org/1999/xhtml">a</base> | ||
351 | #errors | ||
352 | /base/"a";character not allowed | ||
353 | |||
354 | #data | ||
355 | <base href="http://www.w3.org/" xmlns="http://www.w3.org/1999/xhtml"><p/></base> | ||
356 | #errors | ||
357 | /base/p;element not allowed | ||
358 | |||
359 | #data | ||
360 | <link xmlns="http://www.w3.org/1999/xhtml"></link> | ||
361 | #errors | ||
362 | |||
363 | #data | ||
364 | <link xmlns="http://www.w3.org/1999/xhtml"> </link> | ||
365 | #errors | ||
366 | |||
367 | #data | ||
368 | <link xmlns="http://www.w3.org/1999/xhtml">a</link> | ||
369 | #errors | ||
370 | /link/"a";character not allowed | ||
371 | |||
372 | #data | ||
373 | <link xmlns="http://www.w3.org/1999/xhtml"><p/></link> | ||
374 | #errors | ||
375 | /link/p;element not allowed | ||
376 | |||
377 | #data | ||
378 | <meta charset="us-ascii" xmlns="http://www.w3.org/1999/xhtml"></meta> | ||
379 | #errors | ||
380 | |||
381 | #data | ||
382 | <meta charset="us-ascii" xmlns="http://www.w3.org/1999/xhtml"> </meta> | ||
383 | #errors | ||
384 | |||
385 | #data | ||
386 | <meta charset="us-ascii" xmlns="http://www.w3.org/1999/xhtml">a</meta> | ||
387 | #errors | ||
388 | /meta/"a";character not allowed | ||
389 | |||
390 | #data | ||
391 | <meta charset="us-ascii" xmlns="http://www.w3.org/1999/xhtml"><p/></meta> | ||
392 | #errors | ||
393 | /meta/p;element not allowed | ||
394 | |||
395 | #data | ||
396 | <style type="text/css" xmlns="http://www.w3.org/1999/xhtml"></style> | ||
397 | #errors | ||
398 | |||
399 | #data | ||
400 | <style type="text/css" xmlns="http://www.w3.org/1999/xhtml"> | ||
401 | p {color: green} | ||
402 | </style> | ||
403 | #errors | ||
404 |
admin@suikawiki.org | ViewVC Help |
Powered by ViewVC 1.1.24 |