/[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.5 - (show annotations) (download)
Sat Aug 30 16:10:07 2008 UTC (15 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +88 -27 lines
++ ChangeLog	30 Aug 2008 16:10:05 -0000
	* error-description-source.xml: Descriptions for new error
	types are added.

2008-08-30  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24