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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Wed Sep 10 10:22:59 2008 UTC (16 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.6: +64 -6 lines
++ ChangeLog	10 Sep 2008 10:21:38 -0000
2008-09-10  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: Encoding layer errors added.

++ html/WebHACC/ChangeLog	10 Sep 2008 10:22:56 -0000
2008-09-10  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm (nl_text): Support for |<var>{octets}</var>|,
	|<var>{char}</var>|, and |<var>{char:hexref}</var>|
	macros.
	(generate_input_section): More charsets are added
	to the list of charsets.

	* Result.pm: Pass |char| and |octets| arguments
	to |nl_text|.

1 wakaba 1.1 <!DOCTYPE html><html id="error-description" lang="ja" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml">
2     <head>
3     <base href="cc/">
4    
5 wakaba 1.2
6 wakaba 1.1 <link href="../cc-style" rel="stylesheet">
7     <link href="#license" rel="license">
8 wakaba 1.2 <title xml:lang="ja">誤りの説明 — WebHACC (β)</title></head>
9 wakaba 1.1 <body>
10     <header>
11     <h1><a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img alt="WebHACC" src="../icons/title"></abbr></a></h1>
12     <h2>Description of Errors</h2>
13     </header>
14    
15    
16    
17     <div class="section" id="WebHACC:Heading"><h3>
18    
19     </h3>
20     <p><a href="./#input"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr></a>
21     は、 Web 文書のための<em>適合性検査器</em> (妥当性検証器) です。
22     <a href="http://whatwg.org/html5"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>、
23     <a href="urn:ietf:rfc:4287">Atom 1.0</a>、
24     <a href="http://www.w3.org/Style/CSS/current-work"><abbr title="Cascading Style Sheets">CSS</abbr>3</a>
25     などの<a href="../standards">最新の Web 標準</a>に対応しています。</p>
26    
27     <p><strong><a href="./#input">文書を検査する</a></strong></p>
28    
29     <p><a href="../cc-about"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr>
30     の詳細</a></p>
31     </div>
32    
33     <section id="character-encoding-layer">
34     <h2>Character Encoding Layer Errors</h2>
35    
36 wakaba 1.7 <div class="section" id="fallback-char-error"><h3>Octet sequence <code><var>{octets}</var></code>
37     is not an allowed representation of the character
38     <code><var>{char}</var></code> — character reference
39     <code><var>{char:hexref}</var></code> should be used instead.</h3></div>
40    
41     <div class="section" id="fallback-unassigned-error"><h3>No character is assigned to octet sequence
42     <code><var>{octets}</var></code>.</h3></div>
43    
44     <div class="section" id="illegal-octets-error"><h3>Octet sequence <code><var>{octets}</var></code>
45     is illegal.</h3></div>
46    
47     <div class="section" id="invalid-state-error"><h3>The input stream is broken.</h3>
48     <p>The input stream is encoded in <code>ISO-2022-JP</code>
49     or its variant but is partially broken.</p>
50    
51     <p>Note that an <code>ISO-2022-JP</code> stream must end in the ASCII
52     state.</p>
53     </div>
54    
55     <div class="section" id="unassigned-code-point-error"><h3>No character is assigned to octet sequence
56     <code><var>{octets}</var></code>.</h3></div>
57 wakaba 1.1 </section>
58    
59     <section id="html5-character-encoding">
60     <h2>HTML5 Character Encoding Errors</h2>
61    
62     <div class="section" id="disallowed-character-encoding"><h3>Character encoding <code><var>{text}</var></code>
63     is not allowed for <abbr>HTML</abbr> document.</h3>
64     <p>The character encoding used for the document is not allowed
65     for <abbr>HTML</abbr> document. The document is non‐conforming.</p>
66     </div>
67    
68     <div class="section" id="bad-character-encoding"><h3>Character encoding <code><var>{text}</var></code>
69     should not be used for <abbr>HTML</abbr> document.</h3>
70     <p>The character encoding used for the document is not recommended
71     for <abbr>HTML</abbr> document. The document is non‐conforming
72     unless there is any good reason to use that encoding.</p>
73     </div>
74    
75     <div class="section" id="non-utf-8-character-encoding"><h3>Use of UTF-8 is encouraged (this document
76     is encoded in <code><var>{text}</var></code>).</h3>
77     <p>Use of UTF-8 as the character encoding of the document is encouraged,
78     though the use of another character encoding is still conforming.</p>
79     </div>
80    
81     <div class="section" id="character-encoding-unchecked"><h3>Conformance for character encoding requirements
82     cannot be checked, since the input is not a byte stream.</h3>
83     <p>The conformance checker cannot detect whether the input document
84     met the requirements on character encoding, since the document
85     is not inputed as a serialized byte sequence. The document is
86     not conforming if it is not encoded in an appropriate character
87     encoding with appropriate labeling.</p>
88     </div>
89    
90     <div class="section" id="no-character-encoding-declaration"><h3>There is no character encoding
91     declaration.</h3>
92     <p>The document does not contain a character encoding
93     declaration. Unless the character encoding is explicitly
94     specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>,
95     or is implied by <abbr>BOM</abbr>, there must be a character
96     encoding declaration. The document is non‐conforming.</p>
97    
98     <p>The long character encoding declaration syntax
99     <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
100     is obsolete. The new syntax is:</p>
101     <pre class="html example">
102     <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
103    
104     <p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr>
105     declaration has no effect for <abbr>HTML</abbr> document.</p>
106     </div>
107    
108     <div class="section" id="non-ascii-superset"><h3>No character encoding metadata is found
109     in lower‐level protocol nor is there <abbr>BOM</abbr>, while
110     character encoding <code><var>{text}</var></code>
111     is not a superset of <abbr>ASCII</abbr>.</h3>
112     <p>The document is not labeled with character encoding name
113     in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and
114     the document is not begin with <abbr>BOM</abbr>. In addition,
115     the character encoding of the document is not a superset of
116     <abbr>ASCII</abbr>. The document is non‐conforming.</p>
117    
118     <p>Unless there is a <abbr>BOM</abbr>, the character encoding
119     for the document must be specified in e.g. <abbr>HTTP</abbr>‐level,
120     as:</p>
121     <pre class="http example">
122     <code>Content-Type: text/html; charset=<var>charset-name</var></code></pre>
123    
124     <p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e.
125     <code class="html example">&lt;meta charset="<var>charset-name</var>"&gt;</code>,
126     does not allow to omit <code>charset</code> parameter
127     for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr>
128     compatible encoding.</p>
129    
130     <p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>,
131     and <code>ISO-2022-JP</code> are <em>not</em> a superset of
132     <abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p>
133     </div>
134    
135     <div class="section" id="sniffing:chardet"><h3>Character encoding of this document is sniffed
136     as <code><var>{text}</var></code> (Sniffed because no explicit specification
137     for the character encoding of this document is found in the transfer
138     procotol headers).</h3></div>
139    
140     <div class="section" id="sniffing:default"><h3>Character encoding of this document is defaulted
141     to <code><var>{text}</var></code> because no explicit specification
142     for the character encoding of this document is found in the transfer
143     procotol headers.</h3></div>
144    
145 wakaba 1.7 <div class="section" id="chardecode:fallback"><h3>Results might be <em>wrong</em>, since the
146     conformance checker cannot find an appropriate decoder for the character
147     encoding used for the document.</h3>
148     <p>The conformance checker cannot find an appropriate decoder for
149     the character encoding used to encode characters in the document.</p>
150    
151     <p>This error is raised if:</p>
152     <ul>
153     <li>the conformance checker cannot find any decoder for the character
154     encoding in use, but it knows that the encoding is similar to another
155     character encoding, such that it uses the decoder for that character
156     encoding, and therefore some octets might be interpreted incorrectly,
157     or,</li>
158     <li>the conformance checker find a decoder for the character encoding
159     in use, but it does not know whether the decoder is conforming to the
160     relevant specification or not, and therefore some octets might be
161     interpreted incorrectly.</li>
162     </ul>
163    
164     <p>In either case, the result shown by the conformance checker might
165     contain wrong errors caused by errorneous decoder or might not contain
166     errors that should be raised if an appropriate decoder is used.</p>
167    
168     <!-- TODO: add advise that either install relevant modules or
169     join the developmenet of the modules... -->
170     </div>
171 wakaba 1.1
172     <div class="section" id="chardecode:no-error"><h3>Conformance error checking for the character
173     encoding <code><var>{text}</var></code> is not supported.</h3></div>
174    
175     <div class="section" id="charset-label:matching"><h3>Sniffed character encoding
176     <code><var>{text}</var></code> is same as the character encoding specified
177     in the character encoding declaration. This is <em>not</em> an
178     error.</h3></div>
179    
180     <div class="section" id="charset-label-detected"><h3>While parsing the document as
181     <code><var>{text}</var></code>, a character encoding declaration specifying
182     a different character encoding is found. The document
183     is reparsed.</h3>
184     <p>While parsing a document in a character encoding,
185     a character encoding declaration which declares the character
186     encoding of the document as another character encoding is found.
187     The occurence of this warning itself does not make the document
188     non‐conforming. However, the failure of the first attempt to
189     to detect the character encoding might be a result of non‐conformance
190     of the document.</p>
191    
192     <p>The document will be reparsed from the beginning. Some error
193     or warning might be reported again.</p>
194    
195     <p>These are suggestions to avoid this warning:</p>
196     <ul>
197     <li>Specify <code>charset</code> parameter in the <code>Content-Type</code>
198     field in the <abbr>HTTP</abbr> header, as:
199     <pre class="HTTP example">
200     <code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li>
201     <li>Put the character encoding declaration
202     (<code class="html example">&lt;meta charset="<var>charset-name</var>"&gt;</code>)
203     just after <code class="html example">&lt;head&gt;</code> start tag.</li>
204     <li>Use <code>UTF-8</code>.</li>
205     </ul>
206     </div>
207    
208     <div class="section" id="NULL"><h3>The <code class="charname">NULL</code> character
209     is not allowed.</h3></div>
210    
211     <div class="section" id="control-char"><h3>Code point <code><var>{text}</var></code> is
212     not allowed.</h3></div>
213    
214     </section>
215    
216     <section id="html5-tokenize-error">
217     <h2>HTML5 Parse Errors in Tokenization Stage</h2>
218    
219     <div class="section" id="bad-attribute-name"><h3>Attribute name cannot contain characters
220     <code>"</code>, <code>'</code>, and <code>=</code>.</h3></div>
221    
222     <div class="section" id="bad-attribute-value"><h3>Attribute value must be quoted by <code>"</code>
223     or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or
224 wakaba 1.5 <code>=</code> character.</h3>
225     <p>In an unquoted attribute value, a character <code>"</code>
226     (<code>U+0022</code> <code class="charname">QUOTATION MARK</code>),
227     <code>'</code> (<code>U+0026</code>
228     <code class="charname">APOSTROPHE</code>), or <code>=</code>
229     (<code>U+003D</code> <code class="charname">EQUAL SIGN</code>)
230     is contained. These characters are not allowed in unquoted attribute
231     values, since they are used to quote attribute values or to separate
232     attribute name and value.</p>
233    
234     <p>This error is also raised if one try to use empty attribute
235     value like <code class="html bad example">&lt;foo bar= baz=&gt;</code>;
236     in this example, <code class="html bad example">baz=</code> is
237     treated as an invalid attribute value for the attribute
238     <code class="html bad example">bar</code>, not as another attribute.</p>
239     </div>
240 wakaba 1.1
241     <div class="section" id="bare-ero"><h3>The <code>&amp;</code> character must
242     be escaped as <code class="html example">&amp;amp;</code>.</h3>
243     <p>An <code>&amp;</code> character which
244     is not part of any reference appears in the input stream.
245     The document is non‐conforming.</p>
246    
247     <p><em>Any <code>&amp;</code> character in URI (or IRI)
248     must be escaped as <code class="example">&amp;amp;</code>.</em></p>
249    
250     <p>The <code>&amp;</code> character must
251     be the first character of a reference:
252     <dl class="switch">
253     <dt>Named entity reference</dt>
254     <dd><pre class="html example">
255     <code>&amp;<var>entity-name</var>;</code></pre>
256     where <var>entity-name</var> is the name of the
257     character entity to be referenced.</dd>
258     <dt>Numeric character reference</dt>
259     <dd><pre class="html example">
260     <code>&amp;#<var>d</var>;</code></pre>
261     where <var>d</var> is the decimal representation of
262     the code position of the character to be referenced.</dd>
263     <dt>Hexadecimal character reference</dt>
264     <dd><pre class="html example">
265     <code>&amp;#x<var>h</var>;</code></pre>
266     where <var>h</var> is the hexadecimal representation
267     of the code position of the character to be referenced.</dd>
268     </dl>
269     </p>
270    
271     <p>To represent <code>&amp;</code> as a data character, use
272     named entity reference:
273     <pre class="html example">
274     <code>&amp;amp;</code></pre>
275     </p>
276     </div>
277    
278     <div class="section" id="bare-etago"><h3>A <code>&lt;/</code> string is not followed
279     by a tag name.</h3>
280     <p>There is a <code>&lt;</code> (<code>U+003C</code>
281     <code class="charname">LESS-THAN SIGN</code>) character
282     immediately followed by a <code>/</code> (<code>U+005F</code>
283     <code>SOLIDUS</code>) character, which is not part
284     of any end tag, in the input stream. The document
285     is non-conforming.</p>
286    
287     <p>The <code>&lt;/</code> sequence immediately followed
288     by an <abbr title="End of file pseudo-character">EOF</abbr> is
289     interpreted as a string data of <code>&lt;/</code>.</p>
290    
291     <p>The <code>&lt;/</code> sequence as string data must
292     be escaped as:
293     <pre class="html example">
294     <code>&amp;lt;/</code></pre>
295     </p>
296     </div>
297    
298     <div class="section" id="bare-stago"><h3>A <code>&lt;</code> character is not followed
299     by tag name or by a <code>!</code> character.</h3>
300     <p>A <code>&lt;</code> (<code>U+003C</code>
301     <code class="charname">LESS-THAN SIGN</code>) character which is not part
302     of any markup appears in the input stream.</p>
303    
304     <p>The <code>&lt;</code> character as a data character must
305     be escaped as:
306     <pre class="html example">
307     <code>&amp;lt;</code></pre>
308     </p>
309     </div>
310    
311     <div class="section" id="bare-nero"><h3>The decimal representation of the code position
312     of a character must be specified after <code>&amp;#</code>.</h3>
313     <p>An <code>&amp;</code> (<code>U+0026</code>
314     <code class="charname">AMPERSAND</code>) character immediately
315     followed by a <code>#</code> (<code>U+0023</code>
316     <code>NUMBER SIGN</code>) character which
317     is not part of any reference appears in the input stream.
318     The document is non-conforming.</p>
319    
320     <p>The string <code>&amp;#</code> must be the first two characters
321     of a reference:
322     <dl class="switch">
323     <dt>Numeric character reference</dt>
324     <dd><pre class="html example">
325     <code>&amp;#<var>d</var>;</code></pre>
326     where <var>d</var> is the decimal representation of
327     the code point of the character to be referenced.</dd>
328     <dt>Hexadecimal character reference</dt>
329     <dd><pre class="html example">
330     <code>&amp;#x<var>h</var>;</code></pre>
331     where <var>h</var> is the hexadecimal representation
332     of the code point of the character to be referenced.</dd>
333     </dl>
334     </p>
335    
336     <p>To represent <code>&amp;#</code> as data characters, use
337     a named entity reference for the <code>&amp;</code> character:
338     <pre class="html example">
339     <code>&amp;amp;#</code></pre>
340     </p>
341     </div>
342    
343     <div class="section" id="bare-hcro"><h3>The hexadecimal representation of the code position
344     of a character must be specified after <code>&amp;#x</code>.</h3>
345     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> which
346     is not part of any reference appears in the input stream.
347     The document is non-conforming.</p>
348    
349     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> must
350     be the first three characters of a hexadecimal reference:
351     <pre class="html example">
352     <code>&amp;#x<var>h</var>;</code></pre>
353     where <var>h</var> is the hexadecimal representation
354     of the code point of the character to be referenced.</p>
355    
356     <p>To represent <code>&amp;#x</code> as data characters, use
357     a named entity reference for the <code>&amp;</code> character:
358     <pre class="html example">
359     <code>&amp;amp;#x</code></pre>
360     </p>
361     </div>
362    
363     <div class="section" id="bogus-comment"><h3>String <code>&lt;!</code> is not followed
364     by <code>--</code>.</h3>
365     <p>There is a <code>&lt;</code> (<code>U+003C</code>
366     <code class="charname">LESS-THAN SIGN</code>) character
367     followed by a <code>!</code> (<code>U+0021</code>
368     <code class="charname">EXCLAMATION MARK</code>) character,
369     which is not followed by a <code>--</code> or
370     <code>!DOCTYPE</code>. The document is non-conforming.</p>
371    
372     <dl class="switch">
373     <dt>Comments</dt>
374     <dd>In HTML document, comments must be introduced by
375     <code class="example">&lt;!--</code> (<code>&lt;!</code>
376     <em>immediately</em> followed
377     by <em>two</em> <code>-</code>s) and must be terminated by
378     <code class="example">--&gt;</code>.
379     Strings <code>&lt;!</code> not followed
380     by <code>--</code> and <code>&lt;!-</code> not followed by
381     <code>-</code> are not valid open delimiters for comments.</dd>
382     <dt>Marked sections, including <code>CDATA</code> sections</dt>
383     <dd>Marked sections are not allowed in HTML document.</dd>
384     <dt>Markup declarations</dt>
385     <dd>Markup declarations, except for <code>DOCTYPE</code>
386     and comment declarations, are not allowed in HTML document.</dd>
387     <dt>String <code>&lt;!</code></dt>
388     <dd>String <code>&lt;!</code> must be escaped as
389     <code class="example">&amp;lt;!</code>.</dd>
390     </dl>
391     </div>
392    
393     <div class="section" id="bogus-end-tag"><h3>String <code>&lt;/</code> is not followed
394     by tag name.</h3>
395     <p>There is a <code>&lt;</code> (<code>U+003C</code>
396     <code class="charname">LESS-THAN SIGN</code>) character
397     immediately followed by a <code>/</code> (<code>U+005F</code>
398     <code>SOLIDUS</code>) character, which is not part
399     of any end tag, in the input stream. The document
400     is non-conforming.</p>
401    
402     <p>The <code>&lt;/</code> sequence not followed by a
403     tag name is parsed as an opening of bogus comment.</p>
404    
405     <p>The <code>&lt;/</code> sequence as string data must
406     be escaped as:
407     <pre class="html example">
408     <code>&amp;lt;/</code></pre>
409     </p>
410     </div>
411    
412     <div class="section" id="C1-character-reference"><h3>Character reference to
413     <code><var>{text}</var></code> is not allowed.</h3></div>
414    
415     <div class="section" id="CR-character-reference"><h3>Character reference to
416     <code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>)
417     is not allowed.</h3></div>
418    
419     <div class="section" id="dash-in-comment"><h3>There is a <code>--</code> sequence
420     in a comment.</h3>
421     <p>There is a <code>-</code> (<code>U+002D</code>
422     <code class="charname">HYPHEN-MINUS</code>) character
423     at the end of the comment or a <code>--</code> sequence
424     in the comment. The document is non-conforming.</p>
425    
426     <p>Comments cannot contain a string <code>--</code>, as in XML.
427     Unlike SGML, there cannot be more than one comments
428     (where <i>comment</i> is an SGML term) in the comment
429     declaration.</p>
430     </div>
431    
432     <div class="section" id="duplicate-attribute"><h3>There are two attributes with name
433     <code><var>{text}</var></code>.</h3>
434     <p>There are more than one attributes with the same
435     name in a tag. The document is non-conforming.</p>
436    
437     <p>The <code>motion</code> attribute is not part of the HTML standard.
438     Use <code>img</code> element with animation GIF instead.</p>
439     </div>
440    
441     <div class="section" id="empty-start-tag"><h3>Empty start tag (<code>&lt;&gt;</code>) is not
442     allowed.</h3></div>
443    
444     <div class="section" id="empty-end-tag"><h3>Empty end tag (<code>&lt;/&gt;</code>) is not
445     allowed.</h3></div>
446    
447 wakaba 1.5 <div class="section" id="end-tag-attribute"><h3>終了タグに属性が指定されています。</h3></div>
448    
449     <div class="section" id="empty-unquoted-attribute-value"><h3>属性値が指定されていません。</h3>
450     <p>The attribute value is not specified after the <code>=</code>
451     (<code>U+003C</code> <code class="charname">EQUAL SIGN</code>)
452     character.</p>
453    
454     <p>When an attribute value is empty, the <code>=</code> character after
455     the attribute name must be specified as:</p>
456    
457     <p><code class="html example">&lt;foo bar&gt;</code></p>
458    
459     <p>Instead, quotation marks can be used to explicitly represent that
460     the attribute value is empty, as:</p>
461    
462     <p><code class="html example">&lt;foo bar=""&gt;</code></p>
463    
464     <p>... or like:</p>
465    
466     <p><code class="html example">&lt;foo bar=''&gt;</code></p>
467     </div>
468 wakaba 1.1
469     <div class="section" id="invalid-character-reference"><h3>Character reference to
470     <code><var>{text}</var></code> is not allowed.</h3></div>
471    
472     <div class="section" id="nestc"><h3>Polytheistic slash (<code>/&gt;</code>) cannot be
473     used for this element.</h3>
474     <p>Polytheistic slash (<code>/&gt;</code>) must not be used
475     for the element. The document is non-conforming.</p>
476    
477     <p>The polytheistic slash can only be
478     used for <code>base</code>, <code>link</code>, <code>meta</code>,
479     <code>hr</code>, <code>br</code>, <code>img</code>,
480     <code>embed</code>, <code>param</code>, <code>area</code>,
481     <code>col</code>, and <code>input</code> elements.</p>
482    
483     <dl class="switch">
484     <dt><code>&lt;script/&gt;</code></dt>
485     <dd><p>The polytheistic slash cannot be used for <code>script</code>
486     element. Even for an empty <code>script</code> element,
487     there must be an explicit end tag
488     <code class="html example">&lt;/script&gt;</code>.</p>
489    
490     <p><strong>NOTE</strong>: Though some user agents interpret
491     polytheistic slash for <code>script</code> element as the
492     closing of the element, such usage is not allowed under
493     the current standard.</p></dd>
494     <dt><code>&lt;basefont/&gt;</code>, <code>&lt;bgsound/&gt;</code>,
495     <code>&lt;frame/&gt;</code>, <code>&lt;keygen/&gt;</code>,
496     <code>&lt;spacer/&gt;</code>, <code>&lt;wbr/&gt;</code></dt>
497     <dd>These elements are themselves non-conforming.</dd>
498     <!-- isindex, image -->
499     <dt><code>&lt;command/&gt;</code>, <code>&lt;event-source/&gt;</code>,
500     <code>&lt;nest/&gt;</code>, or <code>&lt;source/&gt;</code></dt>
501     <dd>Future revision of HTML5 parsing algorithm is expected
502     to allow polytheistic slash for these elements.</dd>
503     <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>
504     <dd>These elements are not always empty and therefore
505     polytheistic slash is not allowed. Use explicit end tag
506     to represent empty element as:
507     <pre class="example html">
508     <code>&lt;p&gt;&lt;/p&gt;</code></pre>
509     </dd>
510     </dl>
511    
512     <p>Note that, unlike in XML, the polytheistic slash has
513     no effect in HTML.</p>
514     </div>
515    
516     <div class="section" id="no-DOCTYPE-name"><h3>After the string <code>&lt;!DOCTYPE </code>, the
517     document type name must be specified.</h3></div>
518    
519     <div class="section" id="no-PUBLIC-literal"><h3>After the keyword <code>PUBLIC</code>, no
520     oublic identifier is specified.</h3></div>
521    
522     <div class="section" id="no-refc"><h3>Character reference must be closed by a
523     <code>;</code> character.</h3></div>
524    
525     <div class="section" id="no-space-before-DOCTYPE-name"><h3>After the string <code>&lt;!DOCTYPE</code>, there
526     must be at least a white space character before the document type
527     name.</h3></div>
528    
529     <div class="section" id="no-space-between-attributes"><h3>Attributes must be separeted by at least a
530     white space character.</h3></div>
531    
532     <div class="section" id="no-SYSTEM-literal"><h3>After the keyword <code>SYSTEM</code>, no
533     system identifier is specified.</h3></div>
534    
535     <div class="section" id="pio"><h3>Processing instruction
536     (<code>&lt;?<var>...</var>&gt;</code>) is not allowed in HTML
537     document.</h3>
538     <p>Processing instructions (<code>&lt;?<var>...</var>?&gt;</code>),
539     including XML declaration (<code>&lt;?xml <var>...</var>?&gt;</code>)
540     and XML style sheet <abbr title="processing instruction">PI</abbr>
541     (<code>&lt;?xml-stylesheet <var>...</var>?&gt;</code>), are not allowed
542     in the HTML syntax. The document is non-conforming.</p>
543    
544     <dl class="switch">
545     <dt><code>&lt;?xbl?&gt;</code> (<abbr>XBL</abbr> Association)</dt>
546     <dd>An <abbr>XBL</abbr> binding cannot be associated by
547     <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>
548     document. Use <code>binding</code> property in <abbr>CSS</abbr>
549     style sheet as:
550     <pre class="html example">
551     <code>&lt;style&gt;
552     p {
553     binding: url(binding.xbl);
554     }
555     &lt;/style&gt;</code></pre>
556     </dd>
557     <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
558     <dd>XML declaration is unnecessary for HTML documents.</dd>
559     <dt><code>&lt;?xml-stylesheet?&gt;</code> (XML style sheet
560     <abbr title="processing instruction">PI</abbr>)</dt>
561     <dd>Use HTML <code>link</code> element with <code>rel</code>
562     attribute set to <code>stylesheet</code> (or,
563     <code>alternate stylesheet</code> for an alternate style
564     sheet).
565     <pre class="example html">
566     <code>&lt;link rel=stylesheet href="path/to/stylesheet.css"&gt;</code></pre>
567     </dd>
568     <dt><code>&lt;?php?&gt;</code> or
569     <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
570     (<abbr>PHP</abbr> code)</dt>
571     <dd>The conformance checker does <em>not</em> support
572     checking for PHP source documents.</dd>
573     <dt>Other processing instructions</dt>
574     <dd>Processing instructions cannot be inserted in an HTML
575     document. Use XML document or insert
576     <code>ProcessingInstruction</code> node by scripting.</dd>
577     </dl>
578    
579     <p>Web browsers will parse processing instructions as bogus
580     comments. Some legacy Web browsers, such as IE:mac and
581     some mobile Web browsers, will display processing instructions
582     as string.</p>
583     </div>
584    
585     <div class="section" id="string-after-DOCTYPE-name"><h3>There is a bogus string after the document type
586     name.</h3></div>
587    
588     <div class="section" id="string-after-PUBLIC"><h3>There is a bogus string after the keyword
589     <code>PUBLIC</code>.</h3></div>
590    
591     <div class="section" id="string-after-PUBLIC-literal"><h3>There is a bogus string after the public
592     identifier.</h3></div>
593    
594     <div class="section" id="string-after-SYSTEM"><h3>There is a bogus string after the keyword
595     <code>SYSTEM</code>.</h3></div>
596    
597     <div class="section" id="string-after-SYSTEM-literal"><h3>There is a bogus string after the system
598     identifier.</h3></div>
599    
600     <div class="section" id="unclosed-attribute-value"><h3>Attribute value is not closed by a quotation
601     mark.</h3></div>
602    
603     <div class="section" id="unclosed-comment"><h3>Comment is not closed by a string
604     <code>--&gt;</code>.</h3></div>
605    
606     <div class="section" id="unclosed-DOCTYPE"><h3>The <code>DOCTYPE</code> is not closed by a
607     <code>&gt;</code> character.</h3></div>
608    
609     <div class="section" id="unclosed-PUBLIC-literal"><h3>The public identifier literal is not closed by a
610     quotation mark.</h3></div>
611    
612     <div class="section" id="unclosed-SYSTEM-literal"><h3>The system identifier literal is not closed by a
613     quotation mark.</h3></div>
614    
615     <div class="section" id="unclosed-tag"><h3>Tag is not closed by a <code>&gt;</code>
616     character.</h3></div>
617    
618     </section>
619    
620     <section id="html5-parse-errors">
621     <h2>HTML5 Parse Errors in Tree Construction Stage</h2>
622    
623 wakaba 1.6 <div class="section" id="after-after-frameset"><h3><code>html</code> 要素が閉じられた後に開始タグ
624     <code>&lt;<var>{text}</var>&gt;</code> があります。</h3></div>
625    
626     <div class="section" id="after-after-frameset:/"><h3><code>html</code> 要素が閉じられた後に終了タグ
627     <code>&lt;/<var>{text}</var>&gt;</code> があります。</h3></div>
628    
629 wakaba 1.1 <div class="section" id="after-body"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
630     not allowed after the <code>body</code> is closed.</h3></div>
631    
632     <div class="section" id="after-body:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
633     not allowed after the <code>body</code> is closed.</h3></div>
634    
635     <div class="section" id="after-body:#text"><h3>Non‐white‐space characters are not allowed
636     after the <code>body</code> is closed.</h3></div>
637    
638     <div class="section" id="after-frameset"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
639     not allowed after the <code>frameset</code> is closed.</h3></div>
640    
641     <div class="section" id="after-frameset:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
642     not allowed after the <code>frameset</code> is closed.</h3></div>
643    
644     <div class="section" id="after-frameset:#text"><h3>Non‐white‐space characters are not allowed
645     after the <code>frame</code> is closed.</h3></div>
646    
647     <div class="section" id="after-head"><h3>The <code><var>{text}</var></code> element cannot be
648     inserted between <code>head</code> and <code>body</code>
649     elements.</h3>
650     <p>A start tag appears after the <code>head</code> element is closed
651     but before the <code>body</code> element is opened.
652     The document is non-conforming.</p>
653     </div>
654    
655     <div class="section" id="after-html"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
656 wakaba 1.4 not allowed after the <code>html</code> is closed.</h3>
657     <p>The start tag of an element appears after the
658     <code>body</code> element has been closed. The document is
659     non-conforming.</p>
660    
661     <p>Any content of the document other than <code>head</code>
662     contents and comments must be put into the <code>body</code>
663     element.</p>
664     </div>
665 wakaba 1.1
666     <div class="section" id="after-html:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
667 wakaba 1.4 not allowed after the <code>html</code> is closed.</h3>
668     <p>The end tag of an element appears after the
669     <code>body</code> element has been closed. The document is
670     non-conforming.</p>
671    
672     <p>Any content of the document other than <code>head</code>
673     contents and comments must be put into the <code>body</code>
674     element.</p>
675     </div>
676 wakaba 1.1
677     <div class="section" id="after-html:#text"><h3>Non‐white‐space characters are not allowed
678     after the <code>html</code> is closed.</h3></div>
679    
680     <div class="section" id="image"><h3>The <code>image</code> element is
681     obsolete.</h3></div>
682    
683     <div class="section" id="in-a:a"><h3>Anchor cannot be nested.</h3>
684     <p>HTML <code>a</code> elements cannot be nested.
685     The document is non-conforming.</p>
686    
687     <p>In the HTML syntax, a start tag of the <code>a</code>
688     implies the end tag of any opening <code>a</code> element.</p>
689     </div>
690    
691     <div class="section" id="in-body"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
692     is not allowed in the <code>body</code> element.</h3>
693     <p>The start or end tag of an element, which
694     cannot be a descendant of <code>body</code> element, appears
695     in the input stream while the <code>body</code> element has been opened.
696     The document is non-conforming.</p>
697     </div>
698    
699     <div class="section" id="in-body:#eof"><h3>Some element is not closed before the end of
700     file.</h3></div>
701    
702     <div class="section" id="in-button:button"><h3>The <code>button</code> element cannot be
703     nested.</h3></div>
704    
705     <div class="section" id="in-CDATA:#eof"><h3>Element is not closed before the end of
706     file.</h3></div>
707    
708     <div class="section" id="in-form:form"><h3>Start tag <code>&lt;form&gt;</code> is
709     not allowed in a <code>form</code> element.</h3></div>
710    
711     <div class="section" id="in-frameset"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
712     not allowed in a <code>framset</code> element.</h3></div>
713    
714     <div class="section" id="in-frameset:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
715     not allowed in a <code>frameset</code> element.</h3></div>
716    
717     <div class="section" id="in-frameset:#text"><h3>Non‐white‐space characters are not allowed
718     in a <code>frameset</code> element.</h3></div>
719    
720     <div class="section" id="in-head:head"><h3>Start tag <code>&lt;head&gt;</code>
721     is not allowed in the <code>head</code> element.</h3>
722     <p>There is a start tag <code>&lt;head&gt;</code> in the
723     <code>&lt;head&gt;</code> element. The document is non-conforming.</p>
724    
725     <p>In an HTML document there must not be more than
726     one <code>head</code> element, therefore no more than one
727     start tag <code>&lt;head&gt;</code> can appear in the input stream.</p>
728     </div>
729    
730     <div class="section" id="in-html:#DOCTYPE"><h3>A <code>DOCTYPE</code> appears after any
731     element or data character has been seen.</h3>
732     <p>A <code>DOCTYPE</code> appears after any element or data character
733     has been seen. The document is non-conforming.</p>
734    
735     <p>The <code>DOCTYPE</code> must be placed before any
736     tag, reference, or data character. Only white space characters
737     and comments can be inserted before the <code>DOCTYPE</code>.</p>
738     </div>
739    
740     <div class="section" id="in-nobr:nobr"><h3>The <code>nobr</code> element cannot be
741     nested.</h3></div>
742    
743     <div class="section" id="in-noscript"><h3>The <code><var>{text}</var></code> element is not
744     allowed in a <code>noscript</code> element in the
745     <code>head</code> element.</h3></div>
746    
747     <div class="section" id="in-noscript:/"><h3>An end tag <code>&lt;/<var>{text}</var>&gt;</code>
748     appers before the <code>noscript</code> element is closed.</h3></div>
749    
750     <div class="section" id="in-noscript:#eof"><h3>A <code>noscript</code> element is not closed
751     before the end of file.</h3></div>
752    
753     <div class="section" id="in-noscript:#text"><h3>Non‐white‐space characters are not allowed
754     in a <code>noscript</code> element in the <code>head</code>
755     element.</h3></div>
756    
757     <div class="section" id="in-PCDATA:#eof"><h3>Element is not closed before the end of
758     file.</h3></div>
759    
760     <div class="section" id="in-select"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
761     is not allowed in a <code>select</code> element.</h3></div>
762    
763     <div class="section" id="in-select:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code>
764     is not allowed in a <code>select</code> element.</h3></div>
765    
766     <div class="section" id="in-table"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
767     is not allowed in a <code>table</code> element.</h3>
768     <p>The start or end tag of an element, which
769     cannot be a child of <code>table</code> element, appears
770     in the input stream while the <code>table</code> element has been opened
771     but no other element has been opened. The document is non-conforming.</p>
772    
773     <p>In <code>table</code>, only table related elements
774     are allowed; any other element must be contained in
775     <code>td</code> or <code>th</code> element to form
776     a part of the table, or <code>caption</code> element to create
777     a table caption.</p>
778     </div>
779    
780     <div class="section" id="in-table:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code>
781     is not allowed in a <code>table</code> element.</h3></div>
782    
783     <div class="section" id="in-table:#text"><h3>Non‐white‐space character is not allowed within
784     the <code>table</code> element, outside of the caption and cells.</h3>
785     <p>A non‐white‐space character appears in <code>table</code>.
786     The document is non-conforming.</p>
787    
788     <p>In <code>table</code>, only table related elements
789     are allowed; any other element and data character must be contained in
790     <code>td</code> or <code>th</code> element to form
791     a part of the table, or <code>caption</code> element to create
792     a table caption.</p>
793     </div>
794    
795     <div class="section" id="isindex"><h3>The <code>isindex</code> element is
796     obsolete.</h3></div>
797    
798     <div class="section" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code>
799     element is missing.</h3>
800     <p>Start tag of a <code>tr</code> element, which is <em>not</em>
801     optional, is missing. The document is non-conforming.</p>
802    
803     <p>In a table section, a <code>&lt;tr&gt;</code> start tag
804     must occur before any <code>&lt;td&gt;</code> or
805     <code>&lt;th&gt;</code> start tag. Though the HTML5 parser
806     implies the <code>&lt;tr&gt;</code> start tag before
807     these start tags, it must be explicitly specified.</p>
808     </div>
809    
810     <div class="section" id="no-DOCTYPE"><h3>This document does not start with a
811     <code>DOCTYPE</code>.</h3>
812     <p>The document does not start with a <code>DOCTYPE</code>.
813     The document is non-conforming.</p>
814    
815     <p>An HTML document must start by a <code>DOCTYPE</code>:
816     <pre class="html example">
817     <code>&lt;!DOCTYPE HTML&gt;</code></pre>
818     </p>
819    
820     <p>Only white space characters and comments are allowed
821     before the <code>DOCTYPE</code>. XML declaration is <em>not</em>
822     allowed in HTML document.</p>
823     </div>
824    
825     <div class="section" id="not-closed"><h3>Element <code><var>{text}</var></code> is not
826     closed.</h3>
827     <p>End tag of an element is not found before, for example,
828     an end tag of another element appears or
829     the end of the document. The document is non-conforming.</p>
830    
831     <p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>,
832     <code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>,
833     <code>ol</code>, <code>option</code>, <code>optgroup</code>,
834     <code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>,
835     <code>tbody</code>, <code>td</code>, <code>tfoot</code>,
836     <code>th</code>, <code>thead</code>, <code>tr</code>,
837     <code>ul</code> end tag can be omitted in HTML documents.
838     For any element except for void element, there must be an explicit
839     end tag.</p>
840    
841     <dl class="switch">
842     <dt>HTML <code>canvas</code> element</dt>
843     <dd>Though the element is void in earlier versions of Safari,
844     the <code>canvas</code> element is <em>no</em> longer
845     defined as empty. There must be an end tag
846     <code class="html example">&lt;/canvas&gt;</code>.</dd>
847     </dl>
848    
849     <p>Note that misnesting tags, such as
850     <code class="bad example">&lt;a&gt;&lt;b&gt;&lt;/a&gt;&lt;/b&gt;</code>, are not
851     allowed and they also cause this error.</p>
852     </div>
853    
854     <div class="section" id="not-first-start-tag"><h3>This <code>&lt;html&gt;</code> tag is not
855     the first start tag.</h3>
856     <p>There is a start tag of the <code>html</code> element
857     that it not the first start tag in the input stream.
858     The document is non-conforming.</p>
859    
860     <p>In an HTML document, there cannot be more than one
861     <code>html</code> element and therefore there cannot be
862     more than one <code>&lt;html&gt;</code> tag. In addition,
863     nothing can be placed before the <code>&lt;html&gt;</code> tag
864     except a <code>DOCTYPE</code>, white space characters,
865     and comments.</p>
866     </div>
867    
868     <div class="section" id="not-HTML5"><h3>This document is written in an old version of
869     HTML.</h3>
870     <p>The document contains a <code>DOCTYPE</code> declaration
871     that is different from HTML5 <code>DOCTYPE</code> (i.e.
872     <code class="example html">&lt;!DOCTYPE HTML&gt;</code>).
873     The document is non‐conforming.</p>
874    
875     <p>The document might or might not be conformant to
876     some version of HTML. However, conformance to any HTML
877     specification other than HTML5 provides for no practical
878     convenience, since Web borwsers will parse any
879     HTML document (roughly) as defined in HTML5.</p>
880     </div>
881    
882     <div class="section" id="start-tag-not-allowed"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
883     not allowed here.</h3></div>
884    
885     <div class="section" id="unmatched-end-tag"><h3>Element <code><var>{text}</var></code> is not
886     opened.</h3>
887     <p>An end tag appears though no element with the same name
888     has been opened. The document is non-conforming.</p>
889    
890     <p>For any end tag in HTML document, there must be a
891     corresponding start tag.</p>
892    
893     <dl class="switch">
894     <dt>HTML <code>base</code>, <code>basefont</code>,
895     <code>bgsound</code>, <code>br</code>, <code>col</code>,
896     <code>embed</code>, <code>frame</code>, <code>hr</code>,
897     <code>image</code>, <code>img</code>, <code>input</code>,
898     <code>isindex</code>, <code>link</code>, <code>meta</code>,
899     <code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt>
900     <dd>End tag is not allowed for these elements, since
901     those content must always be empty. Remove end tag.</dd>
902     <!-- keygen -->
903     <!-- command, event-source, nest, source -->
904     </dl>
905     </div>
906    
907 wakaba 1.7 <div class="section" id="XSLT-compat"><h3><code>DOCTYPE</code>
908     遺物文字列が使われています。</h3>
909     <p>The <code>DOCTYPE</code> with the <code>DOCTYPE</code> legacy
910     string, i.e.
911     <code class="html bad example">&lt;!DOCTYPE HTML PUBLIC "XSLT-compat"&gt;</code>
912     is used.</p>
913    
914     <p>The <code>DOCTYPE</code> legacy string should not be used for documents
915     generated from XSLT transformation process. It is allowed only to enable
916     to use XSLT style sheets with the HTML output mode, which does not
917     support generation of the <code>DOCTYPE</code> with no <code>PUBLIC</code>
918     identifier. For other purposes, the <code>DOCTYPE</code> legacy
919     string, i.e. <code class="html bad example">PUBLIC "XSLT-compat"</code>,
920     is useless and should not be used.</p>
921     </div>
922    
923 wakaba 1.1 </section>
924    
925     <section id="element-content-model-errors">
926     <h2>Element Content Model Errors</h2>
927    
928     <div class="section" id="basehref-after-URL-attribute"><h3>The <code>base</code> element with the
929     <code>href</code> attribute specified cannot be placed after
930     any attribute with a URL.</h3></div>
931    
932     <div class="section" id="basetarget-after-hyperlink"><h3>The <code>base</code> element with the
933     <code>target</code> attribute specified cannot be placed after
934     any element that defines a hyperlink.</h3></div>
935    
936     <div class="section" id="character-not-allowed"><h3>Data character is not allowed in this
937     context.</h3>
938     <p>A data character appears where it is not allowed in this
939     context. The document is non-conforming.</p>
940    
941     <p>Possible causes:
942     <ul>
943     <li><p>A data character cannot be a child
944     of certain sectioning elements such as <code>body</code>,
945     <code>section</code>, and <code>blockquote</code>.</p>
946    
947     <p>Any inline-level content must be put
948     in e.g. paragraph element such as <code>p</code>.</p></li>
949     <li><p>Though some elements such as <code>div</code>,
950     <code>li</code>, and <code>td</code> allow
951     <em>either one</em> of block-level or inline-level content
952     is allowed. If there is a block-level content,
953     any inline-level content must be put
954     in e.g. paragraph element such as <code>p</code>.</p></li>
955     </ul>
956     </p>
957     </div>
958    
959     <div class="section" id="character-not-allowed:empty"><h3>Non‐white‐space characters are not allowed in
960     an empty element.</h3></div>
961    
962     <div class="section" id="character-not-allowed:atom|PersonConstruct"><h3>Non‐white‐space characters are not allowed in
963     Person construct.</h3></div>
964    
965     <div class="section" id="character-not-allowed:atom|TextConstruct"><h3>Non‐white‐space characters are not allowed in
966     Text construct.</h3></div>
967    
968     <div class="section" id="child-element-missing"><h3>There must be an element
969     <code><var>{text}</var></code> as a child of this element.</h3>
970     <p>The content model of the element is so defined that it
971     must contain a <code><var>$0</var></code> child element.
972     The document is non-conforming.</p>
973    
974     <dl class="switch">
975     <dt>HTML <code>head</code> element</dt>
976     <dd>There must be a <code>title</code> child element.</dd>
977     <dt>HTML <code>html</code> element</dt>
978     <dd>There must be a <code>head</code> child element followed
979     by a <code>body</code> element.</dd>
980     <dt>HTML <code>tr</code> element</dt>
981     <dd><a href="#child-element-missing:td%7Cth">There must be
982     one or more <code>td</code> or <code>th</code> child element.</a></dd>
983     </dl>
984     </div>
985    
986     <div class="section" id="child-element-missing:td|th"><h3>There must be a <code>td</code>
987     or <code>th</code> element as a child of this element.</h3>
988     <p>The <code>tr</code> element must contain at least one
989     <code>td</code> or <code>th</code> child element. The document
990     is non-conforming.</p>
991     </div>
992    
993     <div class="section" id="child-element-missing:atom"><h3>There must be an element
994     <code><var>{text}</var></code> in the Atom namespace as a child of this
995     element.</h3></div>
996    
997     <div class="section" id="child-element-missing:atom:link:alternate"><h3>There must be an Atom <code>link</code> element
998     whose <code>rel</code> attribute is set to <code>alternate</code> as a
999     child of this element.</h3></div>
1000    
1001     <div class="section" id="child-element-missing:atom:link:self"><h3>There should be an Atom <code>link</code> element
1002     whose <code>rel</code> attribute is set to <code>self</code> as a
1003     child of this element.</h3></div>
1004    
1005     <div class="section" id="element-missing:hn"><h3>There must be at least one
1006     <code>h<var>n</var></code> element descendant.</h3></div>
1007    
1008     <div class="section" id="element-not-allowed"><h3>This element is not allowed in this
1009     context.</h3>
1010     <p>An element appears where it is not allowed. The document
1011     is non-conforming.</p>
1012    
1013     <p>Possible causes:
1014     <dl class="switch">
1015     <dt>If the element with the error is an inline-level element,
1016     such as <code>a</code>, <code>progress</code>, or <code>img</code></dt>
1017     <dd><p>An inline-level element cannot be a child
1018     of certain sectioning elements such as <code>body</code>,
1019     <code>section</code>, and <code>blockquote</code>.</p>
1020    
1021     <p>Any inline-level content must be put
1022     in e.g. paragraph element such as <code>p</code>.</p></dd>
1023     <dt>If it is a block-level elements, such as <code>aside</code>,
1024     <code>div</code>, <code>h<var>n</var></code>,
1025     <code>p</code>, or <code>section</code></dt>
1026     <dd><dl class="switch">
1027     <dt>If the parent element is <code>div</code>,
1028     <code>li</code>, <code>td</code>, or <code>th</code></dt>
1029     <!-- @@ TODO: more... -->
1030     <!-- @@ TODO: <p><ul><li><p> -->
1031     <dd><p>The parent element allows <em>either</em>
1032     block-level or inline-level content. If there is a
1033     block-level content, any inline-level content must be
1034     put in e.g. paragraph element such as <code>p</code>.</p>
1035     <p>For example, an HTML document fragment
1036     <code class="html bad example">&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; World!&lt;/div&gt;</code>
1037     is non-conforming, since a word <q>World!</q> does not belong
1038     to any paragraph. (If not part of any paragraph, what is
1039     it!?) A conforming example would be:
1040     <pre class="html example">
1041     <code>&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; &lt;p&gt;World!&lt;/p&gt;&lt;/div&gt;</code></pre>
1042     </p></dd>
1043     <dt>If the parent element does <em>not</em> allow
1044     block-level elements as content</dt>
1045     <dd>The element is not allowed to be inserted here.
1046     For example, a <code>div</code> element cannot be
1047     a child of an <code>h1</code> element.</dd>
1048     </dl></dd>
1049     <dt>If the element with the error is a <code>noscript</code> element</dt>
1050     <dd>The <code>noscript</code> element is allowed only in the context
1051     where a block-level or inline-level content is expected
1052     and in the <code>head</code> element.
1053     It cannot be used in e.g. <code>ul</code>, <code>table</code>,
1054     or <code>select</code>.</dd>
1055     <dt>If the element with the error is <code>blink</code>,
1056     <code>center</code>, or <code>marquee</code> element</dt>
1057     <dd>These elements are not part of the HTML standard.
1058     Use CSS for styling control.</dd>
1059    
1060     <dt><code>button</code>, <code>datalist</code>,
1061     <code>fieldset</code>, <code>form</code>,
1062     <code>input</code>, <code>label</code>,
1063     <code>optgroup</code>, <code>option</code>, <code>output</code>,
1064     <code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>,
1065     <code>textarea</code>, or <code>textarea</code> element</dt>
1066     <!-- rbc, rtc ? -->
1067     <dd>These elements are intentionally not supported by the conformance
1068     checker <em>yet</em>.</dd>
1069     </dl>
1070     </p>
1071     </div>
1072    
1073     <div class="section" id="element-not-allowed:area"><h3>An <code>area</code> element cannot be used
1074     outside of a <code>map</code> element.</h3></div>
1075    
1076     <div class="section" id="element-not-allowed:base"><h3>There is another <code>base</code>
1077     element.</h3></div>
1078    
1079     <div class="section" id="element-not-allowed:datatemplate"><h3>In a <code>datatemplate</code> element, only
1080     <code>rule</code> elements are allowed.</h3></div>
1081    
1082     <div class="section" id="element-not-allowed:details-legend"><h3>In a <code>details</code> element, only at the
1083     beginning of the element a <code>lengend</code> element
1084     may be used.</h3></div>
1085    
1086     <div class="section" id="element-not-allowed:empty"><h3>Elements are not allowed in an empty
1087     element.</h3></div>
1088    
1089     <div class="section" id="element-not-allowed:figure-legend"><h3>In a <code>figure</code> element, only at the
1090     beginning or only at the end of the element a <code>lengend</code> element
1091     may be used.</h3></div>
1092    
1093     <div class="section" id="element-not-allowed:flow"><h3>This element is not allowed where flow
1094     content is expected.</h3></div>
1095    
1096     <div class="section" id="element-not-allowed:flow-style"><h3>A <code>style</code> element without
1097     <code>scoped</code> attribute is not allowed in this context.</h3></div>
1098    
1099     <div class="section" id="element-not-allowed:head-noscript"><h3>This element is not allowed in a
1100     <code>noscript</code> element in the <code>head</code> element.</h3></div>
1101    
1102     <div class="section" id="element-not-allowed:head-style"><h3>A <code>style</code> element with
1103     <code>scoped</code> attribute is not allowed in the <code>head</code>
1104     element.</h3></div>
1105    
1106     <div class="section" id="element-not-allowed:head-title"><h3>There is another <code>title</code>
1107     element.</h3></div>
1108    
1109     <div class="section" id="element-not-allowed:minus"><h3>This element is not allowed in this
1110     context.</h3></div>
1111    
1112 wakaba 1.6 <div class="section" id="element-not-allowed:meta-charset"><h3>文字符号化宣言が <code>head</code>
1113     要素の最初の子要素ではありません。</h3>
1114     <p>The character encoding declaration
1115     (<code class="html example">&lt;meta charset="<var>...</var>"&gt;</code> or
1116     <code class="html example">&lt;meta http-equiv=Content-Type content="text/html; charset=<var>...</var>"&gt;</code>
1117     must be the first child element in the <code>head</code> element.</p>
1118    
1119     <p>The character encoding declaration have to occur near the beginning
1120     of the document to ensure that Web browsers can be determine the
1121     character encoding of the document.</p>
1122    
1123     <p>The <code>title</code> element and other metadata elements must
1124     appear after any character encoding declaration is processed.</p>
1125     </div>
1126 wakaba 1.1
1127     <div class="section" id="element-not-allowed:metadata"><h3>This element is not allowed where metadata
1128     content is expected.</h3></div>
1129    
1130     <div class="section" id="element-not-allowed:phrasing"><h3>This element is not allowed where phrasing
1131     content is expected.</h3></div>
1132    
1133     <div class="section" id="element-not-allowed:root"><h3>This element is not allowed as the root
1134     element of a document.</h3>
1135     <p>An element that is not allowed as the root element
1136     is used as the root element of the document. The document is
1137     non-conforming, as far as the conformance checker can tell.</p>
1138    
1139     <dl class="switch">
1140     <dt><code>html</code> element in an XHTML document</dt>
1141     <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
1142     element must have an <code>xmlns</code> attribute as:
1143     <pre class="xml example">
1144     <code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</code></pre></p></dd>
1145     <dt><code>rss</code> element</dt>
1146     <dd><p>The document is written in some version of RSS.</p>
1147     <p>The conformance checker does not support any version
1148     of RSS. Use Atom 1.0 for feed documents.</p></dd>
1149     <dt><code>feed</code> element</dt>
1150     <dd><p>The Atom <code>feed</code> element must be
1151     in the <code>http://www.w3.org/2005/Atom</code>
1152     namespace as:
1153     <pre class="xml example">
1154     <code>&lt;feed xmlns="http://www.w3.org/2005/Atom"&gt;</code></pre>
1155     </p>
1156     <p>The conformance checker does not support Atom 0.3.
1157     Use Atom 1.0 for feed documents.</p></dd>
1158     </dl>
1159     </div>
1160    
1161     <div class="section" id="element-not-allowed:root:xml"><h3>This element is not allowed as the root element
1162     of an XML document.</h3></div>
1163    
1164     <div class="section" id="element-not-allowed:ruby-base"><h3>This element is not allowed in the <code>ruby</code>
1165     element.</h3></div>
1166    
1167     <div class="section" id="element-not-allowed:text"><h3>This element is not allowed in this
1168     context.</h3></div>
1169    
1170     <div class="section" id="element-not-allowed:atom|content"><h3>This element is not allowed in an Atom
1171     <code>content</code> element.</h3></div>
1172    
1173     <div class="section" id="element-not-allowed:atom|PersonConstruct"><h3>This element is not allowed in Person
1174     construct.</h3></div>
1175    
1176     <div class="section" id="element-not-allowed:atom|TextConstruct"><h3>This element is not allowed in Text
1177     construct.</h3></div>
1178    
1179 wakaba 1.6 <div class="section" id="element-not-defined"><h3>この要素は定義されていません。</h3>
1180     <p>The element is not one of elements allowed
1181     in the latest version of relevant specifications.</p>
1182    
1183     <p>The element cannot be used.</p>
1184    
1185     <dl class="switch">
1186     <dt><code>event-source</code> element</dt>
1187     <dd>The element was renamed as <em><code>eventsource</code>
1188     element</em> (no hyphen).</dd>
1189     <dt><code>m</code> element</dt>
1190     <dd>The element was renamed as <em><code>mark</code>
1191     element</em>.</dd>
1192     </dl>
1193     </div>
1194 wakaba 1.1
1195     <div class="section" id="no-significant-content"><h3>No significant content is contained
1196     in this element.</h3></div>
1197    
1198     <div class="section" id="no-significant-content-before"><h3>There is no significant content
1199     before this element.</h3></div>
1200    
1201     <div class="section" id="no-significant-content-at-the-end"><h3>No significant content is contained
1202     at the end of this element.</h3></div>
1203    
1204     <div class="section" id="ps-element-missing"><h3>There is no <code><var>{text}</var></code>
1205     element before this element.</h3>
1206     <p>There must be an element before another element, but there
1207     is not. The document is non-conforming.</p>
1208    
1209     <p>For example, there must be a <code>dt</code> element
1210     before any <code>dd</code> element.</p>
1211     </div>
1212    
1213     <div class="section" id="rp:syntax-error"><h3>The content of a <code>rp</code> element must
1214     be a parenthesis.</h3></div>
1215    
1216     </section>
1217    
1218     <section id="attribute-errors">
1219     <h2>Attribute Errors</h2>
1220    
1221     <div class="section" id="attribute-missing"><h3>Required attribute <code><var>{text}</var></code>
1222     is not specified.</h3>
1223     <p>A required attribute is not specified. The document
1224     is non-conforming.</p>
1225    
1226     <p>Some attribute is defined as <i>required</i>.
1227     Without required attributes specified, user agents
1228     cannot provide full functionality of the element to the user.</p>
1229    
1230     <dl class="switch">
1231     <dt>HTML <code>img</code> element</dt>
1232     <dd>The <code>src</code> attribute must be specified.
1233     Additionally, the <code>alt</code> attribute must be specified
1234     in many cases.</dd>
1235     <dt>HTML <code>link</code> element</dt>
1236     <dd>The <code>rel</code> attribute must be specified.
1237     Note that the <code>rev</code> attribute is obsolete.</dd>
1238     </dl>
1239     </div>
1240    
1241     <div class="section" id="attribute-missing:data|type"><h3>For an <code>object</code> at least one of
1242     <code>data</code> and <code>type</code> attributes must be
1243     specified.</h3></div>
1244    
1245     <div class="section" id="attribute-missing:href|target"><h3>For a <code>base</code> element, at least one of
1246     <code>href</code> and <code>target</code> attributes must be
1247     specified.</h3></div>
1248    
1249     <div class="section" id="attribute-missing:name|http-equiv"><h3>For a <code>meta</code> element with the
1250     <code>content</code> attribute specified, exactly one of
1251     <code>name</code> and <code>http-equiv</code> attributes must be
1252     specified.</h3></div>
1253    
1254     <div class="section" id="attribute-missing:name|http-equiv|charset"><h3>For a <code>meta</code> element, exactly one of
1255     <code>name</code>, <code>http-equiv</code>, and <code>charset</code>
1256     attributes must be specified.</h3></div>
1257    
1258     <div class="section" id="attribute-not-allowed"><h3>Attribute
1259     <code><var>{local-name}</var></code> is not allowed for
1260     <code><var>{element-local-name}</var></code> element.</h3>
1261     <p>An attribute is specified where it is not allowed.
1262     The document is non-conforming.</p>
1263    
1264     <dl>
1265     <dt>HTML <code>meta</code> element</dt>
1266     <dd>For HTML <code>meta</code> element, <em>only one</em> of
1267     <code>name</code>, <code>http-equiv</code>, or <code>charset</code>
1268     attribute is allowed.</dd>
1269     </dl>
1270     </div>
1271    
1272     <div class="section" id="attribute-not-allowed:ismap"><h3>The <code>ismap</code> attribute may only be
1273     used for the image contained in an <code>a</code> element.</h3></div>
1274    
1275 wakaba 1.6 <div class="section" id="attribute-not-defined"><h3>この属性は定義されていません。</h3>
1276 wakaba 1.5 <p>The attribute is not one of attributes allowed for the element
1277     in the latest version of relevant specifications.</p>
1278 wakaba 1.1
1279 wakaba 1.5 <p>The attribute cannot be used.</p>
1280    
1281 wakaba 1.6 <dl class="switch">
1282     <dt><code>align</code> attribute (various HTML elements)</dt>
1283     <dt><code>border</code> attribute (various HTML elements)</dt>
1284     <dd>These attributes are no longer part of HTML. You can use CSS
1285     properties to control the presentation of the element.</dd>
1286 wakaba 1.5 <dt><code>autosubmit</code> attribute (<code>menu</code> element)</dt>
1287     <dd>The attribute was part of HTML5 draft but then dropped.
1288     Similar functionality can be implemented by scripts.</dd>
1289 wakaba 1.6 <dt><code>language</code> attribute (<code>script</code> element)</dt>
1290     <dd>The attribute is no longer the standard way to specify the
1291     scripting language. If you are using JavaScript, then no explicit
1292     specification of the scripting language is necessary, so you can
1293     write the element like:
1294     <p><code class="html example code">&lt;script&gt;<br><!--
1295     --> /* JavaScript code */<br><!--
1296     -->&lt;/script&gt;</code></p>
1297     If you are using different scripting language from JavaScript, or
1298     you want to declare the scripting language explicitly, you should
1299     use the <code>type</code> attribute, as follows:
1300     <dl class="switch">
1301     <dt>JavaScript</dt>
1302     <dd>Use
1303     <code class="html example">&lt;script type="text/javascript"&gt;</code>.</dd>
1304     <dt>VBScript</dt>
1305     <dd>Use
1306     <code class="html example">&lt;script type="text/vbscript"&gt;</code>.</dd>
1307     </dl>
1308     </dd>
1309 wakaba 1.5 </dl>
1310     </div>
1311 wakaba 1.1
1312 wakaba 1.5 <div class="section" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute in HTML
1313     document is ignored.</h3>
1314     <p>The <code>xml:lang</code> attribute does not have an effect in
1315     HTML document.</p>
1316    
1317     <p>The <code>xml:lang</code> attribute is only applicable to XML
1318     documents. In HTML document, it is only allowed to ease migration
1319     from XML.</p>
1320 wakaba 1.1
1321     <p>To specify natural language information in HTML document,
1322     use <code>lang</code> attribute instead.</p>
1323    
1324     <p>XHTML 1.0 Appendix C was encouraged to specify both
1325     <code>lang</code> and <code>xml:lang</code> attributes with
1326     the same value. Such a duplication has <em>no effect</em> in practice.
1327     Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in
1328     XML).</p>
1329    
1330     <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created
1331     from an HTML document? -->
1332     </div>
1333    
1334     <div class="section" id="in-XML:charset"><h3>The <code>charset</code> attribute is not
1335     allowed in XML document.</h3>
1336     <p>The <code>charset</code> attribute of a
1337     <code>meta</code> element is not allowed in XML document.
1338     The document is non-conforming.</p>
1339    
1340     <p>To specify the character encoding used for serialization,
1341     if necessary, use XML declaration instead:
1342     <pre class="xml example">
1343     <code>&lt;?xml version="1.0" encoding="<var>encoding-name</var>"?&gt;</code></pre>
1344     </p>
1345     </div>
1346    
1347     <div class="section" id="in-XML:noscript"><h3>A <code>noscript</code> element cannot be
1348     used in XML document.</h3></div>
1349    
1350 wakaba 1.6 <div class="section" id="in-XML:xml:lang"><h3>名前空間に属さない <code>xml:lang</code>
1351 wakaba 1.5 属性が認められているのは HTML 文書中だけです。</h3></div>
1352    
1353 wakaba 1.1 <div class="section" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute
1354     in the <code>null</code> namespace is not allowed in
1355     XHTML document. The document is non-conforming.</h3>
1356     <p>The <code>xmlns</code> attribute in the <code>null</code>
1357     namespace is not allowed in XHTML document.</p>
1358    
1359     <p>This error should not occur in conformance-checking of
1360     static documents.</p>
1361     </div>
1362    
1363 wakaba 1.5 <div class="section" id="xml:lang-not-allowed"><h3><code>xml:lang</code> 属性を指定できるのは
1364     <code>lang</code> 属性が指定されている時だけです。</h3></div>
1365    
1366 wakaba 1.1 </section>
1367    
1368     <section id="attribute-value-errors">
1369     <h2>Attribute Value Errors</h2>
1370    
1371     <div class="section" id="boolean:invalid"><h3>Attribute value <code><var>{@}</var></code>
1372     is not allowed. It must be an empty string or a string
1373     <code><var>{local-name}</var></code>.</h3></div>
1374    
1375     <div class="section" id="char:syntax-error"><h3>The attribute value must be exactly one
1376     character.</h3></div>
1377    
1378     <div class="section" id="charref-in-charset"><h3>A character reference cannot be used to
1379     represent a character encoding name.</h3></div>
1380    
1381     <div class="section" id="charset:not-preferred"><h3>Character encoding name
1382     <code><var>{value}</var></code> is not the preferred name of that
1383     character encoding.</h3></div>
1384    
1385     <div class="section" id="charset:not-registered"><h3>Character encoding name
1386     <code><var>{value}</var></code> is not a registered name.</h3>
1387     <p>The specified character encoding name is not registered to
1388     <abbr>IANA</abbr>. Use of registered character encoding name
1389     is a good practice to facilitate interoperability.</p>
1390    
1391     <dl class="switch">
1392     <dt><code>EUC-TW</code></dt>
1393     <dd><code>EUC-TW</code> is not registered. Unfortunately, there
1394     is no registered name for that character encoding. Use
1395     Big5 encoding with character encoding name <code>Big5</code>
1396     if it is enough to represent the document.</dd>
1397     <dt><code>ISO-2022-JP-1</code></dt>
1398     <dd><code>ISO-2022-JP-1</code> is not registered, nevertheless
1399     this character encoding name is documented in
1400     <a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>. Use
1401     <code>ISO-2022-JP-2</code> instead, since that character encoding
1402     is a superset of ISO-2022-JP-1.</dd>
1403     <dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt>
1404     <dd>These names are not registered and obsoleted in favor of
1405     <code>ISO-2022-JP-2004</code> and
1406     <code>ISO-2022-JP-2004-plane1</code>.</dd>
1407     <dt><code>ISO-2022-JP-2003</code>,
1408     <code>ISO-2022-JP-2003-plane1</code></dt>
1409     <dd>These names are not registered and corrected to
1410     <code>ISO-2022-JP-2004</code> and
1411     <code>ISO-2022-JP-2004-plane1</code>.</dd>
1412     <dt><code>ISO-2022-JP-2004</code>,
1413     <code>ISO-2022-JP-2004-plane1</code></dt>
1414     <dd>These names are not registered. Unfortunately, there is
1415     no registered name for these character encodings.</dd>
1416     <dt><code>UTF-8N</code></dt>
1417     <dd><code>UTF-8N</code> is not registered. Character encoding
1418     name <code>UTF-8</code> represents UTF-8 encoding with or
1419     without <abbr>BOM</abbr>.</dd>
1420     </dl>
1421    
1422     <p><strong>WARNING</strong>: This error might be raised for
1423     a registered character encoding name, since the character encoding
1424     name database of the conformance checker is not complete yet.</p>
1425     </div>
1426    
1427     <div class="section" id="charset:private"><h3>Character encoding name
1428     <code><var>{value}</var></code> is a private name.</h3>
1429     <p>The specified character encoding name is a private name and
1430     not registered to <abbr>IANA</abbr>. Use of registered character
1431     encoding name is a good practice to facilitate interoperability.</p>
1432    
1433     <dl class="switch">
1434     <dt><code>x-euc-jp</code></dt>
1435     <dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr>
1436     character encoding.</dd>
1437     <dt><code>x-sjis</code></dt>
1438     <dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of
1439     <abbr>JIS</abbr> coded character set, or <code>Windows-31J</code>
1440     for Microsoft standard character set as implemented by
1441     Microsoft Windows.</dd>
1442     </dl>
1443     </div>
1444    
1445     <div class="section" id="charset:syntax-error"><h3>The specified value <code><var>{value}</var></code>
1446     is syntactically not a character encoding name.</h3>
1447     <p>The attribute value must be a character encoding name. However,
1448     the specified value is not a character encoding name syntactically.
1449     The document is non‐conforming.</p>
1450     <p>Character encoding name is a string of <abbr>ASCII</abbr>
1451     printable characters, up to 40 characters.</p>
1452     </div>
1453    
1454     <div class="section" id="color:syntax-error"><h3>The specified value is not a color
1455     name or hexadecimal color number.</h3></div>
1456    
1457     <div class="section" id="coords:number-not-3"><h3>The <code>coords</code> attribute have to
1458     contain three (3) numbers (specified:
1459     <code><var>{text}</var></code>).</h3></div>
1460    
1461     <div class="section" id="coords:number-not-4"><h3>The <code>coords</code> attribute have to
1462     contain four (4) numbers (specified:
1463     <code><var>{text}</var></code>).</h3></div>
1464    
1465     <div class="section" id="coords:number-lt-6"><h3>The <code>coords</code> attribute have to
1466     contain more than or equal to six (6) numbers (specified:
1467     <code><var>{text}</var></code>).</h3></div>
1468    
1469     <div class="section" id="coords:number-not-even"><h3>The <code>coords</code> attribute have to
1470     contain even number of numbers (specified:
1471     <code><var>{text}</var></code>).</h3></div>
1472    
1473     <div class="section" id="coords:out-of-range"><h3>The specified value <code><var>{value}</var></code>
1474     is out of range.</h3></div>
1475    
1476     <div class="section" id="coords:syntax-error"><h3>The specified value is not valid.</h3></div>
1477    
1478     <div class="section" id="datetime:bad-year"><h3>Year number is out of range.</h3></div>
1479    
1480     <div class="section" id="datetime:bad-month"><h3>Month number is out of range.</h3></div>
1481    
1482     <div class="section" id="datetime:bad-day"><h3>Day number is out of range.</h3></div>
1483    
1484     <div class="section" id="datetime:bad-hour"><h3>Hour number is out of range.</h3></div>
1485    
1486     <div class="section" id="datetime:bad-minute"><h3>Minute number is out of range.</h3></div>
1487    
1488     <div class="section" id="datetime:bad-second"><h3>Second number is out of range.</h3></div>
1489    
1490     <div class="section" id="datetime:bad-timezone-hour"><h3>Hour number of the timezone component is out of
1491     range.</h3></div>
1492    
1493     <div class="section" id="datetime:bad-timezone-minute"><h3>Minute number of the timezone component is out of
1494     range.</h3></div>
1495    
1496     <div class="section" id="datetime:syntax-error"><h3>The attribute value is not a datetime.</h3></div>
1497    
1498 wakaba 1.5 <div class="section" id="dateortime:syntax-error"><h3>The value is not a date or time.</h3></div>
1499 wakaba 1.1
1500     <div class="section" id="enumerated:invalid"><h3>This attribute only allow a limited set of
1501     values and the specified value <code><var>{@}</var></code> is not one
1502     of them.</h3>
1503     <p>For this attribute only several values are allowed and the
1504     value of the attribute is not one of them. The document
1505     is non-conforming.</p>
1506    
1507     <dl>
1508     <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
1509     <dd><p>Only values <code>Default-Style</code> and <code>Refresh</code>
1510     are allowed.</p>
1511     <p>Value <code>Content-Type</code> is obsolete; for charset
1512     declaration, the <code>charset</code> attribute can be used as:
1513     <pre class="html example">
1514     <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
1515     ... where <var>charset-name</var> is a name of the character encoding
1516     of the document, such as <code>utf-8</code>.</p>
1517     <p>Values <code>Content-Style-Type</code> and
1518     <code>Content-Script-Type</code> are currently not allowed.</p>
1519     <p>Value <code>Keywords</code> is not allowed. Use
1520     <code>name</code> attribute instead of <code>http-equiv</code>
1521     attribute.</p>
1522     <p>Values <code>Expires</code>, <code>Pragma</code>,
1523     and <code>Cache-Control</code> are not allowed;
1524     use <em>real</em> HTTP header fields for cache control.</p></dd>
1525     </dl>
1526     </div>
1527    
1528     <div class="section" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax
1529     <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
1530     is obsolete.</h3>
1531     <p>Old long character encoding declaration syntax
1532     <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
1533     is in use. The document is non‐conforming.</p>
1534    
1535     <p>The new character encoding declaration syntax is:
1536     <pre class="html example">
1537     <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
1538     </p>
1539     </div>
1540    
1541     <div class="section" id="enumerated:non-conforming"><h3>Attribute value <code><var>{@}</var></code>
1542     is not allowed.</h3></div>
1543    
1544     <div class="section" id="duplicate-http-equiv"><h3>There is another pragma
1545     <code><var>{value}</var></code>.</h3></div>
1546    
1547     <div class="section" id="duplicate-ID"><h3>This identifier has already been
1548     assigned to another element.</h3></div>
1549    
1550     <div class="section" id="duplicate-token"><h3>The token <code><var>{value}</var></code>
1551     appears in the attribute value twice.</h3></div>
1552    
1553 wakaba 1.6 <div class="section" id="empty-attribute-value"><h3>属性値が空です。</h3></div>
1554    
1555     <div class="section" id="empty-style-sheet-title"><h3><code>title</code> 属性の値が空です。</h3>
1556     <p>The <code>title</code> attribute value of the <code>link</code>
1557     element that defines an alternate style sheet is an empty value.</p>
1558    
1559     <p>A <code>link</code> element whose <code>rel</code> attribute
1560     is <code>alternate stylesheet</code> defines an alternate style sheet.
1561     An alternate style sheet must be associated with a name using the
1562     <code>title</code> attribute. The name cannot be empty.</p>
1563     </div>
1564 wakaba 1.1
1565     <div class="section" id="float:out-of-range"><h3>The specified value is out of range.</h3></div>
1566    
1567     <div class="section" id="float:syntax-error"><h3>The attribute value is not a real
1568     number.</h3></div>
1569    
1570     <div class="section" id="fragment-points-itself"><h3>A fragment identifier references the element
1571     itself.</h3></div>
1572    
1573     <div class="section" id="fragment-points-nothing"><h3>A fragment identifier references no
1574     node.</h3></div>
1575    
1576     <div class="section" id="hashref:syntax-error"><h3>A hash−name reference must start with a
1577     <code>#</code> character.</h3></div>
1578    
1579     <div class="section" id="id-ne-name"><h3>The <code>id</code> attribute value is
1580     different from the <code>name</code> attribute value.</h3></div>
1581    
1582     <div class="section" id="integer:syntax-error"><h3>The attribute value is not an integer.</h3></div>
1583    
1584     <div class="section" id="link-type:bad-context"><h3>The link type <code><var>{value}</var></code>
1585     cannot be specified for this element.</h3>
1586     <p>The specified link type cannot be used for the element.
1587     The document is non-conforming.</p>
1588    
1589     <p>Link types are associated with limited set of elements.
1590     They cannot be used with other elements.</p>
1591    
1592     <p>For example, link type <code>bookmark</code>
1593     can be used with <code>a</code> or <code>area</code> element,
1594     while it cannot be used with <code>link</code> element.</p>
1595     </div>
1596    
1597     <div class="section" id="invalid-attribute-value"><h3>Attribute value <code><var>{@}</var></code>
1598     is not an allowed value.</h3></div>
1599    
1600     <div class="section" id="length:syntax-error"><h3>The attribute value is not a length
1601     value.</h3></div>
1602    
1603     <div class="section" id="link-type:non-conforming"><h3>The link type <code><var>{value}</var></code>
1604     is non-conforming.</h3>
1605     <p>The specified link type is non-conforming, and therefore
1606     the document is non-conforming.</p>
1607    
1608     <dl class="switch">
1609     <dt>Link type <code>contents</code></dt>
1610     <dd>Use link type <code>index</code>.</dd>
1611     <dt>Link type <code>copyright</code></dt>
1612     <dd>Use link type <code>license</code>.</dd>
1613     <dt>Link type <code>home</code></dt>
1614     <dd>Use link type <code>index</code>.</dd>
1615     <dt>Link type <code>previous</code></dt>
1616     <dd>Use link type <code>prev</code>.</dd>
1617     <dt>Link type <code>start</code></dt>
1618     <dd>Use link type <code>first</code>.</dd>
1619     <dt>Link type <code>toc</code> or <code>top</code></dt>
1620     <dd>Use link type <code>index</code>.</dd>
1621     </dl>
1622     </div>
1623    
1624     <div class="section" id="meta-content-type-syntax-error"><h3>The specified value is not a valid as a long
1625     character encoding declaration.</h3></div>
1626    
1627     <div class="section" id="mismatched-charset-name"><h3>The specified character encoding name
1628     <code><var>{value}</var></code> is different from the actual document
1629     character encoding <code><var>{text}</var></code>.</h3>
1630     <p>The specified character encoding name is different from
1631     the character encoding of the document. The document
1632     is non‐conforming.</p>
1633     </div>
1634    
1635     <div class="section" id="mismatched-charset-name-not-checked"><h3>Whether the specified character encoding name
1636     <code><var>{value}</var></code> matches to the actual character encoding
1637     name cannot be checked since the input is not a byte stream.</h3></div>
1638    
1639     <div class="section" id="mode:syntax-error"><h3>The attribute value is not a valid mode
1640     name.</h3></div>
1641    
1642     <div class="section" id="nninteger:out-of-range"><h3>The specified value is out of range.</h3></div>
1643    
1644     <div class="section" id="nninteger:syntax-error"><h3>The attribute value is not a non‐negative
1645     integer.</h3></div>
1646    
1647     <div class="section" id="no-referenced-map"><h3>The <code>usemap</code> attribute references
1648     no image map.</h3></div>
1649    
1650     <div class="section" id="no-referenced-menu"><h3>The <code>contextmenu</code> attribute references
1651     no menu.</h3></div>
1652    
1653     <div class="section" id="no-referenced-header-cell"><h3>There is no table header cell whose <code>id</code>
1654     is <code><var>{value}</var></code> in the same table.</h3></div>
1655    
1656     <div class="section" id="refresh:syntax-error"><h3>the specified value is not a valid as part
1657     of a <code>Refresh</code> pragma.</h3></div>
1658    
1659     <div class="section" id="repeat:syntax-error"><h3>The attribute value is not an integer or
1660     a string <code>template</code>.</h3></div>
1661    
1662     <div class="section" id="reserved-browsing-context-name"><h3>Browsing context name
1663     <code><var>{@}</var></code> is reserved.</h3>
1664     <p>The specified browsing context name is reserved.
1665     The document is non-conforming.</p>
1666    
1667     <p>Names of browsing contexts starting with <code>_</code>
1668     (<code>U+005F</code> <code class="charname">LOW LINE</code>)
1669     are reserved so that it must not be used.</p>
1670    
1671     <p>Old version of HTML, non-HTML markup languages, and
1672     Web browsers define or implements special reserved
1673     browsing context names <code>_blank</code>,
1674     <code>_main</code>, and <code>_replace</code>.
1675     However, they are <em>not</em> conforming attribute values.</p>
1676     </div>
1677    
1678     <div class="section" id="Reserved-Prefixes-and-Namespace-Names:Name"><h3>Namespace name <code><var>{text}</var></code>
1679     is reserved and cannot be used for an arbitrary prefix.</h3></div>
1680    
1681     <div class="section" id="Reserved-Prefixes-and-Namespace-Names:Prefix"><h3>Namespace prefix <code><var>{text}</var></code>
1682     is reserved and cannot be used for an arbitrary namespace name.</h3></div>
1683    
1684     <div class="section" id="link-type:proposed"><h3>Link type <code><var>{value}</var></code>
1685     is proposed but not accepted yet; it <em>should not</em> be
1686     used until it has been accepted.</h3>
1687     <p>The link type is in the <i>proposed</i> status; it
1688     <em>should not</em> be used until it has been
1689     accepted.</p>
1690    
1691     <p><strong>Warning</strong>: The data served to the
1692     conforming checker might be out of date; it might have already
1693     been accepted or rejected. The document might or might not be
1694     conforming depending on the status. See WHATWG Wiki
1695     for the latest information.</p>
1696     </div>
1697    
1698     <div class="section" id="sizes:syntax-error"><h3>The specified value <code><var>{value}</var></code>
1699     is not a valid value.</h3></div>
1700    
1701     <div class="section" id="space-in-ID"><h3>White space characters are not allowed
1702     in the <code>id</code> attribute.</h3></div>
1703    
1704     <div class="section" id="template:not-template"><h3>The node referenced by the <code>template</code>
1705     attribute is not a template.</h3></div>
1706    
1707     <div class="section" id="window-name:empty"><h3>Browsing context name must not be empty.</h3></div>
1708    
1709     <div class="section" id="window-name:reserved"><h3>Browsing context name
1710     <code><var>{value}</var></code> is reserved.</h3></div>
1711    
1712     <div class="section" id="word-not-allowed"><h3>The word <code><var>{value}</var></code> is not
1713     allowed in this attribute.</h3></div>
1714    
1715     <div class="section" id="XML-1.0-NCName:syntax-error"><h3>The specified value is not a legal XML Namespaces
1716     1.0 <code>NCName</code>.</h3></div>
1717    
1718 wakaba 1.5 <div class="section" id="xml:lang-ne-lang"><h3><code>xml:lang</code> 属性の値が <code>lang</code>
1719     属性の値と異なります。</h3>
1720     <p><code>xml:lang</code> 属性 (<code>xml</code> (=
1721     <code>http://www.w3.org/XML/1998/namespace</code>) 名前空間の
1722     <code>lang</code> 属性や名前空間に属さない
1723     <code>xml:lang</code> 属性) の値が同じ要素の名前空間に属さない
1724     <code>lang</code> 属性の値と異なっています。</p>
1725    
1726     <p>歴史的な理由により、 HTML 要素の言語指定のための属性は
1727     <code>lang</code> と <code>xml:lang</code> の2つがあります。 HTML
1728     文書では名前空間に属さない <code>lang</code> 属性だけが認められており、
1729     かつ効力があります。名前空間に属さない
1730     <code>xml:lang</code> 属性は HTML 文書では無視されます。 XHTML 文書では
1731 wakaba 1.6 <code>lang</code> 属性も <code>xml:lang</code> 属性も認められています。</p>
1732 wakaba 1.5
1733     <p>通常、要素の言語情報は <em><code>lang</code>
1734     属性だけ</em>を使って指定すれば十分です。</p>
1735    
1736     <p><code>lang</code> 属性と <code>xml:lang</code>
1737     属性の両方を同じ要素に指定する場合、
1738     両者の値は同じでなければなりません。</p>
1739     </div>
1740    
1741 wakaba 1.1 </section>
1742    
1743     <section id="table-model-errors">
1744     <h2>Table Model Errors</h2>
1745    
1746     <div class="section" id="cell-overlapping"><h3>Cell slot (<var>{text}</var>) is filled by
1747     multiple cells.</h3></div>
1748    
1749     <div class="section" id="colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute
1750     results in creating a table column that does not contain
1751     any cell anchored to it.</h3></div>
1752    
1753     <div class="section" id="column-with-no-anchored-cell"><h3>This column has no anchored cell.</h3></div>
1754    
1755     <div class="section" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or
1756     <code>th</code>) in the last row.</h3></div>
1757    
1758     <div class="section" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute
1759     results in creating a table row that does not contain
1760     any cell anchored to it.</h3>
1761     <p>The <code>rowspan</code> attribute value of the cell
1762     is so specified that it extends a table in the row axis.
1763     However, the extended row does not contain any cell by itself.
1764     The document is non-conforming.</p>
1765    
1766     <p>For example, the table below is non-conforming:
1767     <pre class="html bad example">
1768     <code>&lt;table&gt;
1769     &lt;tbody&gt;
1770     &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;
1771     &lt;/tbody&gt;
1772     &lt;/table&gt;</code></pre>
1773     ... since the second row contains only
1774     a cell that spans between first and second rows.</p>
1775     </div>
1776    
1777     <div class="section" id="row-with-no-anchored-cell"><h3>This row has no anchored cell.</h3></div>
1778    
1779     <div class="section" id="rowspan-creates-row-with-no-anchored-cell"><h3>This <code>rowspan</code> attribute
1780     results in creating a table row that does not contain
1781     any cell anchored to it.</h3></div>
1782    
1783    
1784     </section>
1785    
1786     <section id="imt-warnings">
1787     <h2>Internet Media Type Errors</h2>
1788    
1789 wakaba 1.3 <div class="section" id="boundary:syntax-error"><h3>The specified value is not a valid value
1790     as a multipart boundary.</h3></div>
1791    
1792     <div class="section" id="e4x:syntax-error"><h3>The specified value is not a valid value
1793     for the attribute <code>e4x</code>.</h3></div>
1794    
1795     <div class="section" id="IMT:attribute-syntax-error"><h3>The specified value,
1796     <code><var>{value}</var></code>, is syntactically not a valid
1797     attribute name.</h3></div>
1798    
1799 wakaba 1.1 <div class="section" id="IMT:composite"><h3>The specified media type is a composite
1800     type, which is not allowed in this context.</h3></div>
1801    
1802 wakaba 1.3 <div class="section" id="IMT:limited-use-subtype"><h3>An Internet Media Type whose intended usage
1803     is limited use, <code><var>{value}</var></code> is used.</h3></div>
1804    
1805 wakaba 1.1 <div class="section" id="IMT:syntax-error"><h3>The specified value is not an Internet Media
1806     Type.</h3></div>
1807    
1808 wakaba 1.3 <div class="section" id="IMT:obsolete-parameter"><h3>An obsolete parameter
1809     <code><var>{value}</var></code> is used.</h3></div>
1810    
1811 wakaba 1.6 <div class="section" id="IMT:obsolete-subtype"><h3>廃止されたインターネット媒体型
1812     <code><var>{value}</var></code> が使われています。</h3>
1813     <p>The specified Internet Media Type is registered with its intended
1814     usage as <i>OBSOLETE</i>.</p>
1815    
1816     <dl class="swtich">
1817     <dt>Media type <code>text/ecmascript</code></dt>
1818     <dd>Media type <code>text/ecmascript</code> is obsoleted in
1819     favor of <code>application/ecmascript</code>. Note that
1820     <em><code>text/javascript</code></em> would be the better alternative
1821     in many cases.</dd>
1822     <dt>Media type <code>text/javascript</code></dt>
1823     <dd>Media type <code>text/javascript</code> is obsoleted by
1824     <abbr>IETF</abbr> with backward incompatible alternate
1825     <code>application/javascript</code> for architectural
1826     purity.<!-- @@ ref? --> Those who prefer reality to academic
1827     purity <em>may ignore</em> this warning.</dd>
1828     </dl>
1829     </div>
1830 wakaba 1.3
1831     <div class="section" id="IMT:parameter-missing"><h3>Parameter <code><var>{text}</var></code> have to
1832     be specified for the Internet Media Type
1833     <code><var>{value}</var></code>.</h3></div>
1834    
1835     <div class="section" id="IMT:parameter-not-allowed"><h3>Parameter <code><var>{value}</var></code> is not
1836     allowed for this Internet Media Type.</h3></div>
1837    
1838     <div class="section" id="IMT:private-subtype"><h3>Use of a private Internet Media Type
1839     <code><var>{value}</var></code> is not encouraged.</h3></div>
1840 wakaba 1.1
1841 wakaba 1.3 <div class="section" id="IMT:private-type"><h3>Use of a private type
1842     <code><var>{value}</var></code> is not encouraged.</h3></div>
1843 wakaba 1.1
1844 wakaba 1.3 <div class="section" id="IMT:subtype-syntax-error"><h3>Value <code><var>{value}</var></code> is
1845     syntactically not a valid subtype value of an Internet Media Type.</h3></div>
1846    
1847     <div class="section" id="IMT:type-syntax-error"><h3>Value <code><var>{value}</var></code> is
1848     syntactically not a valid type.</h3></div>
1849    
1850     <div class="section" id="IMT:unknown-parameter"><h3>An unknown parameter <code><var>{value}</var></code>
1851     is used. The conformance checker cannot determine whether use of this
1852     parameter is valid or not.</h3></div>
1853    
1854     <div class="section" id="IMT:unknown-subtype"><h3>An unknown Internet Media Type
1855     <code><var>{value}</var></code> is used. At the time of the update of
1856     the conformance checker's Internet Media Type database, the subtype is
1857     not reigstered to the IANA registry. The subtype, however, might be
1858     registerd to the IANA registry thereafter. Please consult the IANA
1859     registry.</h3></div>
1860    
1861     <div class="section" id="IMT:unregistered-subtype"><h3>Use of an Internet Media Type
1862     <code><var>{value}</var></code> is not encouraged since it is not
1863     part of the IANA registry.</h3></div>
1864    
1865     <div class="section" id="IMT:unregistered-type"><h3>Use of a type
1866     <code><var>{value}</var></code> is not encouraged since it is not
1867     a standardized type.</h3></div>
1868 wakaba 1.1
1869     <div class="section" id="not-IMT"><h3>A value that is not an Internet Media Type
1870     is not allowed here.</h3></div>
1871    
1872     </section>
1873    
1874     <section id="uri-errors">
1875     <h2>URL Errors</h2>
1876    
1877     <div class="section" id="syntax-error:iri3987"><h3>The specified value is syntactically not an
1878     IRI.</h3></div>
1879    
1880     <div class="section" id="syntax-error:iriref3987"><h3>The specified value is syntactically not an IRI
1881     reference.</h3>
1882     <p>The specified value does not satisfy the syntactical requirements
1883     for IRI references. The document is non-conforming.</p>
1884    
1885     <p>Possible causes:
1886     <ul>
1887     <li>The string might contain one or more white space characters.
1888     Especially, the <code> </code> (<code>U+0020</code>
1889     <code class="charname">SPACE</code>) character cannot be
1890     used in IRI references.</li>
1891     </ul>
1892     </p>
1893     </div>
1894    
1895     <div class="section" id="syntax-error:rdfuriref"><h3>The specified value is syntactically not an RDF
1896     URI reference.</h3></div>
1897    
1898     <div class="section" id="syntax-error:uri2396"><h3>The specified value is syntactically not a
1899     URI according to RFC 2396.</h3></div>
1900    
1901     <div class="section" id="syntax-error:uri3986"><h3>The specified value is syntactically not a
1902     URI.</h3></div>
1903    
1904     <div class="section" id="URL:address-format"><h3>URL host address format
1905 wakaba 1.5 <code><var>{text}</var></code> is not defined.</h3></div>
1906 wakaba 1.1
1907     <div class="section" id="URL:default-port"><h3>Default port number should be omitted.</h3></div>
1908    
1909     <div class="section" id="URL:dot-segment"><h3>A dot-segment (<code>.</code> or
1910     <code>..</code>) occurs in an absolute reference.</h3>
1911     <p>Dot-segment (<code>.</code> or <code>..</code>) should
1912     not occur in an absolute reference.</p>
1913    
1914     <p>In relative references, dot-segments are used to represent
1915     the current (<code>.</code>) or the parent (<code>..</code>)
1916     hierarchy of the path. Though they are also allowed
1917     in absolute references, it should be resolved to the
1918     canonical form before it has been published.</p>
1919     </div>
1920    
1921     <div class="section" id="URL:empty-host"><h3>The host component of the URL is empty.</h3></div>
1922    
1923     <div class="section" id="URL:empty-path"><h3>The URL does not end with
1924     a <code>/</code> character.</h3></div>
1925    
1926     <div class="section" id="URL:empty-port"><h3>The port component of the URL is empty.</h3></div>
1927    
1928     <div class="section" id="URL-fragment-not-allowed"><h3>The fragment component of the URL is not
1929     allowed.</h3></div>
1930    
1931     <div class="section" id="URL:long-host"><h3>The host component of the URL
1932     is too long.</h3></div>
1933    
1934     <div class="section" id="URL:lowercase-hexadecimal-digit"><h3>A lowercase hexadecimal digit is used
1935     in percent-encoding.</h3>
1936     <p>The hexadecimal digit in percent-encoding string in the IRI
1937     is in lowercase. Though the IRI <em>is</em> conforming,
1938     it should be in uppercase.</p>
1939     </div>
1940    
1941     <div class="section" id="URL:non-DNS-host"><h3>The host component of the URL
1942     is not a DNS host name.</h3></div>
1943    
1944     <div class="section" id="URL:non-UTF-8-host"><h3>The host component of the URL
1945     is not encoded in UTF-8.</h3></div>
1946    
1947     <div class="section" id="URL:password"><h3>Password should not be included in a URL
1948     for the security.</h3></div>
1949    
1950     <div class="section" id="URL:percent-encoded-unreserved"><h3>An unreserved character is
1951     percent-encoded.</h3>
1952     <p>An unreserved character is percent-encoded in the IRI.
1953     Though it <em>is</em> conforming, it should be in the
1954     decoded (or bare) form.</p>
1955     </div>
1956    
1957     <div class="section" id="URL:uppercase-host"><h3>The host <code><var>{value}</var></code>
1958     should be spelt in lowercase.</h3></div>
1959    
1960     <div class="section" id="URL:uppercase-scheme-name"><h3>URL scheme name is in uppercase.</h3>
1961     <p>The scheme part of the IRI is written in uppercase letter.</p>
1962    
1963     <p>Uppercase scheme names are not required to be processed
1964     correctly.</p>
1965     <!-- @@
1966     RFC 3986 3.1.
1967     > Although schemes are case-
1968     insensitive, the canonical form is lowercase and documents that
1969     specify schemes must do so with lowercase letters.
1970    
1971     > An implementation ... should only produce lowercase scheme names for
1972     consistency.
1973     -->
1974     </div>
1975    
1976     </section>
1977    
1978     <section id="mq-errors">
1979     <h2>Media Query Errors</h2>
1980    
1981     <div class="section" id="mq-syntax-error"><h3>The specified value has a syntax error as a
1982     media query.</h3></div>
1983    
1984     <div class="section" id="unknown-media-type"><h3>Media type <code><var>{value}</var></code> is
1985     not supported by the conformance checker.</h3></div>
1986    
1987     </section>
1988    
1989     <section id="selectors-errors">
1990     <h2>Selectors Errors</h2>
1991    
1992     <div class="section" id="an+b-not-closed"><h3>Argument list of the pseudo-class is
1993     not closed by a <code>)</code> character.</h3></div>
1994    
1995     <div class="section" id="ab+b-not-integer"><h3>Numbers in the argument
1996     <code><var>a</var>n+<var>b</var></code> have to be integers.</h3></div>
1997    
1998     <div class="section" id="an+b-syntax-error"><h3>Argument <code><var>a</var>n+<var>b</var></code> is
1999     syntactically incorrect.</h3></div>
2000    
2001     <div class="section" id="attr-selector-not-closed"><h3>Attribute selector is not closed by
2002     a <code>]</code> character.</h3></div>
2003    
2004     <div class="section" id="lang-selector-not-closed"><h3>Argument list of the <code>:lang</code>
2005     selector is not closed by a <code>)</code> character.</h3></div>
2006    
2007     <div class="section" id="namespace-prefix:not-declared"><h3>Namespace prefix <code><var>{value}</var></code>
2008     is not declared.</h3></div>
2009    
2010     <div class="section" id="no-attr-local-name"><h3>Attribute local name is missing.</h3></div>
2011    
2012     <div class="section" id="no-attr-match"><h3>Attribute matching operator (e.g.
2013     <code>=</code>) is missing.</h3></div>
2014    
2015     <div class="section" id="no-attr-name"><h3>Attribute name is missing.</h3></div>
2016    
2017     <div class="section" id="no-attr-namespace-separator"><h3>Attribute namespace wildcard <code>*</code>
2018     is not followed by a <code>|</code> character.</h3></div>
2019    
2020     <div class="section" id="no-attr-value"><h3>Attribute value is missing.</h3></div>
2021    
2022     <div class="section" id="no-class-name-selector"><h3>Class name is missing.</h3></div>
2023    
2024     <div class="section" id="no-combinator"><h3>Combinator is missing.</h3></div>
2025    
2026     <div class="section" id="no-contains-string"><h3>No string is specified in the argument
2027     list of the <code>:-manakai-contains</code> pseudo-class
2028     selector.</h3></div>
2029    
2030     <div class="section" id="no-lang-tag"><h3>Language tag argument is missing.</h3></div>
2031    
2032     <div class="section" id="no-local-name-selector"><h3>Local name part of the type selector (or
2033     <code>*</code> for the universal selector) is missing.</h3></div>
2034    
2035     <div class="section" id="no-pseudo-class-name"><h3>Pseudo-class name is missing.</h3></div>
2036    
2037     <div class="section" id="no-pseudo-element-name"><h3>Pseudo-element name is missing.</h3></div>
2038    
2039     <div class="section" id="no-sss"><h3>Sequence of simple selectors is
2040     expected.</h3></div>
2041    
2042     <div class="section" id="not-not-closed"><h3>Argument list of the <code>:not</code> selector
2043     is not closed by a <code>)</code> character.</h3></div>
2044    
2045     <div class="section" id="ss-after-pseudo-element"><h3>Simple selector is not allowed after a
2046     pseudo element.</h3></div>
2047    
2048     <div class="section" id="unknown-pseudo-class"><h3>Pseudo-class <code>:<var>{value}</var></code>
2049     is not supported by the conformance checker.</h3></div>
2050    
2051     <div class="section" id="unknown-pseudo-element"><h3>Pseudo-element <code>::<var>{value}</var></code>
2052     is not supported by the conformance checker.</h3></div>
2053    
2054     </section>
2055    
2056     <section id="css-errors">
2057     <h2>CSS Errors</h2>
2058    
2059     <div class="section" id="at-rule-not-allowed"><h3>An <code>@<var>{text}</var></code> rule is not
2060     allowed here.</h3></div>
2061    
2062     <div class="section" id="at-rule-syntax-error"><h3>The <code>@<var>{text}</var></code> rule is
2063     syntactically incorrect.</h3></div>
2064    
2065     <div class="section" id="block-not-closed"><h3>Block is not closed before the end of
2066     file.</h3></div>
2067    
2068     <div class="section" id="CSS-duplication"><h3>Component <code>&lt;<var>{text}</var>&gt;</code> is
2069     already specified.</h3></div>
2070    
2071     <div class="section" id="CSS-cursor-hand"><h3>Value <code>hand</code> is not valid as
2072     <code>&lt;'cursor'&gt;</code>.</h3></div>
2073    
2074     <div class="section" id="CSS-syntax-error"><h3>Specified value is syntactically not a correct
2075     <code>&lt;<var>{text}</var>&gt;</code>.</h3></div>
2076    
2077     <div class="section" id="no-declaration-block"><h3>No declaration block is found after a group of
2078     selectors.</h3></div>
2079    
2080     <div class="section" id="no-property-colon"><h3>A <code>:</code> character is missing after
2081     a property name.</h3></div>
2082    
2083     <div class="section" id="no-property-name"><h3>Property name is expected.</h3></div>
2084    
2085     <div class="section" id="no-property-semicolon"><h3>A <code>;</code> character is missing at the
2086     end of the property.</h3></div>
2087    
2088     <div class="section" id="priority-syntax-error"><h3>Priority part of the declaration is syntactically
2089     incorrect.</h3></div>
2090    
2091     <div class="section" id="unknown-at-rule"><h3>The <code>@<var>{value}</var></code> rule is
2092     not supported by the conformance checker.</h3></div>
2093    
2094     <div class="section" id="unknown-property"><h3>Property <code><var>{value}</var></code> is
2095     not supported by the conformance checker.</h3></div>
2096    
2097     </section>
2098    
2099     <section id="cache-manifest-errors">
2100     <h2>Cache Manifest Errors</h2>
2101    
2102     <div class="section" id="both-in-entries-and-whitelist"><h3>This URL is found both in the explicit or
2103     fallback entries and in the online whitelist.</h3></div>
2104    
2105     <div class="section" id="different-origin-from-manifest"><h3>The specified URL has different origin from
2106     the manifest.</h3></div>
2107    
2108     <div class="section" id="different-scheme-from-manifest"><h3>The scheme component of the URL is
2109     different from that of the manifest URL. The URL is ignored.</h3></div>
2110    
2111     <div class="section" id="duplicate-oc-namespace"><h3>This oppotunistic caching namespace is already
2112     specified.</h3></div>
2113    
2114     <div class="section" id="no-fallback-entry-URL"><h3>Fallback entry URL is missing.</h3></div>
2115    
2116     <div class="section" id="not-manifest"><h3>This document is not a cache manifest.</h3>
2117     <p>The specified document is <em>not</em> a cache manifest.
2118     The document is non-conforming.</p>
2119    
2120     <p>An entity labeled as Internet media type
2121     <code>text/cache-manifest</code> must contain a cache manifest.</p>
2122    
2123     <p>A cache manifest must start with a line whose content is
2124     <code class="manifest example">CACHE MANIFEST</code>
2125     (exactly one space character between
2126     <code>CACHE</code> and <code>MANIFEST</code>).</p>
2127     </div>
2128    
2129     <div class="section" id="same-as-manifest-URL"><h3>This URL is same as the manifest URL.</h3></div>
2130    
2131     </section>
2132    
2133     <section id="information">
2134     <h2>Stability Information</h2>
2135    
2136     <div class="section" id="deprecated:attr"><h3>This attribute is deprecated.</h3></div>
2137    
2138     <div class="section" id="deprecated:element"><h3>This element is deprecated.</h3></div>
2139    
2140     <div class="section" id="status:cr:element"><h3>This element is in the
2141     <strong>call for implementation</strong> stage.</h3>
2142     <p>The element is in the call for implementation stage.</p>
2143    
2144     <p>Usually, using the element is safe. However, it is a new feature
2145     so that it might not be implemented correctly. If it is found that
2146     the feature is hard or impossible to implement, the feature
2147     might be revised, or in some case it might be dropped.</p>
2148    
2149     <p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0
2150     (W3C Candidate Recommendation) belong to this class.</p>
2151     </div>
2152    
2153     <div class="section" id="status:lc:element"><h3>This element is in the <strong>last
2154     call for comments</strong> stage.</h3>
2155     <p>The element is in the last call for comments stage.</p>
2156    
2157     <p>The element is relatively mature, though the standardization
2158     is not done yet. It may be used for experiments. Since it is a new
2159     feature, it might not be implemented correctly or at all. If it is
2160     found that the feature is hard or impossible to implement, the feature
2161     might be revised or might be dropped.</p>
2162    
2163     <p>Elements defined by Web Forms 2.0 as well as some elements
2164     defined by HTML5 belong to this class.</p>
2165     </div>
2166    
2167     <div class="section" id="status:wd:element"><h3>This element is documented in a <strong>working
2168     draft</strong>.</h3>
2169     <p>The element is documented in a working or editor's draft
2170     and not yet completed.</p>
2171    
2172     <p>The element should not be used for any practical purpose.
2173     The feature might be drastically changed later or might be
2174     entirely removed.</p>
2175    
2176     <p>Most of new elements defined by HTML5 belong to this class.</p>
2177     </div>
2178    
2179     <div class="section" id="status:non-standard:element"><h3>This element is <strong>not part of any
2180     standard</strong> the conformance checker knows.</h3>
2181     <p>The element is not part of any standard or draft the conformance
2182     checker is aware of.</p>
2183    
2184     <p>The element should not be used for any practical purpose unless
2185     there is really a standard that defines the element.</p>
2186     </div>
2187    
2188     <div class="section" id="status:cr:attr"><h3>This attribute is in the
2189     <strong>call for implementation</strong> stage.</h3>
2190     <p>The attribute is in the call for implementation stage.</p>
2191    
2192     <p>Usually, using the attribute is safe. However, it is a new feature
2193     so that it might not be implemented correctly. If it is found that
2194     the feature is hard or impossible to implement, the feature
2195     might be revised, or in some case it might be dropped.</p>
2196     </div>
2197    
2198     <div class="section" id="status:lc:attr"><h3>This attribute is in the <strong>last
2199     call for comments</strong> stage.</h3>
2200     <p>The attribute is in the last call for comments stage.</p>
2201    
2202     <p>The attribute is relatively mature, though the standardization
2203     is not done yet. It may be used for experiments. Since it is a new
2204     feature, it might not be implemented correctly or at all. If it is
2205     found that the feature is hard or impossible to implement, the feature
2206     might be revised or might be dropped.</p>
2207     </div>
2208    
2209     <div class="section" id="status:wd:attr"><h3>This attribute is documented in a <strong>working
2210     draft</strong>.</h3>
2211     <p>The attribute is documented in a working or editor's draft
2212     and not yet completed.</p>
2213    
2214     <p>The attribute should not be used for any practical purpose.
2215     The feature might be drastically changed later or might be
2216     entirely removed.</p>
2217     </div>
2218    
2219     <div class="section" id="status:non-standard:attr"><h3>This attribute is <strong>not part of any
2220     standard</strong> the conformance checker knows.</h3>
2221     <p>The attribute is not part of any standard or draft the conformance
2222     checker is aware of.</p>
2223    
2224     <p>The attribute should not be used for any practical purpose unless
2225     there is really a standard that defines the attribute.</p>
2226     </div>
2227     </section>
2228    
2229     <section id="langtag-errors">
2230     <h2>Language Tag Errors</h2>
2231    
2232     <div class="section" id="langtag:extension:duplication"><h3>There is another extension subtag
2233     <code><var>{value}</var></code>.</h3></div>
2234    
2235     <div class="section" id="langtag:illegal"><h3>Subtag <code><var>{value}</var></code> is
2236     syntactically invalid.</h3></div>
2237    
2238     <div class="section" id="langtag:language:case"><h3>It is a good practice to represent ISO 639-1
2239     language code <code><var>{value}</var></code> in lowercase.</h3></div>
2240    
2241     <div class="section" id="langtag:language:mul"><h3>Langauge tag <code>mul</code> should not be
2242     used.</h3></div>
2243    
2244     <div class="section" id="langtag:language:nosemantics"><h3>No semantics is defined for language subtag
2245     <code><var>{value}</var></code>.</h3></div>
2246    
2247     <div class="section" id="langtag:language:syntax"><h3>The language subtag <code><var>{value}</var></code>
2248     is syntactically invalid.</h3></div>
2249    
2250     <div class="section" id="langtag:language:und"><h3>Langauge tag <code>und</code> should not be
2251     used.</h3></div>
2252    
2253     <div class="section" id="langtag:private"><h3>It would be better if a private use language
2254     tag (<code><var>{value}</var></code>) is not used.</h3></div>
2255    
2256     <div class="section" id="langtag:privateuse:syntax"><h3>Private use subtag <code><var>{value}</var></code>
2257     is syntactically invalid.</h3></div>
2258    
2259     <div class="section" id="langtag:region:case"><h3>It is a good practice to represent ISO 3166
2260     country code <code><var>{value}</var></code> in uppercase.</h3></div>
2261    
2262     <div class="section" id="langtag:region:nosemantics"><h3>No semantics is defined for region subtag
2263     <code><var>{value}</var></code>.</h3></div>
2264    
2265     <div class="section" id="langtag:region:private"><h3>Use of private use country code
2266     <code><var>{value}</var></code> is not allowed.</h3></div>
2267    
2268     </section>
2269    
2270     <section id="rdfxml-errors">
2271     <h2>RDF/XML Errors</h2>
2272    
2273     <div class="section" id="bad-rdf-namespace"><h3>The namespace URI of an element that
2274     represents an RDF concept must be
2275     <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>.</h3></div>
2276    
2277     <div class="section" id="duplicate-rdf-id"><h3>The specified value is already used as an
2278     ID.</h3></div>
2279    
2280     <div class="section" id="duplicate-unqualified-attr"><h3>Both unqualified attribute and namespace‐qualified
2281     RDF attribute are specified, which is not allowed.</h3></div>
2282    
2283     <div class="section" id="parse-type-other"><h3>An invalid value is specified to
2284     the <code>parseType</code> attribute.</h3></div>
2285    
2286     <div class="section" id="second-node-element"><h3>There is another element, such that
2287     this element is not allowed.</h3></div>
2288    
2289     <div class="section" id="unqualified-attr"><h3>Unqualified attribute is not allowed.</h3></div>
2290    
2291     <div class="section" id="unqualified-rdf-attr"><h3>RDF attribute should be
2292     namespace‐qualified.</h3></div>
2293    
2294     </section>
2295    
2296     <section id="unsupported-messages">
2297     <h2><i>Unsupported</i> Messages</h2>
2298    
2299     <div class="section" id="unknown-element"><h3>Conformance checking for element
2300     <code><var>{local-name}</var></code> is not supported; <em>it might or
2301     might not be conforming</em>.</h3>
2302     <p>The conformant checker does not support the element.
2303     It cannot determine whether the document is conforming or not.</p>
2304     </div>
2305    
2306     <div class="section" id="unknown-attribute"><h3>Conformance checking for attribute
2307     <code><var>{local-name}</var></code> of element
2308     <code><var>{element-local-name}</var></code> is not supported;
2309     <em>it might or might not be conforming</em>.</h3>
2310     <p>The conformant checker does not support the attribute.
2311     It cannot determine whether the document is conforming or not.</p>
2312     </div>
2313    
2314     <div class="section" id="unknown-link-type"><h3>Link type <code><var>{value}</var></code> is not
2315     standardized or registered at the time of the release of the conformance
2316     checker; <em>it is non-conforming unless it now has been
2317     registered</em>.</h3>
2318     <p>The <code>rel</code> attribute is defined as a list of link types.
2319     Some common link types are defined in the HTML5 specification.
2320     Additional link types can be registered to the WHATWG Wiki.
2321     use of any other link type is non-conforming.</p>
2322    
2323     <p>The specified link type is not part of the standard or registry
2324     when the database used by the conformance cheker is created.
2325     The link type might have been added to the registry since then.
2326     In such case it might be conforming. Otherwise, the
2327     document is non-conforming.</p>
2328    
2329     <dl>
2330     <dt>Link types <code>shortcut icon</code></dt>
2331     <dd>Link type <code>shortcut</code> is not registered.
2332     Use only <code>icon</code> for linking to so-called favicon.</dd>
2333     </dl>
2334     </div>
2335    
2336     <div class="section" id="event-handler"><h3>Conformance checking for event handler attribute
2337     is not supported; <em>it might or might not be conforming.</em></h3></div>
2338    
2339     <div class="section" id="media-query"><h3>Conformance checking for media query
2340     is not supported; <em>it might or might not be conforming.</em></h3></div>
2341    
2342     <div class="section" id="addr-spec-not-supported"><h3>Conformance checking for an <code>addr-spec</code>
2343     is not supported; <em>it might or might not be conforming.</em></h3></div>
2344    
2345     <div class="section" id="XML-script-lang"><h3>Conformance checking for script
2346     language <code><var>{text}</var></code> is not supported;
2347     <em>it might or might not be conforming.</em></h3></div>
2348    
2349     <div class="section" id="XML-style-lang"><h3>Conformance checking for style
2350     language <code><var>{text}</var></code> is not supported;
2351     <em>it might or might not be conforming.</em></h3></div>
2352    
2353     <div class="section" id="atom|content-not-supported"><h3>Conformance checking for an Atom
2354     <code>content</code> element with <code>type</code>
2355     <code><var>{text}</var></code> is not supported.</h3></div>
2356    
2357 wakaba 1.2 <div class="section" id="help-not-available"><h3>これ以上の詳しい情報はありません。</h3>
2358     <p>これについての詳しい情報はありません。</p>
2359 wakaba 1.1 </div>
2360    
2361     </section>
2362    
2363    
2364    
2365    
2366    
2367    
2368    
2369    
2370    
2371    
2372    
2373    
2374    
2375    
2376    
2377    
2378    
2379    
2380    
2381    
2382    
2383    
2384    
2385    
2386    
2387    
2388    
2389    
2390    
2391    
2392    
2393    
2394    
2395    
2396    
2397    
2398    
2399    
2400    
2401    
2402    
2403    
2404    
2405    
2406    
2407    
2408    
2409    
2410    
2411    
2412    
2413    
2414    
2415    
2416    
2417    
2418    
2419    
2420    
2421    
2422    
2423    
2424    
2425    
2426    
2427    
2428    
2429    
2430    
2431    
2432    
2433    
2434    
2435    
2436    
2437    
2438    
2439    
2440    
2441    
2442    
2443    
2444    
2445    
2446    
2447    
2448    
2449    
2450    
2451    
2452    
2453    
2454    
2455    
2456    
2457    
2458    
2459    
2460    
2461    
2462    
2463    
2464    
2465    
2466    
2467    
2468    
2469    
2470    
2471    
2472    
2473    
2474    
2475    
2476    
2477    
2478    
2479    
2480    
2481    
2482    
2483    
2484    
2485    
2486    
2487    
2488    
2489    
2490    
2491    
2492    
2493    
2494    
2495    
2496    
2497    
2498    
2499    
2500    
2501    
2502    
2503    
2504    
2505    
2506    
2507    
2508    
2509    
2510    
2511    
2512    
2513    
2514    
2515    
2516    
2517    
2518    
2519    
2520    
2521    
2522    
2523    
2524    
2525    
2526    
2527    
2528    
2529    
2530    
2531    
2532    
2533    
2534    
2535    
2536    
2537    
2538    
2539    
2540    
2541    
2542    
2543    
2544    
2545    
2546    
2547    
2548    
2549    
2550    
2551    
2552    
2553    
2554    
2555    
2556    
2557    
2558    
2559    
2560    
2561    
2562    
2563    
2564    
2565    
2566    
2567    
2568    
2569 wakaba 1.2
2570    
2571 wakaba 1.1 <div class="section" id="Error-level-m"><h3><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></h3>
2572     <p>A violation to a hard requirement of the specification.
2573     The document is non‐conforming.</p>
2574     </div>
2575    
2576     <div class="section" id="Error-level-s"><h3><a href="../error-description#Error-level-s" rel="help"><em class="rfc2119" title="RECOMMENDED">推奨</em>級の誤り</a></h3>
2577     <p>A violation to a requirement of the specification.
2578     The violation might be legitimize in some case. Otherwise,
2579     the document is non‐conforming.</p>
2580     </div>
2581    
2582     <div class="section" id="Error-level-w"><h3><a href="../error-description#Error-level-w" rel="help">警告</a></h3>
2583     <p>A warning is an advice from the conformance checker
2584     to avoid solving a problem in a confusing or possibly wrong way.
2585     It does not affect to the conformance of the document, and
2586     may sometimes be inappropriate.</p>
2587     </div>
2588    
2589     <div class="section" id="Error-level-i"><h3><a href="../error-description#Error-level-i" rel="help">情報</a></h3>
2590     <p>An informational message just provides an additional information
2591     on the feature used in the document or the status of the retrieval
2592     or so on.
2593     It does not affect to the conformance of the document.</p>
2594     </div>
2595    
2596     <div class="section" id="Error-level-u"><h3><a href="../error-description#Error-level-u" rel="help">未対応</a></h3>
2597     <p>Some feature that is not supported by the conformance checker
2598     is used in the document.</p>
2599     </div>
2600    
2601     <section id="license">
2602     <h2>License of This Document</h2>
2603    
2604     <p>Copyright <time>2007</time>‐<time>2008</time>
2605     <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>
2606     <code class="mail">&lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>&gt;</code>.</p>
2607    
2608     <p>This document is free software; you can redistribute it
2609     and/or modify it under the same terms as Perl itself.</p>
2610     </section>
2611    
2612 wakaba 1.7 <!-- $Date: 2008/08/31 13:28:12 $ -->
2613 wakaba 1.1 </body>
2614     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24