/[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.8 - (show annotations) (download)
Thu Sep 11 09:13:57 2008 UTC (15 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.7: +31 -4 lines
++ ChangeLog	11 Sep 2008 09:13:08 -0000
2008-09-11  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: Unicode checker
	errors are added.

++ html/WebHACC/Language/ChangeLog	11 Sep 2008 09:13:53 -0000
2008-09-11  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm: Support for the Unicode character checking.

++ html/WebHACC/ChangeLog	11 Sep 2008 09:13:31 -0000
2008-09-11  Wakaba  <wakaba@suika.fam.cx>

	* Result.pm (generate_result_section): Initial
	support for the charset layer.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24