/[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.14 - (hide annotations) (download)
Wed Nov 7 12:20:44 2007 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.13: +56 -35 lines
++ ChangeLog	7 Nov 2007 12:20:41 -0000
	* cc-style.css: Styling examples.

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

1 wakaba 1.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 wakaba 1.2 <section id="html5-tokenize-error">
12     <h2>HTML5 Parse Errors in Tokenization Stage</h2>
13 wakaba 1.1
14 wakaba 1.3 <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 wakaba 1.7 <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 wakaba 1.3 <div class="section tokenize-error" id="bare-ero"><h3>The <code>&amp;</code> character must
36     introduce a reference.</h3>
37 wakaba 1.14 <p>An <code>&amp;</code> character which
38 wakaba 1.3 is not part of any reference appears in the input stream.
39 wakaba 1.14 The document is non‐conforming.</p>
40 wakaba 1.3
41 wakaba 1.14 <p><em>Any <code>&amp;</code> character in URI (or IRI)
42     must be escaped as <code class="example">&amp;amp;</code>.</em></p>
43 wakaba 1.9
44 wakaba 1.3 <p>The <code>&amp;</code> character must
45     be the first character of a reference:
46 wakaba 1.14 <dl class="switch">
47 wakaba 1.3 <dt>Named entity reference</dt>
48     <dd><pre class="html example">
49     <code>&amp;<var>entity-name</var>;</code></pre>
50     where <var>entity-name</var> is the name of the
51     character entity to be referenced.</dd>
52     <dt>Numeric character reference</dt>
53     <dd><pre class="html example">
54     <code>&amp;#<var>d</var>;</code></pre>
55     where <var>d</var> is the decimal representation of
56     the code position of the character to be referenced.</dd>
57     <dt>Hexadecimal character reference</dt>
58     <dd><pre class="html example">
59     <code>&amp;#x<var>h</var>;</code></pre>
60     where <var>h</var> is the hexadecimal representation
61     of the code position of the character to be referenced.</dd>
62     </dl>
63     </p>
64    
65     <p>To represent <code>&amp;</code> as a data character, use
66     named entity reference:
67     <pre class="html example">
68     <code>&amp;amp;</code></pre>
69     </p>
70     </div>
71    
72 wakaba 1.7 <div class="section tokenize-error" id="bare-etago"><h3>A <code>&lt;/</code> string is not followed
73     by a tag name.</h3>
74     <p>There is a <code>&lt;</code> (<code>U+003C</code>
75     <code class="charname">LESS-THAN SIGN</code>) character
76     immediately followed by a <code>/</code> (<code>U+005F</code>
77     <code>SOLIDUS</code>) character, which is not part
78     of any end tag, in the input stream. The document
79     is non-conforming.</p>
80    
81     <p>The <code>&lt;/</code> sequence immediately followed
82     by an <abbr title="End of file pseudo-character">EOF</abbr> is
83     interpreted as a string data of <code>&lt;/</code>.</p>
84    
85     <p>The <code>&lt;/</code> sequence as string data must
86     be escaped as:
87     <pre class="html example">
88     <code>&amp;lt;/</code></pre>
89     </p>
90     </div>
91    
92 wakaba 1.4 <div class="section tokenize-error" id="bare-stago"><h3>A <code>&lt;</code> character is not followed
93     by tag name or by a <code>!</code> character.</h3>
94 wakaba 1.6 <p>A <code>&lt;</code> (<code>U+003C</code>
95     <code class="charname">LESS-THAN SIGN</code>) character which is not part
96     of any markup appears in the input stream.</p>
97 wakaba 1.4
98     <p>The <code>&lt;</code> character as a data character must
99     be escaped as:
100     <pre class="html example">
101 wakaba 1.6 <code>&amp;lt;</code></pre>
102 wakaba 1.4 </p>
103     </div>
104    
105 wakaba 1.3 <div class="section tokenize-error" id="bare-nero"><h3>The decimal representation of the code position
106     of a character must be specified after <code>&amp;#</code>.</h3>
107     <p>An <code>&amp;</code> (<code>U+0026</code>
108     <code class="charname">AMPERSAND</code>) character immediately
109     followed by a <code>#</code> (<code>U+0023</code>
110     <code>NUMBER SIGN</code>) character which
111     is not part of any reference appears in the input stream.
112     The document is non-conforming.</p>
113    
114     <p>The string <code>&amp;#</code> must be the first two characters
115     of a reference:
116 wakaba 1.14 <dl class="switch">
117 wakaba 1.3 <dt>Numeric character reference</dt>
118     <dd><pre class="html example">
119     <code>&amp;#<var>d</var>;</code></pre>
120     where <var>d</var> is the decimal representation of
121     the code point of the character to be referenced.</dd>
122     <dt>Hexadecimal character reference</dt>
123     <dd><pre class="html example">
124     <code>&amp;#x<var>h</var>;</code></pre>
125     where <var>h</var> is the hexadecimal representation
126     of the code point of the character to be referenced.</dd>
127     </dl>
128     </p>
129    
130     <p>To represent <code>&amp;#</code> as data characters, use
131 wakaba 1.6 a named entity reference for the <code>&amp;</code> character:
132 wakaba 1.3 <pre class="html example">
133     <code>&amp;amp;#</code></pre>
134     </p>
135     </div>
136    
137     <div class="section tokenize-error" id="bare-hcro"><h3>The hexadecimal representation of the code position
138     of a character must be specified after <code>&amp;#x</code>.</h3>
139     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> which
140     is not part of any reference appears in the input stream.
141     The document is non-conforming.</p>
142    
143     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> must
144     be the first three characters of a hexadecimal reference:
145     <pre class="html example">
146     <code>&amp;#x<var>h</var>;</code></pre>
147     where <var>h</var> is the hexadecimal representation
148     of the code point of the character to be referenced.</p>
149    
150     <p>To represent <code>&amp;#x</code> as data characters, use
151 wakaba 1.6 a named entity reference for the <code>&amp;</code> character:
152 wakaba 1.3 <pre class="html example">
153     <code>&amp;amp;#x</code></pre>
154     </p>
155     </div>
156    
157 wakaba 1.9 <div class="section tokenize-error" id="bogus-comment"><h3>String <code>&lt;!</code> is not followed
158     by <code>--</code>.</h3>
159     <p>There is a <code>&lt;</code> (<code>U+003C</code>
160     <code class="charname">LESS-THAN SIGN</code>) character
161     followed by a <code>!</code> (<code>U+0021</code>
162     <code class="charname">EXCLAMATION MARK</code>) character,
163     which is not followed by a <code>--</code> or
164     <code>!DOCTYPE</code>. The document is non-conforming.</p>
165    
166     <dl class="switch">
167     <dt>Comments</dt>
168 wakaba 1.14 <dd>In HTML document, comments must be introduced by
169     <code class="example">&lt;!--</code> (<code>&lt;!</code>
170     <em>immediately</em> followed
171 wakaba 1.9 by <em>two</em> <code>-</code>s) and must be terminated by
172 wakaba 1.14 <code class="example">--&gt;</code>.
173     Strings <code>&lt;!</code> not followed
174 wakaba 1.9 by <code>--</code> and <code>&lt;!-</code> not followed by
175     <code>-</code> are not valid open delimiters for comments.</dd>
176     <dt>Marked sections, including <code>CDATA</code> sections</dt>
177 wakaba 1.14 <dd>Marked sections are not allowed in HTML document.</dd>
178 wakaba 1.9 <dt>Markup declarations</dt>
179 wakaba 1.14 <dd>Markup declarations, except for <code>DOCTYPE</code>
180     and comment declarations, are not allowed in HTML document.</dd>
181 wakaba 1.9 <dt>String <code>&lt;!</code></dt>
182     <dd>String <code>&lt;!</code> must be escaped as
183 wakaba 1.14 <code class="example">&amp;lt;!</code>.</dd>
184 wakaba 1.9 </dl>
185     </div>
186    
187     <div class="section tokenize-error" id="bogus-end-tag"><h3>String <code>&lt;/</code> is not followed
188     by tag name.</h3>
189 wakaba 1.7 <p>There is a <code>&lt;</code> (<code>U+003C</code>
190     <code class="charname">LESS-THAN SIGN</code>) character
191     immediately followed by a <code>/</code> (<code>U+005F</code>
192     <code>SOLIDUS</code>) character, which is not part
193     of any end tag, in the input stream. The document
194     is non-conforming.</p>
195    
196     <p>The <code>&lt;/</code> sequence not followed by a
197     tag name is parsed as an opening of bogus comment.</p>
198    
199     <p>The <code>&lt;/</code> sequence as string data must
200     be escaped as:
201     <pre class="html example">
202     <code>&amp;lt;/</code></pre>
203     </p>
204     </div>
205    
206 wakaba 1.4 <div class="section tokenize-error" id="dash-in-comment"><h3>There is a <code>--</code> sequence
207     in a comment.</h3>
208     <p>There is a <code>-</code> (<code>U+002D</code>
209     <code class="charname">HYPHEN-MINUS</code>) character
210     at the end of the comment or a <code>--</code> sequence
211     in the comment. The document is non-conforming.</p>
212    
213     <p>Comments cannot contain a string <code>--</code>, as in XML.
214     Unlike SGML, there cannot be more than one comments
215     (where <i>comment</i> is an SGML term) in the comment
216     declaration.</p>
217     </div>
218    
219 wakaba 1.6 <div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with name
220     <code><var>$0</var></code>.</h3>
221 wakaba 1.3 <p>There are more than one attributes with the same
222     name in a tag. The document is non-conforming.</p>
223 wakaba 1.1
224     <p>The <code>motion</code> attribute is not part of the HTML standard.
225     Use <code>img</code> element with animation GIF instead.</p>
226     </div>
227    
228 wakaba 1.10 <div class="section tokenize-error" id="nestc"><h3>Polytheistic slash (<code>/&gt;</code>) cannot be
229 wakaba 1.1 used for this element.</h3>
230 wakaba 1.10 <p>Polytheistic slash (<code>/&gt;</code>) must not be used
231 wakaba 1.3 for the element. The document is non-conforming.</p>
232    
233 wakaba 1.10 <p>The polytheistic slash can only be
234 wakaba 1.1 used for <code>base</code>, <code>link</code>, <code>meta</code>,
235     <code>hr</code>, <code>br</code>, <code>img</code>,
236     <code>embed</code>, <code>param</code>, <code>area</code>,
237 wakaba 1.3 <code>col</code>, and <code>input</code> elements.</p>
238 wakaba 1.1
239 wakaba 1.11 <dl class="switch">
240 wakaba 1.9 <dt><code>&lt;script/&gt;</code></dt>
241 wakaba 1.10 <dd><p>The polytheistic slash cannot be used for <code>script</code>
242 wakaba 1.9 element. Even for an empty <code>script</code> element,
243 wakaba 1.14 there must be an explicit end tag
244     <code class="html example">&lt;/script&gt;</code>.</p>
245 wakaba 1.9
246     <p><strong>NOTE</strong>: Though some user agents interpret
247 wakaba 1.10 polytheistic slash for <code>script</code> element as the
248 wakaba 1.9 closing of the element, such usage is not allowed under
249     the current standard.</p></dd>
250     <dt><code>&lt;basefont/&gt;</code>, <code>&lt;bgsound/&gt;</code>,
251     <code>&lt;frame/&gt;</code>, <code>&lt;keygen/&gt;</code>,
252     <code>&lt;spacer/&gt;</code>, <code>&lt;wbr/&gt;</code></dt>
253     <dd>These elements are themselves non-conforming.</dd>
254     <!-- isindex, image -->
255     <dt><code>&lt;command/&gt;</code>, <code>&lt;event-source/&gt;</code>,
256 wakaba 1.11 <code>&lt;nest/&gt;</code>, or <code>&lt;source/&gt;</code></dt>
257 wakaba 1.9 <dd>Future revision of HTML5 parsing algorithm is expected
258 wakaba 1.10 to allow polytheistic slash for these elements.</dd>
259 wakaba 1.9 <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>
260     <dd>These elements are not always empty and therefore
261 wakaba 1.14 polytheistic slash is not allowed. Use explicit end tag
262     to represent empty element as:
263     <pre class="example html">
264     <code>&lt;p&gt;&lt;/p&gt;</code></pre>
265     </dd>
266 wakaba 1.9 </dl>
267    
268 wakaba 1.10 <p>Note that, unlike in XML, the polytheistic slash has
269 wakaba 1.1 no effect in HTML.</p>
270     </div>
271    
272 wakaba 1.5
273     <div class="section tokenize-error" id="pio"><h3>Processing instruction
274 wakaba 1.9 (<code>&lt;?<var>...</var>&gt;</code>) cannot be used.</h3>
275 wakaba 1.5 <p>Processing instructions (<code>&lt;?<var>...</var>?&gt;</code>),
276     including XML declaration (<code>&lt;?xml <var>...</var>?&gt;</code>)
277     and XML style sheet <abbr title="processing instruction">PI</abbr>
278 wakaba 1.9 (<code>&lt;?xml-stylesheet <var>...</var>?&gt;</code>), are not allowed
279 wakaba 1.5 in the HTML syntax. The document is non-conforming.</p>
280    
281 wakaba 1.11 <dl class="switch">
282     <dt><code>&lt;?xbl?&gt;</code> (<abbr>XBL</abbr> Association)</dt>
283     <dd>An <abbr>XBL</abbr> binding cannot be associated by
284     <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>
285     document. Use <code>binding</code> property in <abbr>CSS</abbr>
286 wakaba 1.14 style sheet as:
287     <pre class="html example">
288     <code>&lt;style&gt;
289     p {
290     binding: url(binding.xbl);
291     }
292     &lt;/style&gt;</code></pre>
293     </dd>
294 wakaba 1.9 <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
295     <dd>XML declaration is unnecessary for HTML documents.</dd>
296     <dt><code>&lt;?xml-stylesheet?&gt;</code> (XML style sheet
297 wakaba 1.11 <abbr title="processing instruction">PI</abbr>)</dt>
298 wakaba 1.9 <dd>Use HTML <code>link</code> element with <code>rel</code>
299     attribute set to <code>stylesheet</code> (or,
300     <code>alternate stylesheet</code> for an alternate style
301 wakaba 1.14 sheet).
302     <pre class="example html">
303     <code>&lt;link rel=stylesheet href=&quot;path/to/stylesheet.css&quot;&gt;</code></pre>
304     </dd>
305 wakaba 1.11 <dt><code>&lt;?php?&gt;</code> or
306     <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
307     (<abbr>PHP</abbr> code)</dt>
308 wakaba 1.9 <dd>The conformance checker does <em>not</em> support
309     checking for PHP source documents.</dd>
310     <dt>Other processing instructions</dt>
311     <dd>Processing instructions cannot be inserted in an HTML
312     document. Use XML document or insert
313     <code>ProcessingInstruction</code> node by scripting.</dd>
314     </dl>
315 wakaba 1.5
316     <p>Web browsers will parse processing instructions as bogus
317     comments. Some legacy Web browsers, such as IE:mac and
318 wakaba 1.9 some mobile Web browsers, will display processing instructions
319 wakaba 1.5 as string.</p>
320     </div>
321    
322 wakaba 1.1 </section>
323    
324 wakaba 1.2 <section id="html5-parse-errors">
325     <h2>HTML5 Parse Errors in Tree Construction Stage</h2>
326    
327     <div class="section parse-error" id="after-head"><h3>The <code><var>$0</var></code> element cannot be
328     inserted between <code>head</code> and <code>body</code> elements.</h3>
329 wakaba 1.3 <p>A start tag appears after the <code>head</code> element is closed
330 wakaba 1.2 but before the <code>body</code> element is opened.
331     The document is non-conforming.</p>
332     </div>
333    
334 wakaba 1.4 <div class="section parse-error" id="DOCTYPE-in-the-middle"><h3>A <code>DOCTYPE</code> appears after any
335     element or data character has been seen.</h3>
336     <p>A <code>DOCTYPE</code> appears after any element or data character
337     has been seen. The document is non-conforming.</p>
338    
339     <p>The <code>DOCTYPE</code> must be placed before any
340     tag, reference, or data character. Only white space characters
341     and comments can be inserted before the <code>DOCTYPE</code>.</p>
342     </div>
343    
344 wakaba 1.5 <div class="section parse-error" id="in-a:a"><h3>Anchor cannot be nested.</h3>
345     <p>HTML <code>a</code> elements cannot be nested.
346     The document is non-conforming.</p>
347    
348     <p>In the HTML syntax, a start tag of the <code>a</code>
349     implies the end tag of any opening <code>a</code> element.</p>
350     </div>
351    
352 wakaba 1.4 <div class="section parse-error" id="in-body"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
353 wakaba 1.9 is not allowed in the <code>body</code> element.</h3>
354 wakaba 1.4 <p>The start or end tag of an element, which
355     cannot be a descendant of <code>body</code> element, appears
356     in the input stream while the <code>body</code> element has been opened.
357     The document is non-conforming.</p>
358     </div>
359    
360 wakaba 1.9 <div class="section parse-error" id="in-head:head"><h3>Start tag <code>&lt;head&gt;</code>
361 wakaba 1.6 is not allowed in the <code>head</code> element.</h3>
362     <p>There is a start tag <code>&lt;head&gt;</code> in the
363     <code>&lt;head&gt;</code> element. The document is non-conforming.</p>
364    
365     <p>In an HTML document there must not be more than
366     one <code>head</code> element, therefore no more than one
367     start tag <code>&lt;head&gt;</code> can appear in the input stream.</p>
368     </div>
369    
370 wakaba 1.3 <div class="section parse-error" id="in-table"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
371 wakaba 1.6 is not allowed in a <code>table</code> element.</h3>
372 wakaba 1.4 <p>The start or end tag of an element, which
373     cannot be a child of <code>table</code> element, appears
374     in the input stream while the <code>table</code> element has been opened
375     but no other element has been opened. The document is non-conforming.</p>
376 wakaba 1.3
377     <p>In <code>table</code>, only table related elements
378     are allowed; any other element must be contained in
379     <code>td</code> or <code>th</code> element to form
380     a part of the table, or <code>caption</code> element to create
381     a table caption.</p>
382     </div>
383    
384     <div class="section parse-error" id="in-table:#character"><h3>Data character is not allowed in
385     <code>table</code>.</h3>
386     <p>A data character appears in <code>table</code>. The document
387     is non-conforming.</p>
388    
389     <p>In <code>table</code>, only table related elements
390     are allowed; any other element and data character must be contained in
391     <code>td</code> or <code>th</code> element to form
392     a part of the table, or <code>caption</code> element to create
393     a table caption.</p>
394     </div>
395    
396     <div class="section parse-error" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code>
397     element is missing.</h3>
398     <p>Start tag of a <code>tr</code> element, which is <em>not</em>
399     optional, is missing. The document is non-conforming.</p>
400    
401     <p>In a table section, a <code>&lt;tr&gt;</code> start tag
402     must occur before any <code>&lt;td&gt;</code> or
403     <code>&lt;th&gt;</code> start tag. Though the HTML5 parser
404     implies the <code>&lt;tr&gt;</code> start tag before
405     these start tags, it must be explicitly specified.</p>
406     </div>
407    
408 wakaba 1.6 <div class="section parse-error" id="no-DOCTYPE"><h3>This document does not start with a
409 wakaba 1.3 <code>DOCTYPE</code>.</h3>
410     <p>The document does not start with a <code>DOCTYPE</code>.
411     The document is non-conforming.</p>
412    
413     <p>An HTML document must start by a <code>DOCTYPE</code>:
414     <pre class="html example">
415     <code>&lt;!DOCTYPE HTML&gt;</code></pre>
416     </p>
417    
418     <p>Only white space characters and comments are allowed
419 wakaba 1.11 before the <code>DOCTYPE</code>. XML declaration is <em>not</em>
420     allowed in HTML document.</p>
421 wakaba 1.3 </div>
422 wakaba 1.2
423     <div class="section parse-error" id="not-closed"><h3>Element <code><var>$0</var></code> is not
424 wakaba 1.3 closed.</h3>
425     <p>End tag of an element is not found before, for example,
426     an end tag of another element appears or
427     the end of the document. The document is non-conforming.</p>
428 wakaba 1.10
429 wakaba 1.11 <p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>,
430     <code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>,
431 wakaba 1.10 <code>ol</code>, <code>option</code>, <code>optgroup</code>,
432 wakaba 1.11 <code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>,
433     <code>tbody</code>, <code>td</code>, <code>tfoot</code>,
434     <code>th</code>, <code>thead</code>, <code>tr</code>,
435     <code>ul</code> end tag can be omitted in HTML documents.
436 wakaba 1.10 For any element except for void element, there must be an explicit
437     end tag.</p>
438    
439 wakaba 1.11 <dl class="switch">
440     <dt>HTML <code>canvas</code> element</dt>
441     <dd>Though the element is void in earlier versions of Safari,
442     the <code>canvas</code> element is <em>no</em> longer
443     defined as empty. There must be an end tag
444 wakaba 1.14 <code class="html example">&lt;/canvas&gt;</code>.</dd>
445 wakaba 1.11 </dl>
446    
447 wakaba 1.10 <p>Note that misnesting tags, such as
448     <code class="bad example">&lt;a&gt;&lt;b&gt;&lt;/a&gt;&lt;/b&gt;</code>, are not
449     allowed and they also cause this error.</p>
450 wakaba 1.3 </div>
451 wakaba 1.2
452 wakaba 1.6 <div class="section parse-error" id="not-first-start-tag"><h3>This <code>&lt;html&gt;</code> tag is not
453     the first start tag.</h3>
454     <p>There is a start tag of the <code>html</code> element
455     that it not the first start tag in the input stream.
456     The document is non-conforming.</p>
457    
458     <p>In an HTML document, there cannot be more than one
459     <code>html</code> element and therefore there cannot be
460     more than one <code>&lt;html&gt;</code> tag. In addition,
461     nothing can be placed before the <code>&lt;html&gt;</code> tag
462     except a <code>DOCTYPE</code>, white space characters,
463     and comments.</p>
464     </div>
465    
466 wakaba 1.2 <div class="section parse-error" id="not-HTML5"><h3>This document is written in an old version of
467 wakaba 1.3 HTML.</h3>
468     <p>The document contains a <code>DOCTYPE</code> declaration
469 wakaba 1.6 that is different from HTML5 <code>DOCTYPE</code> (i.e.
470 wakaba 1.14 <code class="example html">&lt;!DOCTYPE HTML&gt;</code>).
471     The document is non‐conforming.</p>
472 wakaba 1.3
473     <p>The document might or might not be conformant to
474     some version of HTML. However, conformance to any HTML
475     specification other than HTML5 provides for no practical
476     convenience, since Web borwsers will parse any
477     HTML document (roughly) as defined in HTML5.</p>
478     </div>
479 wakaba 1.2
480     <div class="section parse-error" id="unmatched-end-tag"><h3>Element <code><var>$0</var></code> is not
481 wakaba 1.4 opened.</h3>
482     <p>An end tag appears though no element with the same name
483     has been opened. The document is non-conforming.</p>
484    
485     <p>For any end tag in HTML document, there must be a
486     corresponding start tag.</p>
487 wakaba 1.11
488     <dl class="switch">
489     <dt>HTML <code>base</code>, <code>basefont</code>,
490     <code>bgsound</code>, <code>br</code>, <code>col</code>,
491     <code>embed</code>, <code>frame</code>, <code>hr</code>,
492     <code>image</code>, <code>img</code>, <code>input</code>,
493     <code>isindex</code>, <code>link</code>, <code>meta</code>,
494     <code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt>
495     <dd>End tag is not allowed for these elements, since
496     those content must always be empty. Remove end tag.</dd>
497     <!-- keygen -->
498     <!-- command, event-source, nest, source -->
499     </dl>
500 wakaba 1.4 </div>
501 wakaba 1.2
502     </section>
503    
504 wakaba 1.1 <section id="element-content-model-errors">
505     <h2>Element Content Model Errors</h2>
506    
507     <div class="section content-model-error" id="character-not-allowed"><h3>Data character is not allowed in this
508     context.</h3>
509 wakaba 1.3 <p>A data character appears where it is not allowed in this
510 wakaba 1.1 context. The document is non-conforming.</p>
511    
512     <p>Possible causes:
513 wakaba 1.6 <ul>
514     <li><p>A data character cannot be a child
515     of certain sectioning elements such as <code>body</code>,
516     <code>section</code>, and <code>blockquote</code>.</p>
517    
518     <p>Any inline-level content must be put
519     in e.g. paragraph element such as <code>p</code>.</p></li>
520     <li><p>Though some elements such as <code>div</code>,
521     <code>li</code>, and <code>td</code> allow
522     <em>either one</em> of block-level or inline-level content
523     is allowed. If there is a block-level content,
524     any inline-level content must be put
525     in e.g. paragraph element such as <code>p</code>.</p></li>
526     </ul>
527 wakaba 1.1 </p>
528     </div>
529    
530     <div class="section content-model-error" id="child-element-missing"><h3>There must be a <code><var>$0</var></code>
531     element as a child of this element.</h3>
532     <p>The content model of the element is so defined that it
533     must contain a <code><var>$0</var></code> child element.
534 wakaba 1.3 The document is non-conforming.</p>
535 wakaba 1.1
536 wakaba 1.11 <dl class="switch">
537     <dt>HTML <code>head</code> element</dt>
538     <dd>There must be a <code>title</code> child element.</dd>
539     <dt>HTML <code>html</code> element</dt>
540     <dd>There must be a <code>head</code> child element followed
541     by a <code>body</code> element.</dd>
542     <dt>HTML <code>tr</code> element</dt>
543     <dd><a href="#child-element-missing:td%7Cth">There must be
544     one or more <code>td</code> or <code>th</code> child element.</a></dd>
545     </dl>
546 wakaba 1.1 </div>
547    
548     <div class="section content-model-error" id="child-element-missing:td|th"><h3>There must be a <code>td</code>
549     or <code>th</code> element as a child of this element.</h3>
550     <p>The <code>tr</code> element must contain at least one
551 wakaba 1.3 <code>td</code> or <code>th</code> child element. The document
552     is non-conforming.</p>
553 wakaba 1.1 </div>
554    
555     <div class="section content-model-error" id="element-not-allowed"><h3>This element is not allowed in this
556     context.</h3>
557 wakaba 1.3 <p>An element appears where it is not allowed. The document
558 wakaba 1.1 is non-conforming.</p>
559    
560     <p>Possible causes:
561 wakaba 1.6 <dl class="switch">
562     <dt>If the element with the error is an inline-level element,
563     such as <code>a</code>, <code>progress</code>, or <code>img</code></dt>
564 wakaba 1.1 <dd><p>An inline-level element cannot be a child
565     of certain sectioning elements such as <code>body</code>,
566     <code>section</code>, and <code>blockquote</code>.</p>
567    
568     <p>Any inline-level content must be put
569     in e.g. paragraph element such as <code>p</code>.</p></dd>
570 wakaba 1.9 <dt>If it is a block-level elements, such as <code>aside</code>,
571     <code>div</code>, <code>h<var>n</var></code>,
572     <code>p</code>, or <code>section</code></dt>
573     <dd><dl class="switch">
574     <dt>If the parent element is <code>div</code>,
575     <code>li</code>, <code>td</code>, or <code>th</code></dt>
576     <!-- @@ TODO: more... -->
577 wakaba 1.10 <!-- @@ TODO: <p><ul><li><p> -->
578 wakaba 1.9 <dd><p>The parent element allows <em>either</em>
579     block-level or inline-level content. If there is a
580     block-level content, any inline-level content must be
581     put in e.g. paragraph element such as <code>p</code>.</p>
582     <p>For example, an HTML document fragment
583 wakaba 1.14 <code class="html bad example">&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; World!&lt;/div&gt;</code>
584 wakaba 1.9 is non-conforming, since a word <q>World!</q> does not belong
585     to any paragraph. (If not part of any paragraph, what is
586     it!?) A conforming example would be:
587 wakaba 1.14 <pre class="html example">
588 wakaba 1.9 <code>&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; &lt;p&gt;World!&lt;/p&gt;&lt;/div&gt;</code></pre>
589     </p></dd>
590     <dt>If the parent element does <em>not</em> allow
591     block-level elements as content</dt>
592     <dd>The element is not allowed to be inserted here.
593     For example, a <code>div</code> element cannot be
594     a child of an <code>h1</code> element.</dd>
595     </dl></dd>
596 wakaba 1.6 <dt>If the element with the error is a <code>noscript</code> element</dt>
597     <dd>The <code>noscript</code> element is allowed only in the context
598     where a block-level or inline-level content is expected
599     and in the <code>head</code> element.
600     It cannot be used in e.g. <code>ul</code>, <code>table</code>,
601     or <code>select</code>.</dd>
602 wakaba 1.8 <dt>If the element with the error is <code>blink</code>,
603     <code>center</code>, or <code>marquee</code> element</dt>
604     <dd>These elements are not part of the HTML standard.
605     Use CSS for styling control.</dd>
606 wakaba 1.9
607 wakaba 1.11 <dt><code>button</code>, <code>datalist</code>,
608     <code>fieldset</code>, <code>form</code>,
609 wakaba 1.9 <code>input</code>, <code>label</code>,
610     <code>optgroup</code>, <code>option</code>, <code>output</code>,
611     <code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>,
612     <code>textarea</code>, or <code>textarea</code> element</dt>
613     <!-- rbc, rtc ? -->
614     <dd>These elements are intentionally not supported by the conformance
615     checker <em>yet</em>.</dd>
616 wakaba 1.1 </dl>
617     </p>
618     </div>
619    
620 wakaba 1.11 <div class="section content-model-error" id="element-not-allowed:root"><h3>This element is not allowed as a root
621     element.</h3>
622     <p>An element that is not allowed as the root element
623     is used as the root element of the document. The document is
624     non-conforming, as far as the conformance checker can tell.</p>
625    
626     <dl class="switch">
627     <dt><code>html</code> element in an XHTML document</dt>
628 wakaba 1.14 <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
629     element must have an <code>xmlns</code> attribute as:
630     <pre class="xml example">
631     <code>&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;</code></pre></p></dd>
632 wakaba 1.11 <dt><code>rss</code> element</dt>
633     <dd><p>The document is written in some version of RSS.</p>
634     <p>The conformance checker does not support any version
635     of RSS. Use Atom 1.0 for feed documents.</p></dd>
636     <dt><code>feed</code> element</dt>
637     <dd><p>The Atom <code>feed</code> element must be
638 wakaba 1.14 in the <code>http://www.w3.org/2005/Atom</code>
639     namespace as:
640     <pre class="xml example">
641     <code>&lt;feed xmlns=&quot;http://www.w3.org/2005/Atom&quot;&gt;</code></pre>
642     </p>
643 wakaba 1.11 <p>The conformance checker does not support Atom 0.3.
644     Use Atom 1.0 for feed documents.</p></dd>
645     </dl>
646     </div>
647    
648 wakaba 1.6 <div class="section content-model-error" id="ps-element-missing"><h3>There is no <code><var>$0</var></code>
649     element before this element.</h3>
650     <p>There must be an element before another element, but there
651     is not. The document is non-conforming.</p>
652    
653     <p>For example, there must be a <code>dt</code> element
654     before any <code>dd</code> element.</p>
655     </div>
656    
657 wakaba 1.2 </section>
658    
659 wakaba 1.3 <section id="attribute-errors">
660     <h2>Attribute Errors</h2>
661    
662     <div class="section attribute-error" id="attribute-missing"><h3>Required attribute <code><var>$0</var></code>
663     is not specified.</h3>
664     <p>A required attribute is not specified. The document
665     is non-conforming.</p>
666    
667     <p>Some attribute is defined as <i>required</i>.
668     Without required attributes specified, user agents
669 wakaba 1.9 cannot provide full functionality of the element to the user.</p>
670    
671     <dl class="switch">
672     <dt>HTML <code>img</code> element</dt>
673     <dd>The <code>src</code> attribute must be specified.
674     Additionally, the <code>alt</code> attribute must be specified
675     in many cases.</dd>
676     <dt>HTML <code>link</code> element</dt>
677     <dd>The <code>rel</code> attribute must be specified.
678     Note that the <code>rev</code> attribute is obsolete.</dd>
679     </dl>
680 wakaba 1.3 </div>
681    
682 wakaba 1.8 <div class="section attribute-error" id="attribute-not-allowed"><h3>Attribute
683     <code><var>{local-name}</var></code> is not allowed for
684     <code><var>{element-local-name}</var></code> element.</h3>
685     <p>An attribute is specified where it is not allowed.
686     The document is non-conforming.</p>
687    
688     <dl>
689     <dt>HTML <code>meta</code> element</dt>
690     <dd>For HTML <code>meta</code> element, <em>only one</em> of
691     <code>name</code>, <code>http-equiv</code>, or <code>charset</code>
692     attribute is allowed.</dd>
693     </dl>
694     </div>
695    
696 wakaba 1.3 <div class="section attribute-error" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute is not
697     allowed in HTML document.</h3>
698     <p>The <code>xml:lang</code> attribute is not allowed in
699     HTML document. The document is non-conforming.</p>
700    
701 wakaba 1.9 <p>Use of the <code>xml:lang</code> attribute is conforming
702     <em>only</em> in XML documents.</p>
703 wakaba 1.3
704     <p>To specify natural language information in HTML document,
705     use <code>lang</code> attribute instead.</p>
706 wakaba 1.6
707     <p>XHTML 1.0 Appendix C was encouraged to specify both
708     <code>lang</code> and <code>xml:lang</code> attributes with
709     the same value. Such a duplication has <em>no effect</em> in practice.
710     Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in
711     XML).</p>
712    
713 wakaba 1.3 <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created
714     from an HTML document? -->
715     </div>
716    
717     <div class="section attribute-error" id="in-XML:charset"><h3>The <code>charset</code> attribute is not
718     allowed in XML document.</h3>
719     <p>The <code>charset</code> attribute of a
720     <code>meta</code> element is not allowed in XML document.
721     The document is non-conforming.</p>
722    
723     <p>To specify the character encoding used for serialization,
724     if necessary, use XML declaration instead:
725     <pre class="xml example">
726     <code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;<var>encoding-name</var>&quot;?&gt;</code></pre>
727     </p>
728     </div>
729    
730     <div class="section attribute-error" id="in-XML:lang"><h3>The <code>lang</code> attribute is not
731     allowed in XML document.</h3>
732     <p>The HTML <code>lang</code> attribute is not allowed in
733     XML document. The document is non-conforming.</p>
734    
735     <p>The <code>lang</code> attribute in <code>null</code>
736 wakaba 1.9 namespace for HTML elements is conforming <em>only</em> in
737     HTML documents.</p>
738 wakaba 1.3
739     <p>To specify natural language information in XML document,
740     use <code>xml:lang</code> attribute instead.</p>
741     </div>
742    
743     <div class="section attribute-error" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute
744     in the <code>null</code> namespace is not allowed in
745     XHTML document. The document is non-conforming.</h3>
746     <p>The <code>xmlns</code> attribute in the <code>null</code>
747     namespace is not allowed in XHTML document.</p>
748    
749 wakaba 1.9 <p>This error should not occur in conformance-checking of
750 wakaba 1.3 static documents.</p>
751     </div>
752    
753     </section>
754    
755 wakaba 1.2 <section id="attribute-value-errors">
756     <h2>Attribute Value Errors</h2>
757    
758 wakaba 1.3 <div class="section attribute-value-error" id="enumerated:invalid"><h3>This attribute only allow a limited set of
759 wakaba 1.6 values and the specified value <code><var>{@}</var></code> is not one
760 wakaba 1.8 of them.</h3>
761     <p>For this attribute only several values are allowed and the
762     value of the attribute is not one of them. The document
763     is non-conforming.</p>
764    
765     <dl>
766     <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
767 wakaba 1.14 <dd><p>Only values <code>Default-Style</code> and <code>Refresh</code>
768     are allowed.</p>
769 wakaba 1.8 <p>Value <code>Content-Type</code> is obsolete; for charset
770     declaration, the <code>charset</code> attribute can be used as:
771     <pre class="html example">
772     <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>
773     ... where <var>charset-name</var> is a name of the character encoding
774     of the document, such as <code>utf-8</code>.</p>
775     <p>Values <code>Content-Style-Type</code> and
776     <code>Content-Script-Type</code> are currently not allowed.</p>
777     <p>Value <code>Keywords</code> is not allowed. Use
778     <code>name</code> attribute instead of <code>http-equiv</code>
779     attribute.</p>
780     <p>Values <code>Expires</code>, <code>Pragma</code>,
781     and <code>Cache-Control</code> are not allowed;
782     use <em>real</em> HTTP header fields for cache control.</p></dd>
783     </dl>
784     </div>
785 wakaba 1.2
786 wakaba 1.13 <div class="section attribute-value-error" id="enumerated:invalid:http-equiv:content-type"><h3>Charset declaration syntax
787 wakaba 1.14 <code class="html bad example">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>
788 wakaba 1.13 is obsolete.</h3>
789     <p>Old long charset declaration syntax
790 wakaba 1.14 <code class="html bad example">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>
791 wakaba 1.13 is in use. The document is non‐conforming.</p>
792    
793     <p>The new charset declaration syntax is:
794 wakaba 1.14 <pre class="html example">
795 wakaba 1.13 <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>
796     </p>
797     </div>
798    
799 wakaba 1.3 <div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been
800     assigned to another element.</h3></div>
801    
802 wakaba 1.4 <div class="section attribute-value-error" id="link-type:bad-context"><h3>The link type <code><var>$0</var></code>
803     cannot be specified for this element.</h3>
804     <p>The specified link type cannot be used for the element.
805     The document is non-conforming.</p>
806    
807     <p>Link types are associated with limited set of elements.
808     They cannot be used with other elements.</p>
809    
810     <p>For example, link type <code>bookmark</code>
811     can be used with <code>a</code> or <code>area</code> element,
812     while it cannot be used with <code>link</code> element.</p>
813     </div>
814    
815     <div class="section attribute-value-error" id="link-type:non-conforming"><h3>The link type <code><var>$0</var></code>
816     is non-conforming.</h3>
817 wakaba 1.6 <p>The specified link type is non-conforming, and therefore
818     the document is non-conforming.</p>
819    
820 wakaba 1.11 <dl class="switch">
821 wakaba 1.6 <dt>Link type <code>contents</code></dt>
822     <dd>Use link type <code>index</code>.</dd>
823     <dt>Link type <code>copyright</code></dt>
824     <dd>Use link type <code>license</code>.</dd>
825     <dt>Link type <code>home</code></dt>
826     <dd>Use link type <code>index</code>.</dd>
827 wakaba 1.11 <dt>Link type <code>previous</code></dt>
828     <dd>Use link type <code>prev</code>.</dd>
829 wakaba 1.6 <dt>Link type <code>start</code></dt>
830     <dd>Use link type <code>first</code>.</dd>
831 wakaba 1.11 <dt>Link type <code>toc</code> or <code>top</code></dt>
832 wakaba 1.6 <dd>Use link type <code>index</code>.</dd>
833     </dl>
834     </div>
835    
836     <div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>Browsing context name
837     <code><var>{@}</var></code> is reserved.</h3>
838     <p>The specified browsing context name is reserved.
839     The document is non-conforming.</p>
840 wakaba 1.4
841 wakaba 1.6 <p>Names of browsing contexts starting with <code>_</code>
842     (<code>U+005F</code> <code class="charname">LOW LINE</code>)
843     are reserved so that it must not be used.</p>
844    
845     <p>Old version of HTML, non-HTML markup languages, and
846     Web browsers define or implements special reserved
847     browsing context names <code>_blank</code>,
848     <code>_main</code>, and <code>_replace</code>.
849     However, they are <em>not</em> conforming attribute values.</p>
850 wakaba 1.4 </div>
851    
852 wakaba 1.2 </section>
853    
854 wakaba 1.4 <section id="attribute-value-warnings">
855     <h2>Attribute Value Warnings</h2>
856    
857     <div class="section attribute-value-warning should" id="s:link-type:proposed"><h3>Link type <code><var>$0</var></code>
858     is proposed but not accepted yet; it <em>should not</em> be
859     used until it has been accepted.</h3>
860     <p>The link type is in the <i>proposed</i> status; it
861     <em>should not</em> be used until it has been
862     accepted.</p>
863    
864     <p><strong>Warning</strong>: The data served to the
865     conforming checker might be out of date; it might have already
866 wakaba 1.11 been accepted or rejected. The document might or might not be
867     conforming depending on the status. See WHATWG Wiki
868 wakaba 1.4 for the latest information.</p>
869     </div>
870    
871     </section>
872    
873 wakaba 1.2 <section id="table-model-errors">
874     <h2>Table Model Errors</h2>
875    
876 wakaba 1.3 <div class="section table-model-error" id="table:colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute
877     results in creating a table column that does not contain
878     any cell anchored to it.</h3></div>
879    
880 wakaba 1.2 <div class="section table-model-error" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or
881     <code>th</code>) in the last row.</h3></div>
882    
883 wakaba 1.6 <div class="section table-model-error" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute
884     results in creating a table row that does not contain
885     any cell anchored to it.</h3>
886     <p>The <code>rowspan</code> attribute value of the cell
887     is so specified that it extends a table in the row axis.
888     However, the extended row does not contain any cell by itself.
889     The document is non-conforming.</p>
890    
891     <p>For example, the table below is non-conforming:
892 wakaba 1.14 <pre class="html bad example">
893 wakaba 1.6 <code>&lt;table&gt;
894     &lt;tbody&gt;
895     &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;
896     &lt;/tbody&gt;
897     &lt;/table&gt;</code></pre>
898 wakaba 1.9 ... since the second row contains only
899     a cell that spans between first and second rows.</p>
900 wakaba 1.6 </div>
901    
902 wakaba 1.2 </section>
903    
904     <section id="imt-warnings">
905     <h2>Internet Media Type Warnings</h2>
906 wakaba 1.1
907 wakaba 1.6 <div class="section should" id="s:IMT:obsolete-subtype"><h3><code><var>{@}</var></code>: An <em>obsolete</em>
908     subtype is used.</h3></div>
909 wakaba 1.2
910 wakaba 1.6 <div class="section should" id="s:IMT:private-subtype"><h3><code><var>{@}</var></code>: A private
911     (<code>x-</code> or <code>x.</code>) subtype is used.</h3></div>
912 wakaba 1.2
913 wakaba 1.6 <div class="section should" id="s:IMT:unregistered-subtype"><h3><code><var>{@}</var></code>: The subtype is
914     not registered to IANA.</h3></div>
915 wakaba 1.2
916     </section>
917    
918     <section id="uri-errors">
919     <h2>URI (or IRI) Errors</h2>
920    
921 wakaba 1.6 <div class="section must" id="m:URI::syntax-error"><h3>The specified value is syntactically not an IRI
922     reference.</h3>
923     <p>The specified value does not satisfy the syntactical requirements
924     for IRI references. The document is non-conforming.</p>
925    
926     <p>Possible causes:
927     <ul>
928     <li>The string might contain one or more white space characters.
929     Especially, the <code> </code> (<code>U+0020</code>
930     <code class="charname">SPACE</code>) character cannot be
931     used in IRI references.</li>
932     </ul>
933     </p>
934     </div>
935 wakaba 1.2
936     </section>
937    
938 wakaba 1.9 <section id="uri-shoulds">
939     <h2>URI (or IRI) Should-level Errors</h2>
940 wakaba 1.3
941 wakaba 1.9 <div class="section should" id="s:URI::dot-segment"><h3>A dot-segment (<code>.</code> or
942     <code>..</code>) occurs in an absolute reference.</h3>
943 wakaba 1.3 <p>Dot-segment (<code>.</code> or <code>..</code>) should
944     not occur in an absolute reference.</p>
945    
946     <p>In relative references, dot-segments are used to represent
947     the current (<code>.</code>) or the parent (<code>..</code>)
948     hierarchy of the path. Though they are also allowed
949     in absolute references, it should be resolved to the
950     canonical form before it has been published.</p>
951     </div>
952 wakaba 1.2
953 wakaba 1.9 <div class="section should" id="s:URI::empty-path"><h3>This IRI does not end with
954     a <code>/</code>.</h3></div>
955 wakaba 1.1
956 wakaba 1.9 <div class="section should" id="s:URI::lowercase-hexadecimal-digit"><h3>A lowercase hexadecimal digit is used
957     in percent-encoding.</h3>
958 wakaba 1.5 <p>The hexadecimal digit in percent-encoding string in the IRI
959 wakaba 1.4 is in lowercase. Though the IRI <em>is</em> conforming,
960     it should be in uppercase.</p>
961     </div>
962    
963     <div class="section should" id="s:URI::percent-encoded-unreserved"><h3>An unreserved character is
964     percent-encoded.</h3>
965     <p>An unreserved character is percent-encoded in the IRI.
966     Though it <em>is</em> conforming, it should be in the
967     decoded (or bare) form.</p>
968     </div>
969    
970 wakaba 1.6 <div class="section should" id="s:URI::uppercase-scheme-name"><h3>URI scheme name is in uppercase.</h3>
971     <p>The scheme part of the IRI is written in uppercase letter.</p>
972    
973     <p>Uppercase scheme names are not required to be processed
974     correctly.</p>
975     <!-- @@
976     RFC 3986 3.1.
977     > Although schemes are case-
978     insensitive, the canonical form is lowercase and documents that
979     specify schemes must do so with lowercase letters.
980    
981     > An implementation ... should only produce lowercase scheme names for
982     consistency.
983     -->
984     </div>
985    
986 wakaba 1.1 </section>
987    
988 wakaba 1.11 <section id="cache-manifest-errors">
989     <h2>Cache Manifest Errors</h2>
990    
991     <div class="section must" id="m:not-manifest"><h3>This document is not a cache manifest.</h3>
992     <p>The specified document is <em>not</em> a cache manifest.
993     The document is non-conforming.</p>
994    
995     <p>An entity labeled as Internet media type
996     <code>text/cache-manifest</code> must contain a cache manifest.</p>
997    
998     <p>A cache manifest must start with a line whose content is
999 wakaba 1.14 <code class="manifest example">CACHE MANIFEST</code>
1000     (exactly one space character between
1001 wakaba 1.11 <code>CACHE</code> and <code>MANIFEST</code>).</p>
1002     </div>
1003     </section>
1004    
1005 wakaba 1.1 <section id="unsupported-messages">
1006     <h2><i>Unsupported</i> Messages</h2>
1007    
1008 wakaba 1.9 <div class="section unsupported" id="unsupported:element"><h3>Conformance checking for element
1009     <code><var>{local-name}</var></code> is not supported; <em>it might or
1010     might not be conforming</em>.</h3>
1011     <p>The conformant checker does not support the element.
1012 wakaba 1.1 It cannot determine whether the document is conforming or not.</p>
1013     </div>
1014    
1015 wakaba 1.9 <div class="section unsupported" id="unsupported:attribute"><h3>Conformance checking for attribute
1016     <code><var>{local-name}</var></code> of element
1017     <code><var>{element-local-name}</var></code> is not supported;
1018     <em>it might or might not be conforming</em>.</h3>
1019     <p>The conformant checker does not support the attribute.
1020 wakaba 1.1 It cannot determine whether the document is conforming or not.</p>
1021     </div>
1022    
1023 wakaba 1.9 <div class="section unsupported" id="unsupported:link-type"><h3>Link type <code><var>$0</var></code> is not
1024 wakaba 1.4 standardized or registered at the time of the release of the conformance
1025 wakaba 1.9 checker; <em>it is non-conforming unless it now has been
1026 wakaba 1.4 registered</em>.</h3>
1027 wakaba 1.1 <p>The <code>rel</code> attribute is defined as a list of link types.
1028     Some common link types are defined in the HTML5 specification.
1029     Additional link types can be registered to the WHATWG Wiki.
1030     use of any other link type is non-conforming.</p>
1031    
1032     <p>The specified link type is not part of the standard or registry
1033     when the database used by the conformance cheker is created.
1034     The link type might have been added to the registry since then.
1035     In such case it might be conforming. Otherwise, the
1036     document is non-conforming.</p>
1037 wakaba 1.8
1038     <dl>
1039     <dt>Link types <code>shortcut icon</code></dt>
1040     <dd>Link type <code>shortcut</code> is not registered.
1041     Use only <code>icon</code> for linking to so-called favicon.</dd>
1042     </dl>
1043 wakaba 1.1 </div>
1044    
1045 wakaba 1.4 <div class="section unsupported" id="unsupported:event-handler"><h3>Conformance checking for event handler attribute
1046     is not supported; <em>it might or might not be conforming.</em></h3></div>
1047    
1048     <div class="section unsupported" id="unsupported:media-query"><h3>Conformance checking for media query
1049     is not supported; <em>it might or might not be conforming.</em></h3></div>
1050    
1051     <div class="section unsupported" id="unsupported:script"><h3>Conformance checking for script
1052     language <code><var>$0</var></code> is not supported;
1053     <em>it might or might not be conforming.</em></h3></div>
1054    
1055     <div class="section unsupported" id="unsupported:style"><h3>Conformance checking for style
1056     language <code><var>$0</var></code> is not supported;
1057     <em>it might or might not be conforming.</em></h3></div>
1058    
1059 wakaba 1.1 </section>
1060    
1061 wakaba 1.3
1062 wakaba 1.2
1063 wakaba 1.12 <section id="levels">
1064     <h2>Error Levels</h2>
1065    
1066     <table id="levels-table">
1067     <thead>
1068     <tr><th scope="col">Level</th>
1069     <th scope="col">Conforming?</th>
1070     <th scope="col">Description</th>
1071     </tr>
1072     </thead>
1073     <tbody>
1074     <tr class="level-m" id="level-m">
1075     <th scope="row"><em class="rfc2119">MUST</em>‐level error</th>
1076     <td>Non‐conforming.</td>
1077     <td>A violation to a hard requirement of the specification.
1078     The document is non‐conforming.</td>
1079     </tr>
1080     <tr class="level-s" id="level-s">
1081     <th scope="row"><em class="rfc2119">SHOULD</em>‐level error</th>
1082     <td>Non‐conforming, but <em>in some case</em>
1083     conforming.</td>
1084     <td>A violation to a requirement of the specification.
1085     The violation might be legitimize in some case. Otherwise,
1086     the document is non‐conforming.</td>
1087     </tr>
1088     <tr class="level-w" id="level-w">
1089     <th scope="row">Warning</th>
1090     <td>Conforming.</td>
1091     <td>A warning is an advice from the conformance checker to avoid
1092     to solve a problem in a confusing or possibly wrong way.
1093     It does not affect to the conformance of the document, and
1094     may sometimes be inappropriate.</td>
1095     </tr>
1096     <tr class="level-unsupported" id="level-unsupported">
1097     <th scope="row">Not supported</th>
1098     <td><em>Unknown</em>.</td>
1099     <td>Some feature that is not supported by the conformance checker
1100     is used in the document.</td>
1101     </tr>
1102     </tbody>
1103     </table>
1104     </section>
1105    
1106 wakaba 1.1 <section id="license">
1107     <h2>License of This Document</h2>
1108    
1109 wakaba 1.11 <p>Copyright <time>2007</time>
1110     <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>
1111     <code class="mail">&lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>&gt;</code>.</p>
1112    
1113 wakaba 1.9 <p>This document is free software; you can redistribute it
1114 wakaba 1.1 and/or modify it under the same terms as Perl itself.</p>
1115     </section>
1116    
1117 wakaba 1.13 <!-- $Date: 2007/11/05 09:33:52 $ -->
1118 wakaba 1.1 </body>
1119     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24