/[suikacvs]/test/html-webhacc/error-description.en.html.u8
Suika

Contents of /test/html-webhacc/error-description.en.html.u8

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Aug 11 13:54:55 2007 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.6: +51 -1 lines
++ ChangeLog	11 Aug 2007 13:54:20 -0000
2007-08-11  Wakaba  <wakaba@suika.fam.cx>

	* cc.cgi, parser-manakai.cgi, parser.cgi: Use |Message::CGI::HTTP|
	instead of |SuikaWiki::Input::HTTP|.

2007-08-05  Wakaba  <wakaba@suika.fam.cx>

	* cc-interface.en.html: IMT |application/atom+xml| is added.
	Link to |cc-todo| is added.

2007-07-24  Wakaba  <wakaba@suika.fam.cx>

	* error-description.xml: Description for "after body", "bare etago",
	and "bogus end tag" are added.

1 <!DOCTYPE html><html id="error-description" lang="en" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <title xml:lang="en">Description of Errors —
4 Web Document Conformance Checker (BETA)</title>
5 <link href="cc-style" rel="stylesheet">
6 <link href="#license" rel="license">
7 </head>
8 <body>
9 <h1>Description of Errors</h1>
10
11 <section id="html5-tokenize-error">
12 <h2>HTML5 Parse Errors in Tokenization Stage</h2>
13
14 <div class="section parse-error" id="after-html"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
15 is not allowed after the end tag <code>&lt;/html&gt;</code>.</h3>
16 <p>The start or end tag of an element appears after the
17 <code>html</code> element has been closed. The document is
18 non-conforming.</p>
19
20 <p>Any content of the document other than comments
21 must be put into the <code>html</code> element.</p>
22 </div>
23
24 <div class="section parse-error" id="after-body"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
25 is not allowed after the end tag <code>&lt;/body&gt;</code>.</h3>
26 <p>The start or end tag of an element appears after the
27 <code>body</code> element has been closed. The document is
28 non-conforming.</p>
29
30 <p>Any content of the document other than <code>head</code>
31 contents and comments must be put into the <code>body</code>
32 element.</p>
33 </div>
34
35 <div class="section tokenize-error" id="bare-ero"><h3>The <code>&amp;</code> character must
36 introduce a reference.</h3>
37 <p>An <code>&amp;</code> (<code>U+0026</code>
38 <code class="charname">AMPERSAND</code>) character which
39 is not part of any reference appears in the input stream.
40 The document is non-conforming.</p>
41
42 <p>The <code>&amp;</code> character must
43 be the first character of a reference:
44 <dl>
45 <dt>Named entity reference</dt>
46 <dd><pre class="html example">
47 <code>&amp;<var>entity-name</var>;</code></pre>
48 where <var>entity-name</var> is the name of the
49 character entity to be referenced.</dd>
50 <dt>Numeric character reference</dt>
51 <dd><pre class="html example">
52 <code>&amp;#<var>d</var>;</code></pre>
53 where <var>d</var> is the decimal representation of
54 the code position of the character to be referenced.</dd>
55 <dt>Hexadecimal character reference</dt>
56 <dd><pre class="html example">
57 <code>&amp;#x<var>h</var>;</code></pre>
58 where <var>h</var> is the hexadecimal representation
59 of the code position of the character to be referenced.</dd>
60 </dl>
61 </p>
62
63 <p>To represent <code>&amp;</code> as a data character, use
64 named entity reference:
65 <pre class="html example">
66 <code>&amp;amp;</code></pre>
67 </p>
68 </div>
69
70 <div class="section tokenize-error" id="bare-etago"><h3>A <code>&lt;/</code> string is not followed
71 by a tag name.</h3>
72 <p>There is a <code>&lt;</code> (<code>U+003C</code>
73 <code class="charname">LESS-THAN SIGN</code>) character
74 immediately followed by a <code>/</code> (<code>U+005F</code>
75 <code>SOLIDUS</code>) character, which is not part
76 of any end tag, in the input stream. The document
77 is non-conforming.</p>
78
79 <p>The <code>&lt;/</code> sequence immediately followed
80 by an <abbr title="End of file pseudo-character">EOF</abbr> is
81 interpreted as a string data of <code>&lt;/</code>.</p>
82
83 <p>The <code>&lt;/</code> sequence as string data must
84 be escaped as:
85 <pre class="html example">
86 <code>&amp;lt;/</code></pre>
87 </p>
88 </div>
89
90 <div class="section tokenize-error" id="bare-stago"><h3>A <code>&lt;</code> character is not followed
91 by tag name or by a <code>!</code> character.</h3>
92 <p>A <code>&lt;</code> (<code>U+003C</code>
93 <code class="charname">LESS-THAN SIGN</code>) character which is not part
94 of any markup appears in the input stream.</p>
95
96 <p>The <code>&lt;</code> character as a data character must
97 be escaped as:
98 <pre class="html example">
99 <code>&amp;lt;</code></pre>
100 </p>
101 </div>
102
103 <div class="section tokenize-error" id="bare-nero"><h3>The decimal representation of the code position
104 of a character must be specified after <code>&amp;#</code>.</h3>
105 <p>An <code>&amp;</code> (<code>U+0026</code>
106 <code class="charname">AMPERSAND</code>) character immediately
107 followed by a <code>#</code> (<code>U+0023</code>
108 <code>NUMBER SIGN</code>) character which
109 is not part of any reference appears in the input stream.
110 The document is non-conforming.</p>
111
112 <p>The string <code>&amp;#</code> must be the first two characters
113 of a reference:
114 <dl>
115 <dt>Numeric character reference</dt>
116 <dd><pre class="html example">
117 <code>&amp;#<var>d</var>;</code></pre>
118 where <var>d</var> is the decimal representation of
119 the code point of the character to be referenced.</dd>
120 <dt>Hexadecimal character reference</dt>
121 <dd><pre class="html example">
122 <code>&amp;#x<var>h</var>;</code></pre>
123 where <var>h</var> is the hexadecimal representation
124 of the code point of the character to be referenced.</dd>
125 </dl>
126 </p>
127
128 <p>To represent <code>&amp;#</code> as data characters, use
129 a named entity reference for the <code>&amp;</code> character:
130 <pre class="html example">
131 <code>&amp;amp;#</code></pre>
132 </p>
133 </div>
134
135 <div class="section tokenize-error" id="bare-hcro"><h3>The hexadecimal representation of the code position
136 of a character must be specified after <code>&amp;#x</code>.</h3>
137 <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> which
138 is not part of any reference appears in the input stream.
139 The document is non-conforming.</p>
140
141 <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> must
142 be the first three characters of a hexadecimal reference:
143 <pre class="html example">
144 <code>&amp;#x<var>h</var>;</code></pre>
145 where <var>h</var> is the hexadecimal representation
146 of the code point of the character to be referenced.</p>
147
148 <p>To represent <code>&amp;#x</code> as data characters, use
149 a named entity reference for the <code>&amp;</code> character:
150 <pre class="html example">
151 <code>&amp;amp;#x</code></pre>
152 </p>
153 </div>
154
155 <div class="section tokenize-error" id="bogus-end-tag"><h3>A <code>&lt;/</code> string is not followed
156 by a tag name.</h3>
157 <p>There is a <code>&lt;</code> (<code>U+003C</code>
158 <code class="charname">LESS-THAN SIGN</code>) character
159 immediately followed by a <code>/</code> (<code>U+005F</code>
160 <code>SOLIDUS</code>) character, which is not part
161 of any end tag, in the input stream. The document
162 is non-conforming.</p>
163
164 <p>The <code>&lt;/</code> sequence not followed by a
165 tag name is parsed as an opening of bogus comment.</p>
166
167 <p>The <code>&lt;/</code> sequence as string data must
168 be escaped as:
169 <pre class="html example">
170 <code>&amp;lt;/</code></pre>
171 </p>
172 </div>
173
174 <div class="section tokenize-error" id="dash-in-comment"><h3>There is a <code>--</code> sequence
175 in a comment.</h3>
176 <p>There is a <code>-</code> (<code>U+002D</code>
177 <code class="charname">HYPHEN-MINUS</code>) character
178 at the end of the comment or a <code>--</code> sequence
179 in the comment. The document is non-conforming.</p>
180
181 <p>Comments cannot contain a string <code>--</code>, as in XML.
182 Unlike SGML, there cannot be more than one comments
183 (where <i>comment</i> is an SGML term) in the comment
184 declaration.</p>
185 </div>
186
187 <div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with name
188 <code><var>$0</var></code>.</h3>
189 <p>There are more than one attributes with the same
190 name in a tag. The document is non-conforming.</p>
191
192 <p>The <code>motion</code> attribute is not part of the HTML standard.
193 Use <code>img</code> element with animation GIF instead.</p>
194 </div>
195
196 <div class="section tokenize-error" id="nestc"><h3>Void element syntax (<code>/&gt;</code>) cannot be
197 used for this element.</h3>
198 <p>Void element syntax (<code>/&gt;</code>) must not be used
199 for the element. The document is non-conforming.</p>
200
201 <p>The void element syntax can only be
202 used for <code>base</code>, <code>link</code>, <code>meta</code>,
203 <code>hr</code>, <code>br</code>, <code>img</code>,
204 <code>embed</code>, <code>param</code>, <code>area</code>,
205 <code>col</code>, and <code>input</code> elements.</p>
206
207 <p>Note that, unlike in XML, the void element syntax has
208 no effect in HTML.</p>
209 </div>
210
211
212 <div class="section tokenize-error" id="pio"><h3>Processing instruction
213 (<code>&lt;?<var>...</var>?&gt;</code>) cannot be used.</h3>
214 <p>Processing instructions (<code>&lt;?<var>...</var>?&gt;</code>),
215 including XML declaration (<code>&lt;?xml <var>...</var>?&gt;</code>)
216 and XML style sheet <abbr title="processing instruction">PI</abbr>
217 (<code>&lt;xml-stylesheet <var>...</var>?&gt;</code>), are not allowed
218 in the HTML syntax. The document is non-conforming.</p>
219
220 <p>If it is necessary to embed a processing instruction
221 in the HTML document, you must use the XML syntax instead.</p>
222
223 <p>In the HTML syntax, XML declaration is not necessary.</p>
224
225 <p>Instead of XML style sheet,
226 <abbr title="processing instruction">PI</abbr>s, you must
227 use the HTML <code>link</code> element whose <code>rel</code>
228 attribute is set to <code>stylesheet</code> (or
229 <code>alternate stylesheet</code> for an aleternate style sheet).</p>
230
231 <p>Web browsers will parse processing instructions as bogus
232 comments. Some legacy Web browsers, such as IE:mac and
233 some mobile browsers, will display processing instructions
234 as string.</p>
235 </div>
236
237 </section>
238
239 <section id="html5-parse-errors">
240 <h2>HTML5 Parse Errors in Tree Construction Stage</h2>
241
242 <div class="section parse-error" id="after-head"><h3>The <code><var>$0</var></code> element cannot be
243 inserted between <code>head</code> and <code>body</code> elements.</h3>
244 <p>A start tag appears after the <code>head</code> element is closed
245 but before the <code>body</code> element is opened.
246 The document is non-conforming.</p>
247 </div>
248
249 <div class="section parse-error" id="DOCTYPE-in-the-middle"><h3>A <code>DOCTYPE</code> appears after any
250 element or data character has been seen.</h3>
251 <p>A <code>DOCTYPE</code> appears after any element or data character
252 has been seen. The document is non-conforming.</p>
253
254 <p>The <code>DOCTYPE</code> must be placed before any
255 tag, reference, or data character. Only white space characters
256 and comments can be inserted before the <code>DOCTYPE</code>.</p>
257 </div>
258
259 <div class="section parse-error" id="in-a:a"><h3>Anchor cannot be nested.</h3>
260 <p>HTML <code>a</code> elements cannot be nested.
261 The document is non-conforming.</p>
262
263 <p>In the HTML syntax, a start tag of the <code>a</code>
264 implies the end tag of any opening <code>a</code> element.</p>
265 </div>
266
267 <div class="section parse-error" id="in-body"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
268 is not allowed in a <code>body</code> element.</h3>
269 <p>The start or end tag of an element, which
270 cannot be a descendant of <code>body</code> element, appears
271 in the input stream while the <code>body</code> element has been opened.
272 The document is non-conforming.</p>
273 </div>
274
275 <div class="section parse-error" id="in-head:head"><h3>Start tag <code>&lt;<var>head</var>&gt;</code>
276 is not allowed in the <code>head</code> element.</h3>
277 <p>There is a start tag <code>&lt;head&gt;</code> in the
278 <code>&lt;head&gt;</code> element. The document is non-conforming.</p>
279
280 <p>In an HTML document there must not be more than
281 one <code>head</code> element, therefore no more than one
282 start tag <code>&lt;head&gt;</code> can appear in the input stream.</p>
283 </div>
284
285 <div class="section parse-error" id="in-table"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
286 is not allowed in a <code>table</code> element.</h3>
287 <p>The start or end tag of an element, which
288 cannot be a child of <code>table</code> element, appears
289 in the input stream while the <code>table</code> element has been opened
290 but no other element has been opened. The document is non-conforming.</p>
291
292 <p>In <code>table</code>, only table related elements
293 are allowed; any other element must be contained in
294 <code>td</code> or <code>th</code> element to form
295 a part of the table, or <code>caption</code> element to create
296 a table caption.</p>
297 </div>
298
299 <div class="section parse-error" id="in-table:#character"><h3>Data character is not allowed in
300 <code>table</code>.</h3>
301 <p>A data character appears in <code>table</code>. The document
302 is non-conforming.</p>
303
304 <p>In <code>table</code>, only table related elements
305 are allowed; any other element and data character must be contained in
306 <code>td</code> or <code>th</code> element to form
307 a part of the table, or <code>caption</code> element to create
308 a table caption.</p>
309 </div>
310
311 <div class="section parse-error" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code>
312 element is missing.</h3>
313 <p>Start tag of a <code>tr</code> element, which is <em>not</em>
314 optional, is missing. The document is non-conforming.</p>
315
316 <p>In a table section, a <code>&lt;tr&gt;</code> start tag
317 must occur before any <code>&lt;td&gt;</code> or
318 <code>&lt;th&gt;</code> start tag. Though the HTML5 parser
319 implies the <code>&lt;tr&gt;</code> start tag before
320 these start tags, it must be explicitly specified.</p>
321 </div>
322
323 <div class="section parse-error" id="no-DOCTYPE"><h3>This document does not start with a
324 <code>DOCTYPE</code>.</h3>
325 <p>The document does not start with a <code>DOCTYPE</code>.
326 The document is non-conforming.</p>
327
328 <p>An HTML document must start by a <code>DOCTYPE</code>:
329 <pre class="html example">
330 <code>&lt;!DOCTYPE HTML&gt;</code></pre>
331 </p>
332
333 <p>Only white space characters and comments are allowed
334 before the <code>DOCTYPE</code>.</p>
335 </div>
336
337 <div class="section parse-error" id="not-closed"><h3>Element <code><var>$0</var></code> is not
338 closed.</h3>
339 <p>End tag of an element is not found before, for example,
340 an end tag of another element appears or
341 the end of the document. The document is non-conforming.</p>
342 </div>
343
344 <div class="section parse-error" id="not-first-start-tag"><h3>This <code>&lt;html&gt;</code> tag is not
345 the first start tag.</h3>
346 <p>There is a start tag of the <code>html</code> element
347 that it not the first start tag in the input stream.
348 The document is non-conforming.</p>
349
350 <p>In an HTML document, there cannot be more than one
351 <code>html</code> element and therefore there cannot be
352 more than one <code>&lt;html&gt;</code> tag. In addition,
353 nothing can be placed before the <code>&lt;html&gt;</code> tag
354 except a <code>DOCTYPE</code>, white space characters,
355 and comments.</p>
356 </div>
357
358 <div class="section parse-error" id="not-HTML5"><h3>This document is written in an old version of
359 HTML.</h3>
360 <p>The document contains a <code>DOCTYPE</code> declaration
361 that is different from HTML5 <code>DOCTYPE</code> (i.e.
362 <code>&lt;!DOCTYPE HTML&gt;</code>). The document is non-conforming.</p>
363
364 <p>The document might or might not be conformant to
365 some version of HTML. However, conformance to any HTML
366 specification other than HTML5 provides for no practical
367 convenience, since Web borwsers will parse any
368 HTML document (roughly) as defined in HTML5.</p>
369 </div>
370
371 <div class="section parse-error" id="unmatched-end-tag"><h3>Element <code><var>$0</var></code> is not
372 opened.</h3>
373 <p>An end tag appears though no element with the same name
374 has been opened. The document is non-conforming.</p>
375
376 <p>For any end tag in HTML document, there must be a
377 corresponding start tag.</p>
378 </div>
379
380 </section>
381
382 <section id="element-content-model-errors">
383 <h2>Element Content Model Errors</h2>
384
385 <div class="section content-model-error" id="character-not-allowed"><h3>Data character is not allowed in this
386 context.</h3>
387 <p>A data character appears where it is not allowed in this
388 context. The document is non-conforming.</p>
389
390 <p>Possible causes:
391 <ul>
392 <li><p>A data character cannot be a child
393 of certain sectioning elements such as <code>body</code>,
394 <code>section</code>, and <code>blockquote</code>.</p>
395
396 <p>Any inline-level content must be put
397 in e.g. paragraph element such as <code>p</code>.</p></li>
398 <li><p>Though some elements such as <code>div</code>,
399 <code>li</code>, and <code>td</code> allow
400 <em>either one</em> of block-level or inline-level content
401 is allowed. If there is a block-level content,
402 any inline-level content must be put
403 in e.g. paragraph element such as <code>p</code>.</p></li>
404 </ul>
405 </p>
406 </div>
407
408 <div class="section content-model-error" id="child-element-missing"><h3>There must be a <code><var>$0</var></code>
409 element as a child of this element.</h3>
410 <p>The content model of the element is so defined that it
411 must contain a <code><var>$0</var></code> child element.
412 The document is non-conforming.</p>
413
414 <p>For example:
415 <ul>
416 <li>The <code>head</code> element must contain exactly one
417 <code>title</code> child element.</li>
418 <li><a href="#child-element-missing:td%7Cth">The <code>tr</code>
419 element must contain one or more <code>td</code> or <code>th</code>
420 child element.</a></li>
421 </ul>
422 </p>
423 </div>
424
425 <div class="section content-model-error" id="child-element-missing:td|th"><h3>There must be a <code>td</code>
426 or <code>th</code> element as a child of this element.</h3>
427 <p>The <code>tr</code> element must contain at least one
428 <code>td</code> or <code>th</code> child element. The document
429 is non-conforming.</p>
430 </div>
431
432 <div class="section content-model-error" id="element-not-allowed"><h3>This element is not allowed in this
433 context.</h3>
434 <p>An element appears where it is not allowed. The document
435 is non-conforming.</p>
436
437 <p><strong>Note</strong>: The conformance checker does
438 <em>not</em> support form elements yet.</p>
439
440 <p>Possible causes:
441 <dl class="switch">
442 <dt>If the element with the error is an inline-level element,
443 such as <code>a</code>, <code>progress</code>, or <code>img</code></dt>
444 <dd><p>An inline-level element cannot be a child
445 of certain sectioning elements such as <code>body</code>,
446 <code>section</code>, and <code>blockquote</code>.</p>
447
448 <p>Any inline-level content must be put
449 in e.g. paragraph element such as <code>p</code>.</p></dd>
450 <dt>If the element with the error is a block-level element,
451 such as <code>div</code>, <code>h<var>n</var></code>, or
452 <code>section</code></dt>
453 <dd><p>Though some elements such as <code>div</code>,
454 <code>li</code>, and <code>td</code> allow
455 <em>either one</em> of block-level or inline-level content
456 is allowed. If there is a block-level content,
457 any inline-level content must be put
458 in e.g. paragraph element such as <code>p</code>.</p></dd>
459 <dt>If the element with the error is a <code>noscript</code> element</dt>
460 <dd>The <code>noscript</code> element is allowed only in the context
461 where a block-level or inline-level content is expected
462 and in the <code>head</code> element.
463 It cannot be used in e.g. <code>ul</code>, <code>table</code>,
464 or <code>select</code>.</dd>
465 <dt>If the element with the error is the <code>html</code> element
466 that is the root element of an XHTML document</dt>
467 <dd><p>In an XHTML document, the root <code>html</code>
468 element must have an <code>xmlns</code> attribute
469 whose value is set to
470 <code>http://www.w3.org/1999/xhtml</code>.</p></dd>
471 </dl>
472 </p>
473 </div>
474
475 <div class="section content-model-error" id="ps-element-missing"><h3>There is no <code><var>$0</var></code>
476 element before this element.</h3>
477 <p>There must be an element before another element, but there
478 is not. The document is non-conforming.</p>
479
480 <p>For example, there must be a <code>dt</code> element
481 before any <code>dd</code> element.</p>
482 </div>
483
484 </section>
485
486 <section id="attribute-errors">
487 <h2>Attribute Errors</h2>
488
489 <div class="section attribute-error" id="attribute-missing"><h3>Required attribute <code><var>$0</var></code>
490 is not specified.</h3>
491 <p>A required attribute is not specified. The document
492 is non-conforming.</p>
493
494 <p>Some attribute is defined as <i>required</i>.
495 For example, any <code>img</code> element must have
496 <code>alt</code> and <code>src</code> attributes specified.
497 Without required attributes specified, user agents
498 cannot provide the full functionality of the element
499 to the user.</p>
500 </div>
501
502 <div class="section attribute-error" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute is not
503 allowed in HTML document.</h3>
504 <p>The <code>xml:lang</code> attribute is not allowed in
505 HTML document. The document is non-conforming.</p>
506
507 <p>The <code>lang</code> attribute in the <code>null</code>
508 namespace for HTML elements is defined as conforming <em>only</em> for
509 XML document.</p>
510
511 <p>To specify natural language information in HTML document,
512 use <code>lang</code> attribute instead.</p>
513
514 <p>XHTML 1.0 Appendix C was encouraged to specify both
515 <code>lang</code> and <code>xml:lang</code> attributes with
516 the same value. Such a duplication has <em>no effect</em> in practice.
517 Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in
518 XML).</p>
519
520 <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created
521 from an HTML document? -->
522 </div>
523
524 <div class="section attribute-error" id="in-XML:charset"><h3>The <code>charset</code> attribute is not
525 allowed in XML document.</h3>
526 <p>The <code>charset</code> attribute of a
527 <code>meta</code> element is not allowed in XML document.
528 The document is non-conforming.</p>
529
530 <p>To specify the character encoding used for serialization,
531 if necessary, use XML declaration instead:
532 <pre class="xml example">
533 <code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;<var>encoding-name</var>&quot;?&gt;</code></pre>
534 </p>
535 </div>
536
537 <div class="section attribute-error" id="in-XML:lang"><h3>The <code>lang</code> attribute is not
538 allowed in XML document.</h3>
539 <p>The HTML <code>lang</code> attribute is not allowed in
540 XML document. The document is non-conforming.</p>
541
542 <p>The <code>lang</code> attribute in <code>null</code>
543 namespace for HTML elements is defined as conforming <em>only</em> for
544 HTML document.</p>
545
546 <p>To specify natural language information in XML document,
547 use <code>xml:lang</code> attribute instead.</p>
548 </div>
549
550 <div class="section attribute-error" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute
551 in the <code>null</code> namespace is not allowed in
552 XHTML document. The document is non-conforming.</h3>
553 <p>The <code>xmlns</code> attribute in the <code>null</code>
554 namespace is not allowed in XHTML document.</p>
555
556 <p>This error should not occur in conformance-checking
557 static documents.</p>
558 </div>
559
560 </section>
561
562 <section id="attribute-value-errors">
563 <h2>Attribute Value Errors</h2>
564
565 <div class="section attribute-value-error" id="enumerated:invalid"><h3>This attribute only allow a limited set of
566 values and the specified value <code><var>{@}</var></code> is not one
567 of them.</h3></div>
568
569 <div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been
570 assigned to another element.</h3></div>
571
572 <div class="section attribute-value-error" id="link-type:bad-context"><h3>The link type <code><var>$0</var></code>
573 cannot be specified for this element.</h3>
574 <p>The specified link type cannot be used for the element.
575 The document is non-conforming.</p>
576
577 <p>Link types are associated with limited set of elements.
578 They cannot be used with other elements.</p>
579
580 <p>For example, link type <code>bookmark</code>
581 can be used with <code>a</code> or <code>area</code> element,
582 while it cannot be used with <code>link</code> element.</p>
583 </div>
584
585 <div class="section attribute-value-error" id="link-type:non-conforming"><h3>The link type <code><var>$0</var></code>
586 is non-conforming.</h3>
587 <p>The specified link type is non-conforming, and therefore
588 the document is non-conforming.</p>
589
590 <dl>
591 <dt>Link type <code>contents</code></dt>
592 <dd>Use link type <code>index</code>.</dd>
593 <dt>Link type <code>copyright</code></dt>
594 <dd>Use link type <code>license</code>.</dd>
595 <dt>Link type <code>home</code></dt>
596 <dd>Use link type <code>index</code>.</dd>
597 <dt>Link type <code>start</code></dt>
598 <dd>Use link type <code>first</code>.</dd>
599 <dt>Link type <code>toc</code></dt>
600 <dd>Use link type <code>index</code>.</dd>
601 </dl>
602 </div>
603
604 <div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>Browsing context name
605 <code><var>{@}</var></code> is reserved.</h3>
606 <p>The specified browsing context name is reserved.
607 The document is non-conforming.</p>
608
609 <p>Names of browsing contexts starting with <code>_</code>
610 (<code>U+005F</code> <code class="charname">LOW LINE</code>)
611 are reserved so that it must not be used.</p>
612
613 <p>Old version of HTML, non-HTML markup languages, and
614 Web browsers define or implements special reserved
615 browsing context names <code>_blank</code>,
616 <code>_main</code>, and <code>_replace</code>.
617 However, they are <em>not</em> conforming attribute values.</p>
618 </div>
619
620 </section>
621
622 <section id="attribute-value-warnings">
623 <h2>Attribute Value Warnings</h2>
624
625 <div class="section attribute-value-warning should" id="s:link-type:proposed"><h3>Link type <code><var>$0</var></code>
626 is proposed but not accepted yet; it <em>should not</em> be
627 used until it has been accepted.</h3>
628 <p>The link type is in the <i>proposed</i> status; it
629 <em>should not</em> be used until it has been
630 accepted.</p>
631
632 <p><strong>Warning</strong>: The data served to the
633 conforming checker might be out of date; it might have already
634 been accepted or rejected, depending on which the document
635 might be conforming or non-conforming. See WHATWG Wiki
636 for the latest information.</p>
637 </div>
638
639 </section>
640
641 <section id="table-model-errors">
642 <h2>Table Model Errors</h2>
643
644 <div class="section table-model-error" id="table:colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute
645 results in creating a table column that does not contain
646 any cell anchored to it.</h3></div>
647
648 <div class="section table-model-error" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or
649 <code>th</code>) in the last row.</h3></div>
650
651 <div class="section table-model-error" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute
652 results in creating a table row that does not contain
653 any cell anchored to it.</h3>
654 <p>The <code>rowspan</code> attribute value of the cell
655 is so specified that it extends a table in the row axis.
656 However, the extended row does not contain any cell by itself.
657 The document is non-conforming.</p>
658
659 <p>For example, the table below is non-conforming:
660 <pre class="html non-conforming example">
661 <code>&lt;table&gt;
662 &lt;tbody&gt;
663 &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;
664 &lt;/tbody&gt;
665 &lt;/table&gt;</code></pre>
666 ... is non-conforming, since the second row contains only
667 a cell that spans the first and the second rows.</p>
668 </div>
669
670 </section>
671
672 <section id="imt-warnings">
673 <h2>Internet Media Type Warnings</h2>
674
675 <div class="section should" id="s:IMT:obsolete-subtype"><h3><code><var>{@}</var></code>: An <em>obsolete</em>
676 subtype is used.</h3></div>
677
678 <div class="section should" id="s:IMT:private-subtype"><h3><code><var>{@}</var></code>: A private
679 (<code>x-</code> or <code>x.</code>) subtype is used.</h3></div>
680
681 <div class="section should" id="s:IMT:unregistered-subtype"><h3><code><var>{@}</var></code>: The subtype is
682 not registered to IANA.</h3></div>
683
684 </section>
685
686 <section id="uri-errors">
687 <h2>URI (or IRI) Errors</h2>
688
689 <div class="section must" id="m:URI::syntax-error"><h3>The specified value is syntactically not an IRI
690 reference.</h3>
691 <p>The specified value does not satisfy the syntactical requirements
692 for IRI references. The document is non-conforming.</p>
693
694 <p>Possible causes:
695 <ul>
696 <li>The string might contain one or more white space characters.
697 Especially, the <code> </code> (<code>U+0020</code>
698 <code class="charname">SPACE</code>) character cannot be
699 used in IRI references.</li>
700 </ul>
701 </p>
702 </div>
703
704 </section>
705
706 <section id="uri-warnings">
707 <h2>URI (or IRI) Warnings</h2>
708
709 <div class="section should" id="s:URI::dot-segment"><h3>Dot-segment (<code>.</code> or
710 <code>..</code>) should not occur in an absolute reference.</h3>
711 <p>Dot-segment (<code>.</code> or <code>..</code>) should
712 not occur in an absolute reference.</p>
713
714 <p>In relative references, dot-segments are used to represent
715 the current (<code>.</code>) or the parent (<code>..</code>)
716 hierarchy of the path. Though they are also allowed
717 in absolute references, it should be resolved to the
718 canonical form before it has been published.</p>
719 </div>
720
721 <div class="section should" id="s:URI::empty-path"><h3>This IRI should explicitly end with
722 <code>/</code>.</h3></div>
723
724 <div class="section should" id="s:URI::lowercase-hexadecimal-digit"><h3>Hexadecimal digit in percent-encoding
725 should be in lowercase.</h3>
726 <p>The hexadecimal digit in percent-encoding string in the IRI
727 is in lowercase. Though the IRI <em>is</em> conforming,
728 it should be in uppercase.</p>
729 </div>
730
731 <div class="section should" id="s:URI::percent-encoded-unreserved"><h3>An unreserved character is
732 percent-encoded.</h3>
733 <p>An unreserved character is percent-encoded in the IRI.
734 Though it <em>is</em> conforming, it should be in the
735 decoded (or bare) form.</p>
736 </div>
737
738 <div class="section should" id="s:URI::uppercase-scheme-name"><h3>URI scheme name is in uppercase.</h3>
739 <p>The scheme part of the IRI is written in uppercase letter.</p>
740
741 <p>Uppercase scheme names are not required to be processed
742 correctly.</p>
743 <!-- @@
744 RFC 3986 3.1.
745 > Although schemes are case-
746 insensitive, the canonical form is lowercase and documents that
747 specify schemes must do so with lowercase letters.
748
749 > An implementation ... should only produce lowercase scheme names for
750 consistency.
751 -->
752 </div>
753
754 </section>
755
756 <section id="unsupported-messages">
757 <h2><i>Unsupported</i> Messages</h2>
758
759 <div class="section unsupported" id="unsupported:attribute"><h3>This attribute is not supported by the
760 conformance checker; <em>it might or might not be conforming</em>.</h3>
761 <p>The conformant checker does not support the attribute.
762 It cannot determine whether the document is conforming or not.</p>
763 </div>
764
765 <div class="section unsupported" id="unsupported:element"><h3>This element is not supported by the
766 conformance checker; <em>it might or might not be conforming</em>.</h3>
767 <p>The conformant checker does not support the element.
768 It cannot determine whether the document is conforming or not.</p>
769 </div>
770
771 <div class="section unsupported" id="unsupported:link-type"><h3>The link type <code><var>$0</var></code> is not
772 standardized or registered at the time of the release of the conformance
773 checker; <em>it is non-conforming unless it has now been
774 registered</em>.</h3>
775 <p>The <code>rel</code> attribute is defined as a list of link types.
776 Some common link types are defined in the HTML5 specification.
777 Additional link types can be registered to the WHATWG Wiki.
778 use of any other link type is non-conforming.</p>
779
780 <p>The specified link type is not part of the standard or registry
781 when the database used by the conformance cheker is created.
782 The link type might have been added to the registry since then.
783 In such case it might be conforming. Otherwise, the
784 document is non-conforming.</p>
785 </div>
786
787 <div class="section unsupported" id="unsupported:event-handler"><h3>Conformance checking for event handler attribute
788 is not supported; <em>it might or might not be conforming.</em></h3></div>
789
790 <div class="section unsupported" id="unsupported:language-tag"><h3>Conformance checking for language tag
791 is not supported; <em>it might or might not be conforming.</em></h3></div>
792
793 <div class="section unsupported" id="unsupported:media-query"><h3>Conformance checking for media query
794 is not supported; <em>it might or might not be conforming.</em></h3></div>
795
796 <div class="section unsupported" id="unsupported:script"><h3>Conformance checking for script
797 language <code><var>$0</var></code> is not supported;
798 <em>it might or might not be conforming.</em></h3></div>
799
800 <div class="section unsupported" id="unsupported:style"><h3>Conformance checking for style
801 language <code><var>$0</var></code> is not supported;
802 <em>it might or might not be conforming.</em></h3></div>
803
804 </section>
805
806
807
808 <section id="license">
809 <h2>License of This Document</h2>
810
811 <p>Copyright 2007 <a href="http://suika.fam.cx/~wakaba/who?">Wakaba</a></p>
812 <p>This library is free software; you can redistribute it
813 and/or modify it under the same terms as Perl itself.</p>
814 </section>
815
816 <!-- $Date: 2007/07/21 04:58:17 $ -->
817 </body>
818 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24