/[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.6 - (hide annotations) (download)
Sun Aug 31 13:28:12 2008 UTC (16 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.5: +94 -11 lines
++ ChangeLog	31 Aug 2008 13:28:00 -0000
2008-08-31  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: More error descriptions.

1 wakaba 1.1 <!DOCTYPE html><html id="error-description" lang="ja" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml">
2     <head>
3     <base href="cc/">
4    
5 wakaba 1.2
6 wakaba 1.1 <link href="../cc-style" rel="stylesheet">
7     <link href="#license" rel="license">
8 wakaba 1.2 <title xml:lang="ja">誤りの説明 — WebHACC (β)</title></head>
9 wakaba 1.1 <body>
10     <header>
11     <h1><a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img alt="WebHACC" src="../icons/title"></abbr></a></h1>
12     <h2>Description of Errors</h2>
13     </header>
14    
15    
16    
17     <div class="section" id="WebHACC:Heading"><h3>
18    
19     </h3>
20     <p><a href="./#input"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr></a>
21     は、 Web 文書のための<em>適合性検査器</em> (妥当性検証器) です。
22     <a href="http://whatwg.org/html5"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>、
23     <a href="urn:ietf:rfc:4287">Atom 1.0</a>、
24     <a href="http://www.w3.org/Style/CSS/current-work"><abbr title="Cascading Style Sheets">CSS</abbr>3</a>
25     などの<a href="../standards">最新の Web 標準</a>に対応しています。</p>
26    
27     <p><strong><a href="./#input">文書を検査する</a></strong></p>
28    
29     <p><a href="../cc-about"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr>
30     の詳細</a></p>
31     </div>
32    
33     <section id="character-encoding-layer">
34     <h2>Character Encoding Layer Errors</h2>
35    
36     <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 wakaba 1.5 <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 wakaba 1.1
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 wakaba 1.5 <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 wakaba 1.1
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 wakaba 1.6 <div class="section" id="after-after-frameset"><h3><code>html</code> 要素が閉じられた後に開始タグ
582     <code>&lt;<var>{text}</var>&gt;</code> があります。</h3></div>
583    
584     <div class="section" id="after-after-frameset:/"><h3><code>html</code> 要素が閉じられた後に終了タグ
585     <code>&lt;/<var>{text}</var>&gt;</code> があります。</h3></div>
586    
587 wakaba 1.1 <div class="section" id="after-body"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
588     not allowed after the <code>body</code> is closed.</h3></div>
589    
590     <div class="section" id="after-body:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
591     not allowed after the <code>body</code> is closed.</h3></div>
592    
593     <div class="section" id="after-body:#text"><h3>Non‐white‐space characters are not allowed
594     after the <code>body</code> is closed.</h3></div>
595    
596     <div class="section" id="after-frameset"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
597     not allowed after the <code>frameset</code> is closed.</h3></div>
598    
599     <div class="section" id="after-frameset:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
600     not allowed after the <code>frameset</code> is closed.</h3></div>
601    
602     <div class="section" id="after-frameset:#text"><h3>Non‐white‐space characters are not allowed
603     after the <code>frame</code> is closed.</h3></div>
604    
605     <div class="section" id="after-head"><h3>The <code><var>{text}</var></code> element cannot be
606     inserted between <code>head</code> and <code>body</code>
607     elements.</h3>
608     <p>A start tag appears after the <code>head</code> element is closed
609     but before the <code>body</code> element is opened.
610     The document is non-conforming.</p>
611     </div>
612    
613     <div class="section" id="after-html"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
614 wakaba 1.4 not allowed after the <code>html</code> is closed.</h3>
615     <p>The start tag of an element appears after the
616     <code>body</code> element has been closed. The document is
617     non-conforming.</p>
618    
619     <p>Any content of the document other than <code>head</code>
620     contents and comments must be put into the <code>body</code>
621     element.</p>
622     </div>
623 wakaba 1.1
624     <div class="section" id="after-html:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
625 wakaba 1.4 not allowed after the <code>html</code> is closed.</h3>
626     <p>The end tag of an element appears after the
627     <code>body</code> element has been closed. The document is
628     non-conforming.</p>
629    
630     <p>Any content of the document other than <code>head</code>
631     contents and comments must be put into the <code>body</code>
632     element.</p>
633     </div>
634 wakaba 1.1
635     <div class="section" id="after-html:#text"><h3>Non‐white‐space characters are not allowed
636     after the <code>html</code> is closed.</h3></div>
637    
638     <div class="section" id="image"><h3>The <code>image</code> element is
639     obsolete.</h3></div>
640    
641     <div class="section" id="in-a:a"><h3>Anchor cannot be nested.</h3>
642     <p>HTML <code>a</code> elements cannot be nested.
643     The document is non-conforming.</p>
644    
645     <p>In the HTML syntax, a start tag of the <code>a</code>
646     implies the end tag of any opening <code>a</code> element.</p>
647     </div>
648    
649     <div class="section" id="in-body"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
650     is not allowed in the <code>body</code> element.</h3>
651     <p>The start or end tag of an element, which
652     cannot be a descendant of <code>body</code> element, appears
653     in the input stream while the <code>body</code> element has been opened.
654     The document is non-conforming.</p>
655     </div>
656    
657     <div class="section" id="in-body:#eof"><h3>Some element is not closed before the end of
658     file.</h3></div>
659    
660     <div class="section" id="in-button:button"><h3>The <code>button</code> element cannot be
661     nested.</h3></div>
662    
663     <div class="section" id="in-CDATA:#eof"><h3>Element is not closed before the end of
664     file.</h3></div>
665    
666     <div class="section" id="in-form:form"><h3>Start tag <code>&lt;form&gt;</code> is
667     not allowed in a <code>form</code> element.</h3></div>
668    
669     <div class="section" id="in-frameset"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
670     not allowed in a <code>framset</code> element.</h3></div>
671    
672     <div class="section" id="in-frameset:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
673     not allowed in a <code>frameset</code> element.</h3></div>
674    
675     <div class="section" id="in-frameset:#text"><h3>Non‐white‐space characters are not allowed
676     in a <code>frameset</code> element.</h3></div>
677    
678     <div class="section" id="in-head:head"><h3>Start tag <code>&lt;head&gt;</code>
679     is not allowed in the <code>head</code> element.</h3>
680     <p>There is a start tag <code>&lt;head&gt;</code> in the
681     <code>&lt;head&gt;</code> element. The document is non-conforming.</p>
682    
683     <p>In an HTML document there must not be more than
684     one <code>head</code> element, therefore no more than one
685     start tag <code>&lt;head&gt;</code> can appear in the input stream.</p>
686     </div>
687    
688     <div class="section" id="in-html:#DOCTYPE"><h3>A <code>DOCTYPE</code> appears after any
689     element or data character has been seen.</h3>
690     <p>A <code>DOCTYPE</code> appears after any element or data character
691     has been seen. The document is non-conforming.</p>
692    
693     <p>The <code>DOCTYPE</code> must be placed before any
694     tag, reference, or data character. Only white space characters
695     and comments can be inserted before the <code>DOCTYPE</code>.</p>
696     </div>
697    
698     <div class="section" id="in-nobr:nobr"><h3>The <code>nobr</code> element cannot be
699     nested.</h3></div>
700    
701     <div class="section" id="in-noscript"><h3>The <code><var>{text}</var></code> element is not
702     allowed in a <code>noscript</code> element in the
703     <code>head</code> element.</h3></div>
704    
705     <div class="section" id="in-noscript:/"><h3>An end tag <code>&lt;/<var>{text}</var>&gt;</code>
706     appers before the <code>noscript</code> element is closed.</h3></div>
707    
708     <div class="section" id="in-noscript:#eof"><h3>A <code>noscript</code> element is not closed
709     before the end of file.</h3></div>
710    
711     <div class="section" id="in-noscript:#text"><h3>Non‐white‐space characters are not allowed
712     in a <code>noscript</code> element in the <code>head</code>
713     element.</h3></div>
714    
715     <div class="section" id="in-PCDATA:#eof"><h3>Element is not closed before the end of
716     file.</h3></div>
717    
718     <div class="section" id="in-select"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
719     is not allowed in a <code>select</code> element.</h3></div>
720    
721     <div class="section" id="in-select:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code>
722     is not allowed in a <code>select</code> element.</h3></div>
723    
724     <div class="section" id="in-table"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
725     is not allowed in a <code>table</code> element.</h3>
726     <p>The start or end tag of an element, which
727     cannot be a child of <code>table</code> element, appears
728     in the input stream while the <code>table</code> element has been opened
729     but no other element has been opened. The document is non-conforming.</p>
730    
731     <p>In <code>table</code>, only table related elements
732     are allowed; any other element must be contained in
733     <code>td</code> or <code>th</code> element to form
734     a part of the table, or <code>caption</code> element to create
735     a table caption.</p>
736     </div>
737    
738     <div class="section" id="in-table:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code>
739     is not allowed in a <code>table</code> element.</h3></div>
740    
741     <div class="section" id="in-table:#text"><h3>Non‐white‐space character is not allowed within
742     the <code>table</code> element, outside of the caption and cells.</h3>
743     <p>A non‐white‐space character appears in <code>table</code>.
744     The document is non-conforming.</p>
745    
746     <p>In <code>table</code>, only table related elements
747     are allowed; any other element and data character must be contained in
748     <code>td</code> or <code>th</code> element to form
749     a part of the table, or <code>caption</code> element to create
750     a table caption.</p>
751     </div>
752    
753     <div class="section" id="isindex"><h3>The <code>isindex</code> element is
754     obsolete.</h3></div>
755    
756     <div class="section" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code>
757     element is missing.</h3>
758     <p>Start tag of a <code>tr</code> element, which is <em>not</em>
759     optional, is missing. The document is non-conforming.</p>
760    
761     <p>In a table section, a <code>&lt;tr&gt;</code> start tag
762     must occur before any <code>&lt;td&gt;</code> or
763     <code>&lt;th&gt;</code> start tag. Though the HTML5 parser
764     implies the <code>&lt;tr&gt;</code> start tag before
765     these start tags, it must be explicitly specified.</p>
766     </div>
767    
768     <div class="section" id="no-DOCTYPE"><h3>This document does not start with a
769     <code>DOCTYPE</code>.</h3>
770     <p>The document does not start with a <code>DOCTYPE</code>.
771     The document is non-conforming.</p>
772    
773     <p>An HTML document must start by a <code>DOCTYPE</code>:
774     <pre class="html example">
775     <code>&lt;!DOCTYPE HTML&gt;</code></pre>
776     </p>
777    
778     <p>Only white space characters and comments are allowed
779     before the <code>DOCTYPE</code>. XML declaration is <em>not</em>
780     allowed in HTML document.</p>
781     </div>
782    
783     <div class="section" id="not-closed"><h3>Element <code><var>{text}</var></code> is not
784     closed.</h3>
785     <p>End tag of an element is not found before, for example,
786     an end tag of another element appears or
787     the end of the document. The document is non-conforming.</p>
788    
789     <p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>,
790     <code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>,
791     <code>ol</code>, <code>option</code>, <code>optgroup</code>,
792     <code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>,
793     <code>tbody</code>, <code>td</code>, <code>tfoot</code>,
794     <code>th</code>, <code>thead</code>, <code>tr</code>,
795     <code>ul</code> end tag can be omitted in HTML documents.
796     For any element except for void element, there must be an explicit
797     end tag.</p>
798    
799     <dl class="switch">
800     <dt>HTML <code>canvas</code> element</dt>
801     <dd>Though the element is void in earlier versions of Safari,
802     the <code>canvas</code> element is <em>no</em> longer
803     defined as empty. There must be an end tag
804     <code class="html example">&lt;/canvas&gt;</code>.</dd>
805     </dl>
806    
807     <p>Note that misnesting tags, such as
808     <code class="bad example">&lt;a&gt;&lt;b&gt;&lt;/a&gt;&lt;/b&gt;</code>, are not
809     allowed and they also cause this error.</p>
810     </div>
811    
812     <div class="section" id="not-first-start-tag"><h3>This <code>&lt;html&gt;</code> tag is not
813     the first start tag.</h3>
814     <p>There is a start tag of the <code>html</code> element
815     that it not the first start tag in the input stream.
816     The document is non-conforming.</p>
817    
818     <p>In an HTML document, there cannot be more than one
819     <code>html</code> element and therefore there cannot be
820     more than one <code>&lt;html&gt;</code> tag. In addition,
821     nothing can be placed before the <code>&lt;html&gt;</code> tag
822     except a <code>DOCTYPE</code>, white space characters,
823     and comments.</p>
824     </div>
825    
826     <div class="section" id="not-HTML5"><h3>This document is written in an old version of
827     HTML.</h3>
828     <p>The document contains a <code>DOCTYPE</code> declaration
829     that is different from HTML5 <code>DOCTYPE</code> (i.e.
830     <code class="example html">&lt;!DOCTYPE HTML&gt;</code>).
831     The document is non‐conforming.</p>
832    
833     <p>The document might or might not be conformant to
834     some version of HTML. However, conformance to any HTML
835     specification other than HTML5 provides for no practical
836     convenience, since Web borwsers will parse any
837     HTML document (roughly) as defined in HTML5.</p>
838     </div>
839    
840     <div class="section" id="start-tag-not-allowed"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
841     not allowed here.</h3></div>
842    
843     <div class="section" id="unmatched-end-tag"><h3>Element <code><var>{text}</var></code> is not
844     opened.</h3>
845     <p>An end tag appears though no element with the same name
846     has been opened. The document is non-conforming.</p>
847    
848     <p>For any end tag in HTML document, there must be a
849     corresponding start tag.</p>
850    
851     <dl class="switch">
852     <dt>HTML <code>base</code>, <code>basefont</code>,
853     <code>bgsound</code>, <code>br</code>, <code>col</code>,
854     <code>embed</code>, <code>frame</code>, <code>hr</code>,
855     <code>image</code>, <code>img</code>, <code>input</code>,
856     <code>isindex</code>, <code>link</code>, <code>meta</code>,
857     <code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt>
858     <dd>End tag is not allowed for these elements, since
859     those content must always be empty. Remove end tag.</dd>
860     <!-- keygen -->
861     <!-- command, event-source, nest, source -->
862     </dl>
863     </div>
864    
865     </section>
866    
867     <section id="element-content-model-errors">
868     <h2>Element Content Model Errors</h2>
869    
870     <div class="section" id="basehref-after-URL-attribute"><h3>The <code>base</code> element with the
871     <code>href</code> attribute specified cannot be placed after
872     any attribute with a URL.</h3></div>
873    
874     <div class="section" id="basetarget-after-hyperlink"><h3>The <code>base</code> element with the
875     <code>target</code> attribute specified cannot be placed after
876     any element that defines a hyperlink.</h3></div>
877    
878     <div class="section" id="character-not-allowed"><h3>Data character is not allowed in this
879     context.</h3>
880     <p>A data character appears where it is not allowed in this
881     context. The document is non-conforming.</p>
882    
883     <p>Possible causes:
884     <ul>
885     <li><p>A data character cannot be a child
886     of certain sectioning elements such as <code>body</code>,
887     <code>section</code>, and <code>blockquote</code>.</p>
888    
889     <p>Any inline-level content must be put
890     in e.g. paragraph element such as <code>p</code>.</p></li>
891     <li><p>Though some elements such as <code>div</code>,
892     <code>li</code>, and <code>td</code> allow
893     <em>either one</em> of block-level or inline-level content
894     is allowed. If there is a block-level content,
895     any inline-level content must be put
896     in e.g. paragraph element such as <code>p</code>.</p></li>
897     </ul>
898     </p>
899     </div>
900    
901     <div class="section" id="character-not-allowed:empty"><h3>Non‐white‐space characters are not allowed in
902     an empty element.</h3></div>
903    
904     <div class="section" id="character-not-allowed:atom|PersonConstruct"><h3>Non‐white‐space characters are not allowed in
905     Person construct.</h3></div>
906    
907     <div class="section" id="character-not-allowed:atom|TextConstruct"><h3>Non‐white‐space characters are not allowed in
908     Text construct.</h3></div>
909    
910     <div class="section" id="child-element-missing"><h3>There must be an element
911     <code><var>{text}</var></code> as a child of this element.</h3>
912     <p>The content model of the element is so defined that it
913     must contain a <code><var>$0</var></code> child element.
914     The document is non-conforming.</p>
915    
916     <dl class="switch">
917     <dt>HTML <code>head</code> element</dt>
918     <dd>There must be a <code>title</code> child element.</dd>
919     <dt>HTML <code>html</code> element</dt>
920     <dd>There must be a <code>head</code> child element followed
921     by a <code>body</code> element.</dd>
922     <dt>HTML <code>tr</code> element</dt>
923     <dd><a href="#child-element-missing:td%7Cth">There must be
924     one or more <code>td</code> or <code>th</code> child element.</a></dd>
925     </dl>
926     </div>
927    
928     <div class="section" id="child-element-missing:td|th"><h3>There must be a <code>td</code>
929     or <code>th</code> element as a child of this element.</h3>
930     <p>The <code>tr</code> element must contain at least one
931     <code>td</code> or <code>th</code> child element. The document
932     is non-conforming.</p>
933     </div>
934    
935     <div class="section" id="child-element-missing:atom"><h3>There must be an element
936     <code><var>{text}</var></code> in the Atom namespace as a child of this
937     element.</h3></div>
938    
939     <div class="section" id="child-element-missing:atom:link:alternate"><h3>There must be an Atom <code>link</code> element
940     whose <code>rel</code> attribute is set to <code>alternate</code> as a
941     child of this element.</h3></div>
942    
943     <div class="section" id="child-element-missing:atom:link:self"><h3>There should be an Atom <code>link</code> element
944     whose <code>rel</code> attribute is set to <code>self</code> as a
945     child of this element.</h3></div>
946    
947     <div class="section" id="element-missing:hn"><h3>There must be at least one
948     <code>h<var>n</var></code> element descendant.</h3></div>
949    
950     <div class="section" id="element-not-allowed"><h3>This element is not allowed in this
951     context.</h3>
952     <p>An element appears where it is not allowed. The document
953     is non-conforming.</p>
954    
955     <p>Possible causes:
956     <dl class="switch">
957     <dt>If the element with the error is an inline-level element,
958     such as <code>a</code>, <code>progress</code>, or <code>img</code></dt>
959     <dd><p>An inline-level element cannot be a child
960     of certain sectioning elements such as <code>body</code>,
961     <code>section</code>, and <code>blockquote</code>.</p>
962    
963     <p>Any inline-level content must be put
964     in e.g. paragraph element such as <code>p</code>.</p></dd>
965     <dt>If it is a block-level elements, such as <code>aside</code>,
966     <code>div</code>, <code>h<var>n</var></code>,
967     <code>p</code>, or <code>section</code></dt>
968     <dd><dl class="switch">
969     <dt>If the parent element is <code>div</code>,
970     <code>li</code>, <code>td</code>, or <code>th</code></dt>
971     <!-- @@ TODO: more... -->
972     <!-- @@ TODO: <p><ul><li><p> -->
973     <dd><p>The parent element allows <em>either</em>
974     block-level or inline-level content. If there is a
975     block-level content, any inline-level content must be
976     put in e.g. paragraph element such as <code>p</code>.</p>
977     <p>For example, an HTML document fragment
978     <code class="html bad example">&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; World!&lt;/div&gt;</code>
979     is non-conforming, since a word <q>World!</q> does not belong
980     to any paragraph. (If not part of any paragraph, what is
981     it!?) A conforming example would be:
982     <pre class="html example">
983     <code>&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; &lt;p&gt;World!&lt;/p&gt;&lt;/div&gt;</code></pre>
984     </p></dd>
985     <dt>If the parent element does <em>not</em> allow
986     block-level elements as content</dt>
987     <dd>The element is not allowed to be inserted here.
988     For example, a <code>div</code> element cannot be
989     a child of an <code>h1</code> element.</dd>
990     </dl></dd>
991     <dt>If the element with the error is a <code>noscript</code> element</dt>
992     <dd>The <code>noscript</code> element is allowed only in the context
993     where a block-level or inline-level content is expected
994     and in the <code>head</code> element.
995     It cannot be used in e.g. <code>ul</code>, <code>table</code>,
996     or <code>select</code>.</dd>
997     <dt>If the element with the error is <code>blink</code>,
998     <code>center</code>, or <code>marquee</code> element</dt>
999     <dd>These elements are not part of the HTML standard.
1000     Use CSS for styling control.</dd>
1001    
1002     <dt><code>button</code>, <code>datalist</code>,
1003     <code>fieldset</code>, <code>form</code>,
1004     <code>input</code>, <code>label</code>,
1005     <code>optgroup</code>, <code>option</code>, <code>output</code>,
1006     <code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>,
1007     <code>textarea</code>, or <code>textarea</code> element</dt>
1008     <!-- rbc, rtc ? -->
1009     <dd>These elements are intentionally not supported by the conformance
1010     checker <em>yet</em>.</dd>
1011     </dl>
1012     </p>
1013     </div>
1014    
1015     <div class="section" id="element-not-allowed:area"><h3>An <code>area</code> element cannot be used
1016     outside of a <code>map</code> element.</h3></div>
1017    
1018     <div class="section" id="element-not-allowed:base"><h3>There is another <code>base</code>
1019     element.</h3></div>
1020    
1021     <div class="section" id="element-not-allowed:datatemplate"><h3>In a <code>datatemplate</code> element, only
1022     <code>rule</code> elements are allowed.</h3></div>
1023    
1024     <div class="section" id="element-not-allowed:details-legend"><h3>In a <code>details</code> element, only at the
1025     beginning of the element a <code>lengend</code> element
1026     may be used.</h3></div>
1027    
1028     <div class="section" id="element-not-allowed:empty"><h3>Elements are not allowed in an empty
1029     element.</h3></div>
1030    
1031     <div class="section" id="element-not-allowed:figure-legend"><h3>In a <code>figure</code> element, only at the
1032     beginning or only at the end of the element a <code>lengend</code> element
1033     may be used.</h3></div>
1034    
1035     <div class="section" id="element-not-allowed:flow"><h3>This element is not allowed where flow
1036     content is expected.</h3></div>
1037    
1038     <div class="section" id="element-not-allowed:flow-style"><h3>A <code>style</code> element without
1039     <code>scoped</code> attribute is not allowed in this context.</h3></div>
1040    
1041     <div class="section" id="element-not-allowed:head-noscript"><h3>This element is not allowed in a
1042     <code>noscript</code> element in the <code>head</code> element.</h3></div>
1043    
1044     <div class="section" id="element-not-allowed:head-style"><h3>A <code>style</code> element with
1045     <code>scoped</code> attribute is not allowed in the <code>head</code>
1046     element.</h3></div>
1047    
1048     <div class="section" id="element-not-allowed:head-title"><h3>There is another <code>title</code>
1049     element.</h3></div>
1050    
1051     <div class="section" id="element-not-allowed:minus"><h3>This element is not allowed in this
1052     context.</h3></div>
1053    
1054 wakaba 1.6 <div class="section" id="element-not-allowed:meta-charset"><h3>文字符号化宣言が <code>head</code>
1055     要素の最初の子要素ではありません。</h3>
1056     <p>The character encoding declaration
1057     (<code class="html example">&lt;meta charset="<var>...</var>"&gt;</code> or
1058     <code class="html example">&lt;meta http-equiv=Content-Type content="text/html; charset=<var>...</var>"&gt;</code>
1059     must be the first child element in the <code>head</code> element.</p>
1060    
1061     <p>The character encoding declaration have to occur near the beginning
1062     of the document to ensure that Web browsers can be determine the
1063     character encoding of the document.</p>
1064    
1065     <p>The <code>title</code> element and other metadata elements must
1066     appear after any character encoding declaration is processed.</p>
1067     </div>
1068 wakaba 1.1
1069     <div class="section" id="element-not-allowed:metadata"><h3>This element is not allowed where metadata
1070     content is expected.</h3></div>
1071    
1072     <div class="section" id="element-not-allowed:phrasing"><h3>This element is not allowed where phrasing
1073     content is expected.</h3></div>
1074    
1075     <div class="section" id="element-not-allowed:root"><h3>This element is not allowed as the root
1076     element of a document.</h3>
1077     <p>An element that is not allowed as the root element
1078     is used as the root element of the document. The document is
1079     non-conforming, as far as the conformance checker can tell.</p>
1080    
1081     <dl class="switch">
1082     <dt><code>html</code> element in an XHTML document</dt>
1083     <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
1084     element must have an <code>xmlns</code> attribute as:
1085     <pre class="xml example">
1086     <code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</code></pre></p></dd>
1087     <dt><code>rss</code> element</dt>
1088     <dd><p>The document is written in some version of RSS.</p>
1089     <p>The conformance checker does not support any version
1090     of RSS. Use Atom 1.0 for feed documents.</p></dd>
1091     <dt><code>feed</code> element</dt>
1092     <dd><p>The Atom <code>feed</code> element must be
1093     in the <code>http://www.w3.org/2005/Atom</code>
1094     namespace as:
1095     <pre class="xml example">
1096     <code>&lt;feed xmlns="http://www.w3.org/2005/Atom"&gt;</code></pre>
1097     </p>
1098     <p>The conformance checker does not support Atom 0.3.
1099     Use Atom 1.0 for feed documents.</p></dd>
1100     </dl>
1101     </div>
1102    
1103     <div class="section" id="element-not-allowed:root:xml"><h3>This element is not allowed as the root element
1104     of an XML document.</h3></div>
1105    
1106     <div class="section" id="element-not-allowed:ruby-base"><h3>This element is not allowed in the <code>ruby</code>
1107     element.</h3></div>
1108    
1109     <div class="section" id="element-not-allowed:text"><h3>This element is not allowed in this
1110     context.</h3></div>
1111    
1112     <div class="section" id="element-not-allowed:atom|content"><h3>This element is not allowed in an Atom
1113     <code>content</code> element.</h3></div>
1114    
1115     <div class="section" id="element-not-allowed:atom|PersonConstruct"><h3>This element is not allowed in Person
1116     construct.</h3></div>
1117    
1118     <div class="section" id="element-not-allowed:atom|TextConstruct"><h3>This element is not allowed in Text
1119     construct.</h3></div>
1120    
1121 wakaba 1.6 <div class="section" id="element-not-defined"><h3>この要素は定義されていません。</h3>
1122     <p>The element is not one of elements allowed
1123     in the latest version of relevant specifications.</p>
1124    
1125     <p>The element cannot be used.</p>
1126    
1127     <dl class="switch">
1128     <dt><code>event-source</code> element</dt>
1129     <dd>The element was renamed as <em><code>eventsource</code>
1130     element</em> (no hyphen).</dd>
1131     <dt><code>m</code> element</dt>
1132     <dd>The element was renamed as <em><code>mark</code>
1133     element</em>.</dd>
1134     </dl>
1135     </div>
1136 wakaba 1.1
1137     <div class="section" id="no-significant-content"><h3>No significant content is contained
1138     in this element.</h3></div>
1139    
1140     <div class="section" id="no-significant-content-before"><h3>There is no significant content
1141     before this element.</h3></div>
1142    
1143     <div class="section" id="no-significant-content-at-the-end"><h3>No significant content is contained
1144     at the end of this element.</h3></div>
1145    
1146     <div class="section" id="ps-element-missing"><h3>There is no <code><var>{text}</var></code>
1147     element before this element.</h3>
1148     <p>There must be an element before another element, but there
1149     is not. The document is non-conforming.</p>
1150    
1151     <p>For example, there must be a <code>dt</code> element
1152     before any <code>dd</code> element.</p>
1153     </div>
1154    
1155     <div class="section" id="rp:syntax-error"><h3>The content of a <code>rp</code> element must
1156     be a parenthesis.</h3></div>
1157    
1158     </section>
1159    
1160     <section id="attribute-errors">
1161     <h2>Attribute Errors</h2>
1162    
1163     <div class="section" id="attribute-missing"><h3>Required attribute <code><var>{text}</var></code>
1164     is not specified.</h3>
1165     <p>A required attribute is not specified. The document
1166     is non-conforming.</p>
1167    
1168     <p>Some attribute is defined as <i>required</i>.
1169     Without required attributes specified, user agents
1170     cannot provide full functionality of the element to the user.</p>
1171    
1172     <dl class="switch">
1173     <dt>HTML <code>img</code> element</dt>
1174     <dd>The <code>src</code> attribute must be specified.
1175     Additionally, the <code>alt</code> attribute must be specified
1176     in many cases.</dd>
1177     <dt>HTML <code>link</code> element</dt>
1178     <dd>The <code>rel</code> attribute must be specified.
1179     Note that the <code>rev</code> attribute is obsolete.</dd>
1180     </dl>
1181     </div>
1182    
1183     <div class="section" id="attribute-missing:data|type"><h3>For an <code>object</code> at least one of
1184     <code>data</code> and <code>type</code> attributes must be
1185     specified.</h3></div>
1186    
1187     <div class="section" id="attribute-missing:href|target"><h3>For a <code>base</code> element, at least one of
1188     <code>href</code> and <code>target</code> attributes must be
1189     specified.</h3></div>
1190    
1191     <div class="section" id="attribute-missing:name|http-equiv"><h3>For a <code>meta</code> element with the
1192     <code>content</code> attribute specified, exactly one of
1193     <code>name</code> and <code>http-equiv</code> attributes must be
1194     specified.</h3></div>
1195    
1196     <div class="section" id="attribute-missing:name|http-equiv|charset"><h3>For a <code>meta</code> element, exactly one of
1197     <code>name</code>, <code>http-equiv</code>, and <code>charset</code>
1198     attributes must be specified.</h3></div>
1199    
1200     <div class="section" id="attribute-not-allowed"><h3>Attribute
1201     <code><var>{local-name}</var></code> is not allowed for
1202     <code><var>{element-local-name}</var></code> element.</h3>
1203     <p>An attribute is specified where it is not allowed.
1204     The document is non-conforming.</p>
1205    
1206     <dl>
1207     <dt>HTML <code>meta</code> element</dt>
1208     <dd>For HTML <code>meta</code> element, <em>only one</em> of
1209     <code>name</code>, <code>http-equiv</code>, or <code>charset</code>
1210     attribute is allowed.</dd>
1211     </dl>
1212     </div>
1213    
1214     <div class="section" id="attribute-not-allowed:ismap"><h3>The <code>ismap</code> attribute may only be
1215     used for the image contained in an <code>a</code> element.</h3></div>
1216    
1217 wakaba 1.6 <div class="section" id="attribute-not-defined"><h3>この属性は定義されていません。</h3>
1218 wakaba 1.5 <p>The attribute is not one of attributes allowed for the element
1219     in the latest version of relevant specifications.</p>
1220 wakaba 1.1
1221 wakaba 1.5 <p>The attribute cannot be used.</p>
1222    
1223 wakaba 1.6 <dl class="switch">
1224     <dt><code>align</code> attribute (various HTML elements)</dt>
1225     <dt><code>border</code> attribute (various HTML elements)</dt>
1226     <dd>These attributes are no longer part of HTML. You can use CSS
1227     properties to control the presentation of the element.</dd>
1228 wakaba 1.5 <dt><code>autosubmit</code> attribute (<code>menu</code> element)</dt>
1229     <dd>The attribute was part of HTML5 draft but then dropped.
1230     Similar functionality can be implemented by scripts.</dd>
1231 wakaba 1.6 <dt><code>language</code> attribute (<code>script</code> element)</dt>
1232     <dd>The attribute is no longer the standard way to specify the
1233     scripting language. If you are using JavaScript, then no explicit
1234     specification of the scripting language is necessary, so you can
1235     write the element like:
1236     <p><code class="html example code">&lt;script&gt;<br><!--
1237     --> /* JavaScript code */<br><!--
1238     -->&lt;/script&gt;</code></p>
1239     If you are using different scripting language from JavaScript, or
1240     you want to declare the scripting language explicitly, you should
1241     use the <code>type</code> attribute, as follows:
1242     <dl class="switch">
1243     <dt>JavaScript</dt>
1244     <dd>Use
1245     <code class="html example">&lt;script type="text/javascript"&gt;</code>.</dd>
1246     <dt>VBScript</dt>
1247     <dd>Use
1248     <code class="html example">&lt;script type="text/vbscript"&gt;</code>.</dd>
1249     </dl>
1250     </dd>
1251 wakaba 1.5 </dl>
1252     </div>
1253 wakaba 1.1
1254 wakaba 1.5 <div class="section" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute in HTML
1255     document is ignored.</h3>
1256     <p>The <code>xml:lang</code> attribute does not have an effect in
1257     HTML document.</p>
1258    
1259     <p>The <code>xml:lang</code> attribute is only applicable to XML
1260     documents. In HTML document, it is only allowed to ease migration
1261     from XML.</p>
1262 wakaba 1.1
1263     <p>To specify natural language information in HTML document,
1264     use <code>lang</code> attribute instead.</p>
1265    
1266     <p>XHTML 1.0 Appendix C was encouraged to specify both
1267     <code>lang</code> and <code>xml:lang</code> attributes with
1268     the same value. Such a duplication has <em>no effect</em> in practice.
1269     Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in
1270     XML).</p>
1271    
1272     <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created
1273     from an HTML document? -->
1274     </div>
1275    
1276     <div class="section" id="in-XML:charset"><h3>The <code>charset</code> attribute is not
1277     allowed in XML document.</h3>
1278     <p>The <code>charset</code> attribute of a
1279     <code>meta</code> element is not allowed in XML document.
1280     The document is non-conforming.</p>
1281    
1282     <p>To specify the character encoding used for serialization,
1283     if necessary, use XML declaration instead:
1284     <pre class="xml example">
1285     <code>&lt;?xml version="1.0" encoding="<var>encoding-name</var>"?&gt;</code></pre>
1286     </p>
1287     </div>
1288    
1289     <div class="section" id="in-XML:noscript"><h3>A <code>noscript</code> element cannot be
1290     used in XML document.</h3></div>
1291    
1292 wakaba 1.6 <div class="section" id="in-XML:xml:lang"><h3>名前空間に属さない <code>xml:lang</code>
1293 wakaba 1.5 属性が認められているのは HTML 文書中だけです。</h3></div>
1294    
1295 wakaba 1.1 <div class="section" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute
1296     in the <code>null</code> namespace is not allowed in
1297     XHTML document. The document is non-conforming.</h3>
1298     <p>The <code>xmlns</code> attribute in the <code>null</code>
1299     namespace is not allowed in XHTML document.</p>
1300    
1301     <p>This error should not occur in conformance-checking of
1302     static documents.</p>
1303     </div>
1304    
1305 wakaba 1.5 <div class="section" id="xml:lang-not-allowed"><h3><code>xml:lang</code> 属性を指定できるのは
1306     <code>lang</code> 属性が指定されている時だけです。</h3></div>
1307    
1308 wakaba 1.1 </section>
1309    
1310     <section id="attribute-value-errors">
1311     <h2>Attribute Value Errors</h2>
1312    
1313     <div class="section" id="boolean:invalid"><h3>Attribute value <code><var>{@}</var></code>
1314     is not allowed. It must be an empty string or a string
1315     <code><var>{local-name}</var></code>.</h3></div>
1316    
1317     <div class="section" id="char:syntax-error"><h3>The attribute value must be exactly one
1318     character.</h3></div>
1319    
1320     <div class="section" id="charref-in-charset"><h3>A character reference cannot be used to
1321     represent a character encoding name.</h3></div>
1322    
1323     <div class="section" id="charset:not-preferred"><h3>Character encoding name
1324     <code><var>{value}</var></code> is not the preferred name of that
1325     character encoding.</h3></div>
1326    
1327     <div class="section" id="charset:not-registered"><h3>Character encoding name
1328     <code><var>{value}</var></code> is not a registered name.</h3>
1329     <p>The specified character encoding name is not registered to
1330     <abbr>IANA</abbr>. Use of registered character encoding name
1331     is a good practice to facilitate interoperability.</p>
1332    
1333     <dl class="switch">
1334     <dt><code>EUC-TW</code></dt>
1335     <dd><code>EUC-TW</code> is not registered. Unfortunately, there
1336     is no registered name for that character encoding. Use
1337     Big5 encoding with character encoding name <code>Big5</code>
1338     if it is enough to represent the document.</dd>
1339     <dt><code>ISO-2022-JP-1</code></dt>
1340     <dd><code>ISO-2022-JP-1</code> is not registered, nevertheless
1341     this character encoding name is documented in
1342     <a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>. Use
1343     <code>ISO-2022-JP-2</code> instead, since that character encoding
1344     is a superset of ISO-2022-JP-1.</dd>
1345     <dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt>
1346     <dd>These names are not registered and obsoleted in favor of
1347     <code>ISO-2022-JP-2004</code> and
1348     <code>ISO-2022-JP-2004-plane1</code>.</dd>
1349     <dt><code>ISO-2022-JP-2003</code>,
1350     <code>ISO-2022-JP-2003-plane1</code></dt>
1351     <dd>These names are not registered and corrected to
1352     <code>ISO-2022-JP-2004</code> and
1353     <code>ISO-2022-JP-2004-plane1</code>.</dd>
1354     <dt><code>ISO-2022-JP-2004</code>,
1355     <code>ISO-2022-JP-2004-plane1</code></dt>
1356     <dd>These names are not registered. Unfortunately, there is
1357     no registered name for these character encodings.</dd>
1358     <dt><code>UTF-8N</code></dt>
1359     <dd><code>UTF-8N</code> is not registered. Character encoding
1360     name <code>UTF-8</code> represents UTF-8 encoding with or
1361     without <abbr>BOM</abbr>.</dd>
1362     </dl>
1363    
1364     <p><strong>WARNING</strong>: This error might be raised for
1365     a registered character encoding name, since the character encoding
1366     name database of the conformance checker is not complete yet.</p>
1367     </div>
1368    
1369     <div class="section" id="charset:private"><h3>Character encoding name
1370     <code><var>{value}</var></code> is a private name.</h3>
1371     <p>The specified character encoding name is a private name and
1372     not registered to <abbr>IANA</abbr>. Use of registered character
1373     encoding name is a good practice to facilitate interoperability.</p>
1374    
1375     <dl class="switch">
1376     <dt><code>x-euc-jp</code></dt>
1377     <dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr>
1378     character encoding.</dd>
1379     <dt><code>x-sjis</code></dt>
1380     <dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of
1381     <abbr>JIS</abbr> coded character set, or <code>Windows-31J</code>
1382     for Microsoft standard character set as implemented by
1383     Microsoft Windows.</dd>
1384     </dl>
1385     </div>
1386    
1387     <div class="section" id="charset:syntax-error"><h3>The specified value <code><var>{value}</var></code>
1388     is syntactically not a character encoding name.</h3>
1389     <p>The attribute value must be a character encoding name. However,
1390     the specified value is not a character encoding name syntactically.
1391     The document is non‐conforming.</p>
1392     <p>Character encoding name is a string of <abbr>ASCII</abbr>
1393     printable characters, up to 40 characters.</p>
1394     </div>
1395    
1396     <div class="section" id="color:syntax-error"><h3>The specified value is not a color
1397     name or hexadecimal color number.</h3></div>
1398    
1399     <div class="section" id="coords:number-not-3"><h3>The <code>coords</code> attribute have to
1400     contain three (3) numbers (specified:
1401     <code><var>{text}</var></code>).</h3></div>
1402    
1403     <div class="section" id="coords:number-not-4"><h3>The <code>coords</code> attribute have to
1404     contain four (4) numbers (specified:
1405     <code><var>{text}</var></code>).</h3></div>
1406    
1407     <div class="section" id="coords:number-lt-6"><h3>The <code>coords</code> attribute have to
1408     contain more than or equal to six (6) numbers (specified:
1409     <code><var>{text}</var></code>).</h3></div>
1410    
1411     <div class="section" id="coords:number-not-even"><h3>The <code>coords</code> attribute have to
1412     contain even number of numbers (specified:
1413     <code><var>{text}</var></code>).</h3></div>
1414    
1415     <div class="section" id="coords:out-of-range"><h3>The specified value <code><var>{value}</var></code>
1416     is out of range.</h3></div>
1417    
1418     <div class="section" id="coords:syntax-error"><h3>The specified value is not valid.</h3></div>
1419    
1420     <div class="section" id="datetime:bad-year"><h3>Year number is out of range.</h3></div>
1421    
1422     <div class="section" id="datetime:bad-month"><h3>Month number is out of range.</h3></div>
1423    
1424     <div class="section" id="datetime:bad-day"><h3>Day number is out of range.</h3></div>
1425    
1426     <div class="section" id="datetime:bad-hour"><h3>Hour number is out of range.</h3></div>
1427    
1428     <div class="section" id="datetime:bad-minute"><h3>Minute number is out of range.</h3></div>
1429    
1430     <div class="section" id="datetime:bad-second"><h3>Second number is out of range.</h3></div>
1431    
1432     <div class="section" id="datetime:bad-timezone-hour"><h3>Hour number of the timezone component is out of
1433     range.</h3></div>
1434    
1435     <div class="section" id="datetime:bad-timezone-minute"><h3>Minute number of the timezone component is out of
1436     range.</h3></div>
1437    
1438     <div class="section" id="datetime:syntax-error"><h3>The attribute value is not a datetime.</h3></div>
1439    
1440 wakaba 1.5 <div class="section" id="dateortime:syntax-error"><h3>The value is not a date or time.</h3></div>
1441 wakaba 1.1
1442     <div class="section" id="enumerated:invalid"><h3>This attribute only allow a limited set of
1443     values and the specified value <code><var>{@}</var></code> is not one
1444     of them.</h3>
1445     <p>For this attribute only several values are allowed and the
1446     value of the attribute is not one of them. The document
1447     is non-conforming.</p>
1448    
1449     <dl>
1450     <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
1451     <dd><p>Only values <code>Default-Style</code> and <code>Refresh</code>
1452     are allowed.</p>
1453     <p>Value <code>Content-Type</code> is obsolete; for charset
1454     declaration, the <code>charset</code> attribute can be used as:
1455     <pre class="html example">
1456     <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
1457     ... where <var>charset-name</var> is a name of the character encoding
1458     of the document, such as <code>utf-8</code>.</p>
1459     <p>Values <code>Content-Style-Type</code> and
1460     <code>Content-Script-Type</code> are currently not allowed.</p>
1461     <p>Value <code>Keywords</code> is not allowed. Use
1462     <code>name</code> attribute instead of <code>http-equiv</code>
1463     attribute.</p>
1464     <p>Values <code>Expires</code>, <code>Pragma</code>,
1465     and <code>Cache-Control</code> are not allowed;
1466     use <em>real</em> HTTP header fields for cache control.</p></dd>
1467     </dl>
1468     </div>
1469    
1470     <div class="section" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax
1471     <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
1472     is obsolete.</h3>
1473     <p>Old long character encoding declaration syntax
1474     <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
1475     is in use. The document is non‐conforming.</p>
1476    
1477     <p>The new character encoding declaration syntax is:
1478     <pre class="html example">
1479     <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
1480     </p>
1481     </div>
1482    
1483     <div class="section" id="enumerated:non-conforming"><h3>Attribute value <code><var>{@}</var></code>
1484     is not allowed.</h3></div>
1485    
1486     <div class="section" id="duplicate-http-equiv"><h3>There is another pragma
1487     <code><var>{value}</var></code>.</h3></div>
1488    
1489     <div class="section" id="duplicate-ID"><h3>This identifier has already been
1490     assigned to another element.</h3></div>
1491    
1492     <div class="section" id="duplicate-token"><h3>The token <code><var>{value}</var></code>
1493     appears in the attribute value twice.</h3></div>
1494    
1495 wakaba 1.6 <div class="section" id="empty-attribute-value"><h3>属性値が空です。</h3></div>
1496    
1497     <div class="section" id="empty-style-sheet-title"><h3><code>title</code> 属性の値が空です。</h3>
1498     <p>The <code>title</code> attribute value of the <code>link</code>
1499     element that defines an alternate style sheet is an empty value.</p>
1500    
1501     <p>A <code>link</code> element whose <code>rel</code> attribute
1502     is <code>alternate stylesheet</code> defines an alternate style sheet.
1503     An alternate style sheet must be associated with a name using the
1504     <code>title</code> attribute. The name cannot be empty.</p>
1505     </div>
1506 wakaba 1.1
1507     <div class="section" id="float:out-of-range"><h3>The specified value is out of range.</h3></div>
1508    
1509     <div class="section" id="float:syntax-error"><h3>The attribute value is not a real
1510     number.</h3></div>
1511    
1512     <div class="section" id="fragment-points-itself"><h3>A fragment identifier references the element
1513     itself.</h3></div>
1514    
1515     <div class="section" id="fragment-points-nothing"><h3>A fragment identifier references no
1516     node.</h3></div>
1517    
1518     <div class="section" id="hashref:syntax-error"><h3>A hash−name reference must start with a
1519     <code>#</code> character.</h3></div>
1520    
1521     <div class="section" id="id-ne-name"><h3>The <code>id</code> attribute value is
1522     different from the <code>name</code> attribute value.</h3></div>
1523    
1524     <div class="section" id="integer:syntax-error"><h3>The attribute value is not an integer.</h3></div>
1525    
1526     <div class="section" id="link-type:bad-context"><h3>The link type <code><var>{value}</var></code>
1527     cannot be specified for this element.</h3>
1528     <p>The specified link type cannot be used for the element.
1529     The document is non-conforming.</p>
1530    
1531     <p>Link types are associated with limited set of elements.
1532     They cannot be used with other elements.</p>
1533    
1534     <p>For example, link type <code>bookmark</code>
1535     can be used with <code>a</code> or <code>area</code> element,
1536     while it cannot be used with <code>link</code> element.</p>
1537     </div>
1538    
1539     <div class="section" id="invalid-attribute-value"><h3>Attribute value <code><var>{@}</var></code>
1540     is not an allowed value.</h3></div>
1541    
1542     <div class="section" id="length:syntax-error"><h3>The attribute value is not a length
1543     value.</h3></div>
1544    
1545     <div class="section" id="link-type:non-conforming"><h3>The link type <code><var>{value}</var></code>
1546     is non-conforming.</h3>
1547     <p>The specified link type is non-conforming, and therefore
1548     the document is non-conforming.</p>
1549    
1550     <dl class="switch">
1551     <dt>Link type <code>contents</code></dt>
1552     <dd>Use link type <code>index</code>.</dd>
1553     <dt>Link type <code>copyright</code></dt>
1554     <dd>Use link type <code>license</code>.</dd>
1555     <dt>Link type <code>home</code></dt>
1556     <dd>Use link type <code>index</code>.</dd>
1557     <dt>Link type <code>previous</code></dt>
1558     <dd>Use link type <code>prev</code>.</dd>
1559     <dt>Link type <code>start</code></dt>
1560     <dd>Use link type <code>first</code>.</dd>
1561     <dt>Link type <code>toc</code> or <code>top</code></dt>
1562     <dd>Use link type <code>index</code>.</dd>
1563     </dl>
1564     </div>
1565    
1566     <div class="section" id="meta-content-type-syntax-error"><h3>The specified value is not a valid as a long
1567     character encoding declaration.</h3></div>
1568    
1569     <div class="section" id="mismatched-charset-name"><h3>The specified character encoding name
1570     <code><var>{value}</var></code> is different from the actual document
1571     character encoding <code><var>{text}</var></code>.</h3>
1572     <p>The specified character encoding name is different from
1573     the character encoding of the document. The document
1574     is non‐conforming.</p>
1575     </div>
1576    
1577     <div class="section" id="mismatched-charset-name-not-checked"><h3>Whether the specified character encoding name
1578     <code><var>{value}</var></code> matches to the actual character encoding
1579     name cannot be checked since the input is not a byte stream.</h3></div>
1580    
1581     <div class="section" id="mode:syntax-error"><h3>The attribute value is not a valid mode
1582     name.</h3></div>
1583    
1584     <div class="section" id="nninteger:out-of-range"><h3>The specified value is out of range.</h3></div>
1585    
1586     <div class="section" id="nninteger:syntax-error"><h3>The attribute value is not a non‐negative
1587     integer.</h3></div>
1588    
1589     <div class="section" id="no-referenced-map"><h3>The <code>usemap</code> attribute references
1590     no image map.</h3></div>
1591    
1592     <div class="section" id="no-referenced-menu"><h3>The <code>contextmenu</code> attribute references
1593     no menu.</h3></div>
1594    
1595     <div class="section" id="no-referenced-header-cell"><h3>There is no table header cell whose <code>id</code>
1596     is <code><var>{value}</var></code> in the same table.</h3></div>
1597    
1598     <div class="section" id="refresh:syntax-error"><h3>the specified value is not a valid as part
1599     of a <code>Refresh</code> pragma.</h3></div>
1600    
1601     <div class="section" id="repeat:syntax-error"><h3>The attribute value is not an integer or
1602     a string <code>template</code>.</h3></div>
1603    
1604     <div class="section" id="reserved-browsing-context-name"><h3>Browsing context name
1605     <code><var>{@}</var></code> is reserved.</h3>
1606     <p>The specified browsing context name is reserved.
1607     The document is non-conforming.</p>
1608    
1609     <p>Names of browsing contexts starting with <code>_</code>
1610     (<code>U+005F</code> <code class="charname">LOW LINE</code>)
1611     are reserved so that it must not be used.</p>
1612    
1613     <p>Old version of HTML, non-HTML markup languages, and
1614     Web browsers define or implements special reserved
1615     browsing context names <code>_blank</code>,
1616     <code>_main</code>, and <code>_replace</code>.
1617     However, they are <em>not</em> conforming attribute values.</p>
1618     </div>
1619    
1620     <div class="section" id="Reserved-Prefixes-and-Namespace-Names:Name"><h3>Namespace name <code><var>{text}</var></code>
1621     is reserved and cannot be used for an arbitrary prefix.</h3></div>
1622    
1623     <div class="section" id="Reserved-Prefixes-and-Namespace-Names:Prefix"><h3>Namespace prefix <code><var>{text}</var></code>
1624     is reserved and cannot be used for an arbitrary namespace name.</h3></div>
1625    
1626     <div class="section" id="link-type:proposed"><h3>Link type <code><var>{value}</var></code>
1627     is proposed but not accepted yet; it <em>should not</em> be
1628     used until it has been accepted.</h3>
1629     <p>The link type is in the <i>proposed</i> status; it
1630     <em>should not</em> be used until it has been
1631     accepted.</p>
1632    
1633     <p><strong>Warning</strong>: The data served to the
1634     conforming checker might be out of date; it might have already
1635     been accepted or rejected. The document might or might not be
1636     conforming depending on the status. See WHATWG Wiki
1637     for the latest information.</p>
1638     </div>
1639    
1640     <div class="section" id="sizes:syntax-error"><h3>The specified value <code><var>{value}</var></code>
1641     is not a valid value.</h3></div>
1642    
1643     <div class="section" id="space-in-ID"><h3>White space characters are not allowed
1644     in the <code>id</code> attribute.</h3></div>
1645    
1646     <div class="section" id="template:not-template"><h3>The node referenced by the <code>template</code>
1647     attribute is not a template.</h3></div>
1648    
1649     <div class="section" id="window-name:empty"><h3>Browsing context name must not be empty.</h3></div>
1650    
1651     <div class="section" id="window-name:reserved"><h3>Browsing context name
1652     <code><var>{value}</var></code> is reserved.</h3></div>
1653    
1654     <div class="section" id="word-not-allowed"><h3>The word <code><var>{value}</var></code> is not
1655     allowed in this attribute.</h3></div>
1656    
1657     <div class="section" id="XML-1.0-NCName:syntax-error"><h3>The specified value is not a legal XML Namespaces
1658     1.0 <code>NCName</code>.</h3></div>
1659    
1660 wakaba 1.5 <div class="section" id="xml:lang-ne-lang"><h3><code>xml:lang</code> 属性の値が <code>lang</code>
1661     属性の値と異なります。</h3>
1662     <p><code>xml:lang</code> 属性 (<code>xml</code> (=
1663     <code>http://www.w3.org/XML/1998/namespace</code>) 名前空間の
1664     <code>lang</code> 属性や名前空間に属さない
1665     <code>xml:lang</code> 属性) の値が同じ要素の名前空間に属さない
1666     <code>lang</code> 属性の値と異なっています。</p>
1667    
1668     <p>歴史的な理由により、 HTML 要素の言語指定のための属性は
1669     <code>lang</code> と <code>xml:lang</code> の2つがあります。 HTML
1670     文書では名前空間に属さない <code>lang</code> 属性だけが認められており、
1671     かつ効力があります。名前空間に属さない
1672     <code>xml:lang</code> 属性は HTML 文書では無視されます。 XHTML 文書では
1673 wakaba 1.6 <code>lang</code> 属性も <code>xml:lang</code> 属性も認められています。</p>
1674 wakaba 1.5
1675     <p>通常、要素の言語情報は <em><code>lang</code>
1676     属性だけ</em>を使って指定すれば十分です。</p>
1677    
1678     <p><code>lang</code> 属性と <code>xml:lang</code>
1679     属性の両方を同じ要素に指定する場合、
1680     両者の値は同じでなければなりません。</p>
1681     </div>
1682    
1683 wakaba 1.1 </section>
1684    
1685     <section id="table-model-errors">
1686     <h2>Table Model Errors</h2>
1687    
1688     <div class="section" id="cell-overlapping"><h3>Cell slot (<var>{text}</var>) is filled by
1689     multiple cells.</h3></div>
1690    
1691     <div class="section" id="colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute
1692     results in creating a table column that does not contain
1693     any cell anchored to it.</h3></div>
1694    
1695     <div class="section" id="column-with-no-anchored-cell"><h3>This column has no anchored cell.</h3></div>
1696    
1697     <div class="section" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or
1698     <code>th</code>) in the last row.</h3></div>
1699    
1700     <div class="section" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute
1701     results in creating a table row that does not contain
1702     any cell anchored to it.</h3>
1703     <p>The <code>rowspan</code> attribute value of the cell
1704     is so specified that it extends a table in the row axis.
1705     However, the extended row does not contain any cell by itself.
1706     The document is non-conforming.</p>
1707    
1708     <p>For example, the table below is non-conforming:
1709     <pre class="html bad example">
1710     <code>&lt;table&gt;
1711     &lt;tbody&gt;
1712     &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;
1713     &lt;/tbody&gt;
1714     &lt;/table&gt;</code></pre>
1715     ... since the second row contains only
1716     a cell that spans between first and second rows.</p>
1717     </div>
1718    
1719     <div class="section" id="row-with-no-anchored-cell"><h3>This row has no anchored cell.</h3></div>
1720    
1721     <div class="section" id="rowspan-creates-row-with-no-anchored-cell"><h3>This <code>rowspan</code> attribute
1722     results in creating a table row that does not contain
1723     any cell anchored to it.</h3></div>
1724    
1725    
1726     </section>
1727    
1728     <section id="imt-warnings">
1729     <h2>Internet Media Type Errors</h2>
1730    
1731 wakaba 1.3 <div class="section" id="boundary:syntax-error"><h3>The specified value is not a valid value
1732     as a multipart boundary.</h3></div>
1733    
1734     <div class="section" id="e4x:syntax-error"><h3>The specified value is not a valid value
1735     for the attribute <code>e4x</code>.</h3></div>
1736    
1737     <div class="section" id="IMT:attribute-syntax-error"><h3>The specified value,
1738     <code><var>{value}</var></code>, is syntactically not a valid
1739     attribute name.</h3></div>
1740    
1741 wakaba 1.1 <div class="section" id="IMT:composite"><h3>The specified media type is a composite
1742     type, which is not allowed in this context.</h3></div>
1743    
1744 wakaba 1.3 <div class="section" id="IMT:limited-use-subtype"><h3>An Internet Media Type whose intended usage
1745     is limited use, <code><var>{value}</var></code> is used.</h3></div>
1746    
1747 wakaba 1.1 <div class="section" id="IMT:syntax-error"><h3>The specified value is not an Internet Media
1748     Type.</h3></div>
1749    
1750 wakaba 1.3 <div class="section" id="IMT:obsolete-parameter"><h3>An obsolete parameter
1751     <code><var>{value}</var></code> is used.</h3></div>
1752    
1753 wakaba 1.6 <div class="section" id="IMT:obsolete-subtype"><h3>廃止されたインターネット媒体型
1754     <code><var>{value}</var></code> が使われています。</h3>
1755     <p>The specified Internet Media Type is registered with its intended
1756     usage as <i>OBSOLETE</i>.</p>
1757    
1758     <dl class="swtich">
1759     <dt>Media type <code>text/ecmascript</code></dt>
1760     <dd>Media type <code>text/ecmascript</code> is obsoleted in
1761     favor of <code>application/ecmascript</code>. Note that
1762     <em><code>text/javascript</code></em> would be the better alternative
1763     in many cases.</dd>
1764     <dt>Media type <code>text/javascript</code></dt>
1765     <dd>Media type <code>text/javascript</code> is obsoleted by
1766     <abbr>IETF</abbr> with backward incompatible alternate
1767     <code>application/javascript</code> for architectural
1768     purity.<!-- @@ ref? --> Those who prefer reality to academic
1769     purity <em>may ignore</em> this warning.</dd>
1770     </dl>
1771     </div>
1772 wakaba 1.3
1773     <div class="section" id="IMT:parameter-missing"><h3>Parameter <code><var>{text}</var></code> have to
1774     be specified for the Internet Media Type
1775     <code><var>{value}</var></code>.</h3></div>
1776    
1777     <div class="section" id="IMT:parameter-not-allowed"><h3>Parameter <code><var>{value}</var></code> is not
1778     allowed for this Internet Media Type.</h3></div>
1779    
1780     <div class="section" id="IMT:private-subtype"><h3>Use of a private Internet Media Type
1781     <code><var>{value}</var></code> is not encouraged.</h3></div>
1782 wakaba 1.1
1783 wakaba 1.3 <div class="section" id="IMT:private-type"><h3>Use of a private type
1784     <code><var>{value}</var></code> is not encouraged.</h3></div>
1785 wakaba 1.1
1786 wakaba 1.3 <div class="section" id="IMT:subtype-syntax-error"><h3>Value <code><var>{value}</var></code> is
1787     syntactically not a valid subtype value of an Internet Media Type.</h3></div>
1788    
1789     <div class="section" id="IMT:type-syntax-error"><h3>Value <code><var>{value}</var></code> is
1790     syntactically not a valid type.</h3></div>
1791    
1792     <div class="section" id="IMT:unknown-parameter"><h3>An unknown parameter <code><var>{value}</var></code>
1793     is used. The conformance checker cannot determine whether use of this
1794     parameter is valid or not.</h3></div>
1795    
1796     <div class="section" id="IMT:unknown-subtype"><h3>An unknown Internet Media Type
1797     <code><var>{value}</var></code> is used. At the time of the update of
1798     the conformance checker's Internet Media Type database, the subtype is
1799     not reigstered to the IANA registry. The subtype, however, might be
1800     registerd to the IANA registry thereafter. Please consult the IANA
1801     registry.</h3></div>
1802    
1803     <div class="section" id="IMT:unregistered-subtype"><h3>Use of an Internet Media Type
1804     <code><var>{value}</var></code> is not encouraged since it is not
1805     part of the IANA registry.</h3></div>
1806    
1807     <div class="section" id="IMT:unregistered-type"><h3>Use of a type
1808     <code><var>{value}</var></code> is not encouraged since it is not
1809     a standardized type.</h3></div>
1810 wakaba 1.1
1811     <div class="section" id="not-IMT"><h3>A value that is not an Internet Media Type
1812     is not allowed here.</h3></div>
1813    
1814     </section>
1815    
1816     <section id="uri-errors">
1817     <h2>URL Errors</h2>
1818    
1819     <div class="section" id="syntax-error:iri3987"><h3>The specified value is syntactically not an
1820     IRI.</h3></div>
1821    
1822     <div class="section" id="syntax-error:iriref3987"><h3>The specified value is syntactically not an IRI
1823     reference.</h3>
1824     <p>The specified value does not satisfy the syntactical requirements
1825     for IRI references. The document is non-conforming.</p>
1826    
1827     <p>Possible causes:
1828     <ul>
1829     <li>The string might contain one or more white space characters.
1830     Especially, the <code> </code> (<code>U+0020</code>
1831     <code class="charname">SPACE</code>) character cannot be
1832     used in IRI references.</li>
1833     </ul>
1834     </p>
1835     </div>
1836    
1837     <div class="section" id="syntax-error:rdfuriref"><h3>The specified value is syntactically not an RDF
1838     URI reference.</h3></div>
1839    
1840     <div class="section" id="syntax-error:uri2396"><h3>The specified value is syntactically not a
1841     URI according to RFC 2396.</h3></div>
1842    
1843     <div class="section" id="syntax-error:uri3986"><h3>The specified value is syntactically not a
1844     URI.</h3></div>
1845    
1846     <div class="section" id="URL:address-format"><h3>URL host address format
1847 wakaba 1.5 <code><var>{text}</var></code> is not defined.</h3></div>
1848 wakaba 1.1
1849     <div class="section" id="URL:default-port"><h3>Default port number should be omitted.</h3></div>
1850    
1851     <div class="section" id="URL:dot-segment"><h3>A dot-segment (<code>.</code> or
1852     <code>..</code>) occurs in an absolute reference.</h3>
1853     <p>Dot-segment (<code>.</code> or <code>..</code>) should
1854     not occur in an absolute reference.</p>
1855    
1856     <p>In relative references, dot-segments are used to represent
1857     the current (<code>.</code>) or the parent (<code>..</code>)
1858     hierarchy of the path. Though they are also allowed
1859     in absolute references, it should be resolved to the
1860     canonical form before it has been published.</p>
1861     </div>
1862    
1863     <div class="section" id="URL:empty-host"><h3>The host component of the URL is empty.</h3></div>
1864    
1865     <div class="section" id="URL:empty-path"><h3>The URL does not end with
1866     a <code>/</code> character.</h3></div>
1867    
1868     <div class="section" id="URL:empty-port"><h3>The port component of the URL is empty.</h3></div>
1869    
1870     <div class="section" id="URL-fragment-not-allowed"><h3>The fragment component of the URL is not
1871     allowed.</h3></div>
1872    
1873     <div class="section" id="URL:long-host"><h3>The host component of the URL
1874     is too long.</h3></div>
1875    
1876     <div class="section" id="URL:lowercase-hexadecimal-digit"><h3>A lowercase hexadecimal digit is used
1877     in percent-encoding.</h3>
1878     <p>The hexadecimal digit in percent-encoding string in the IRI
1879     is in lowercase. Though the IRI <em>is</em> conforming,
1880     it should be in uppercase.</p>
1881     </div>
1882    
1883     <div class="section" id="URL:non-DNS-host"><h3>The host component of the URL
1884     is not a DNS host name.</h3></div>
1885    
1886     <div class="section" id="URL:non-UTF-8-host"><h3>The host component of the URL
1887     is not encoded in UTF-8.</h3></div>
1888    
1889     <div class="section" id="URL:password"><h3>Password should not be included in a URL
1890     for the security.</h3></div>
1891    
1892     <div class="section" id="URL:percent-encoded-unreserved"><h3>An unreserved character is
1893     percent-encoded.</h3>
1894     <p>An unreserved character is percent-encoded in the IRI.
1895     Though it <em>is</em> conforming, it should be in the
1896     decoded (or bare) form.</p>
1897     </div>
1898    
1899     <div class="section" id="URL:uppercase-host"><h3>The host <code><var>{value}</var></code>
1900     should be spelt in lowercase.</h3></div>
1901    
1902     <div class="section" id="URL:uppercase-scheme-name"><h3>URL scheme name is in uppercase.</h3>
1903     <p>The scheme part of the IRI is written in uppercase letter.</p>
1904    
1905     <p>Uppercase scheme names are not required to be processed
1906     correctly.</p>
1907     <!-- @@
1908     RFC 3986 3.1.
1909     > Although schemes are case-
1910     insensitive, the canonical form is lowercase and documents that
1911     specify schemes must do so with lowercase letters.
1912    
1913     > An implementation ... should only produce lowercase scheme names for
1914     consistency.
1915     -->
1916     </div>
1917    
1918     </section>
1919    
1920     <section id="mq-errors">
1921     <h2>Media Query Errors</h2>
1922    
1923     <div class="section" id="mq-syntax-error"><h3>The specified value has a syntax error as a
1924     media query.</h3></div>
1925    
1926     <div class="section" id="unknown-media-type"><h3>Media type <code><var>{value}</var></code> is
1927     not supported by the conformance checker.</h3></div>
1928    
1929     </section>
1930    
1931     <section id="selectors-errors">
1932     <h2>Selectors Errors</h2>
1933    
1934     <div class="section" id="an+b-not-closed"><h3>Argument list of the pseudo-class is
1935     not closed by a <code>)</code> character.</h3></div>
1936    
1937     <div class="section" id="ab+b-not-integer"><h3>Numbers in the argument
1938     <code><var>a</var>n+<var>b</var></code> have to be integers.</h3></div>
1939    
1940     <div class="section" id="an+b-syntax-error"><h3>Argument <code><var>a</var>n+<var>b</var></code> is
1941     syntactically incorrect.</h3></div>
1942    
1943     <div class="section" id="attr-selector-not-closed"><h3>Attribute selector is not closed by
1944     a <code>]</code> character.</h3></div>
1945    
1946     <div class="section" id="lang-selector-not-closed"><h3>Argument list of the <code>:lang</code>
1947     selector is not closed by a <code>)</code> character.</h3></div>
1948    
1949     <div class="section" id="namespace-prefix:not-declared"><h3>Namespace prefix <code><var>{value}</var></code>
1950     is not declared.</h3></div>
1951    
1952     <div class="section" id="no-attr-local-name"><h3>Attribute local name is missing.</h3></div>
1953    
1954     <div class="section" id="no-attr-match"><h3>Attribute matching operator (e.g.
1955     <code>=</code>) is missing.</h3></div>
1956    
1957     <div class="section" id="no-attr-name"><h3>Attribute name is missing.</h3></div>
1958    
1959     <div class="section" id="no-attr-namespace-separator"><h3>Attribute namespace wildcard <code>*</code>
1960     is not followed by a <code>|</code> character.</h3></div>
1961    
1962     <div class="section" id="no-attr-value"><h3>Attribute value is missing.</h3></div>
1963    
1964     <div class="section" id="no-class-name-selector"><h3>Class name is missing.</h3></div>
1965    
1966     <div class="section" id="no-combinator"><h3>Combinator is missing.</h3></div>
1967    
1968     <div class="section" id="no-contains-string"><h3>No string is specified in the argument
1969     list of the <code>:-manakai-contains</code> pseudo-class
1970     selector.</h3></div>
1971    
1972     <div class="section" id="no-lang-tag"><h3>Language tag argument is missing.</h3></div>
1973    
1974     <div class="section" id="no-local-name-selector"><h3>Local name part of the type selector (or
1975     <code>*</code> for the universal selector) is missing.</h3></div>
1976    
1977     <div class="section" id="no-pseudo-class-name"><h3>Pseudo-class name is missing.</h3></div>
1978    
1979     <div class="section" id="no-pseudo-element-name"><h3>Pseudo-element name is missing.</h3></div>
1980    
1981     <div class="section" id="no-sss"><h3>Sequence of simple selectors is
1982     expected.</h3></div>
1983    
1984     <div class="section" id="not-not-closed"><h3>Argument list of the <code>:not</code> selector
1985     is not closed by a <code>)</code> character.</h3></div>
1986    
1987     <div class="section" id="ss-after-pseudo-element"><h3>Simple selector is not allowed after a
1988     pseudo element.</h3></div>
1989    
1990     <div class="section" id="unknown-pseudo-class"><h3>Pseudo-class <code>:<var>{value}</var></code>
1991     is not supported by the conformance checker.</h3></div>
1992    
1993     <div class="section" id="unknown-pseudo-element"><h3>Pseudo-element <code>::<var>{value}</var></code>
1994     is not supported by the conformance checker.</h3></div>
1995    
1996     </section>
1997    
1998     <section id="css-errors">
1999     <h2>CSS Errors</h2>
2000    
2001     <div class="section" id="at-rule-not-allowed"><h3>An <code>@<var>{text}</var></code> rule is not
2002     allowed here.</h3></div>
2003    
2004     <div class="section" id="at-rule-syntax-error"><h3>The <code>@<var>{text}</var></code> rule is
2005     syntactically incorrect.</h3></div>
2006    
2007     <div class="section" id="block-not-closed"><h3>Block is not closed before the end of
2008     file.</h3></div>
2009    
2010     <div class="section" id="CSS-duplication"><h3>Component <code>&lt;<var>{text}</var>&gt;</code> is
2011     already specified.</h3></div>
2012    
2013     <div class="section" id="CSS-cursor-hand"><h3>Value <code>hand</code> is not valid as
2014     <code>&lt;'cursor'&gt;</code>.</h3></div>
2015    
2016     <div class="section" id="CSS-syntax-error"><h3>Specified value is syntactically not a correct
2017     <code>&lt;<var>{text}</var>&gt;</code>.</h3></div>
2018    
2019     <div class="section" id="no-declaration-block"><h3>No declaration block is found after a group of
2020     selectors.</h3></div>
2021    
2022     <div class="section" id="no-property-colon"><h3>A <code>:</code> character is missing after
2023     a property name.</h3></div>
2024    
2025     <div class="section" id="no-property-name"><h3>Property name is expected.</h3></div>
2026    
2027     <div class="section" id="no-property-semicolon"><h3>A <code>;</code> character is missing at the
2028     end of the property.</h3></div>
2029    
2030     <div class="section" id="priority-syntax-error"><h3>Priority part of the declaration is syntactically
2031     incorrect.</h3></div>
2032    
2033     <div class="section" id="unknown-at-rule"><h3>The <code>@<var>{value}</var></code> rule is
2034     not supported by the conformance checker.</h3></div>
2035    
2036     <div class="section" id="unknown-property"><h3>Property <code><var>{value}</var></code> is
2037     not supported by the conformance checker.</h3></div>
2038    
2039     </section>
2040    
2041     <section id="cache-manifest-errors">
2042     <h2>Cache Manifest Errors</h2>
2043    
2044     <div class="section" id="both-in-entries-and-whitelist"><h3>This URL is found both in the explicit or
2045     fallback entries and in the online whitelist.</h3></div>
2046    
2047     <div class="section" id="different-origin-from-manifest"><h3>The specified URL has different origin from
2048     the manifest.</h3></div>
2049    
2050     <div class="section" id="different-scheme-from-manifest"><h3>The scheme component of the URL is
2051     different from that of the manifest URL. The URL is ignored.</h3></div>
2052    
2053     <div class="section" id="duplicate-oc-namespace"><h3>This oppotunistic caching namespace is already
2054     specified.</h3></div>
2055    
2056     <div class="section" id="no-fallback-entry-URL"><h3>Fallback entry URL is missing.</h3></div>
2057    
2058     <div class="section" id="not-manifest"><h3>This document is not a cache manifest.</h3>
2059     <p>The specified document is <em>not</em> a cache manifest.
2060     The document is non-conforming.</p>
2061    
2062     <p>An entity labeled as Internet media type
2063     <code>text/cache-manifest</code> must contain a cache manifest.</p>
2064    
2065     <p>A cache manifest must start with a line whose content is
2066     <code class="manifest example">CACHE MANIFEST</code>
2067     (exactly one space character between
2068     <code>CACHE</code> and <code>MANIFEST</code>).</p>
2069     </div>
2070    
2071     <div class="section" id="same-as-manifest-URL"><h3>This URL is same as the manifest URL.</h3></div>
2072    
2073     </section>
2074    
2075     <section id="information">
2076     <h2>Stability Information</h2>
2077    
2078     <div class="section" id="deprecated:attr"><h3>This attribute is deprecated.</h3></div>
2079    
2080     <div class="section" id="deprecated:element"><h3>This element is deprecated.</h3></div>
2081    
2082     <div class="section" id="status:cr:element"><h3>This element is in the
2083     <strong>call for implementation</strong> stage.</h3>
2084     <p>The element is in the call for implementation stage.</p>
2085    
2086     <p>Usually, using the element is safe. However, it is a new feature
2087     so that it might not be implemented correctly. If it is found that
2088     the feature is hard or impossible to implement, the feature
2089     might be revised, or in some case it might be dropped.</p>
2090    
2091     <p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0
2092     (W3C Candidate Recommendation) belong to this class.</p>
2093     </div>
2094    
2095     <div class="section" id="status:lc:element"><h3>This element is in the <strong>last
2096     call for comments</strong> stage.</h3>
2097     <p>The element is in the last call for comments stage.</p>
2098    
2099     <p>The element is relatively mature, though the standardization
2100     is not done yet. It may be used for experiments. Since it is a new
2101     feature, it might not be implemented correctly or at all. If it is
2102     found that the feature is hard or impossible to implement, the feature
2103     might be revised or might be dropped.</p>
2104    
2105     <p>Elements defined by Web Forms 2.0 as well as some elements
2106     defined by HTML5 belong to this class.</p>
2107     </div>
2108    
2109     <div class="section" id="status:wd:element"><h3>This element is documented in a <strong>working
2110     draft</strong>.</h3>
2111     <p>The element is documented in a working or editor's draft
2112     and not yet completed.</p>
2113    
2114     <p>The element should not be used for any practical purpose.
2115     The feature might be drastically changed later or might be
2116     entirely removed.</p>
2117    
2118     <p>Most of new elements defined by HTML5 belong to this class.</p>
2119     </div>
2120    
2121     <div class="section" id="status:non-standard:element"><h3>This element is <strong>not part of any
2122     standard</strong> the conformance checker knows.</h3>
2123     <p>The element is not part of any standard or draft the conformance
2124     checker is aware of.</p>
2125    
2126     <p>The element should not be used for any practical purpose unless
2127     there is really a standard that defines the element.</p>
2128     </div>
2129    
2130     <div class="section" id="status:cr:attr"><h3>This attribute is in the
2131     <strong>call for implementation</strong> stage.</h3>
2132     <p>The attribute is in the call for implementation stage.</p>
2133    
2134     <p>Usually, using the attribute is safe. However, it is a new feature
2135     so that it might not be implemented correctly. If it is found that
2136     the feature is hard or impossible to implement, the feature
2137     might be revised, or in some case it might be dropped.</p>
2138     </div>
2139    
2140     <div class="section" id="status:lc:attr"><h3>This attribute is in the <strong>last
2141     call for comments</strong> stage.</h3>
2142     <p>The attribute is in the last call for comments stage.</p>
2143    
2144     <p>The attribute is relatively mature, though the standardization
2145     is not done yet. It may be used for experiments. Since it is a new
2146     feature, it might not be implemented correctly or at all. If it is
2147     found that the feature is hard or impossible to implement, the feature
2148     might be revised or might be dropped.</p>
2149     </div>
2150    
2151     <div class="section" id="status:wd:attr"><h3>This attribute is documented in a <strong>working
2152     draft</strong>.</h3>
2153     <p>The attribute is documented in a working or editor's draft
2154     and not yet completed.</p>
2155    
2156     <p>The attribute should not be used for any practical purpose.
2157     The feature might be drastically changed later or might be
2158     entirely removed.</p>
2159     </div>
2160    
2161     <div class="section" id="status:non-standard:attr"><h3>This attribute is <strong>not part of any
2162     standard</strong> the conformance checker knows.</h3>
2163     <p>The attribute is not part of any standard or draft the conformance
2164     checker is aware of.</p>
2165    
2166     <p>The attribute should not be used for any practical purpose unless
2167     there is really a standard that defines the attribute.</p>
2168     </div>
2169     </section>
2170    
2171     <section id="langtag-errors">
2172     <h2>Language Tag Errors</h2>
2173    
2174     <div class="section" id="langtag:extension:duplication"><h3>There is another extension subtag
2175     <code><var>{value}</var></code>.</h3></div>
2176    
2177     <div class="section" id="langtag:illegal"><h3>Subtag <code><var>{value}</var></code> is
2178     syntactically invalid.</h3></div>
2179    
2180     <div class="section" id="langtag:language:case"><h3>It is a good practice to represent ISO 639-1
2181     language code <code><var>{value}</var></code> in lowercase.</h3></div>
2182    
2183     <div class="section" id="langtag:language:mul"><h3>Langauge tag <code>mul</code> should not be
2184     used.</h3></div>
2185    
2186     <div class="section" id="langtag:language:nosemantics"><h3>No semantics is defined for language subtag
2187     <code><var>{value}</var></code>.</h3></div>
2188    
2189     <div class="section" id="langtag:language:syntax"><h3>The language subtag <code><var>{value}</var></code>
2190     is syntactically invalid.</h3></div>
2191    
2192     <div class="section" id="langtag:language:und"><h3>Langauge tag <code>und</code> should not be
2193     used.</h3></div>
2194    
2195     <div class="section" id="langtag:private"><h3>It would be better if a private use language
2196     tag (<code><var>{value}</var></code>) is not used.</h3></div>
2197    
2198     <div class="section" id="langtag:privateuse:syntax"><h3>Private use subtag <code><var>{value}</var></code>
2199     is syntactically invalid.</h3></div>
2200    
2201     <div class="section" id="langtag:region:case"><h3>It is a good practice to represent ISO 3166
2202     country code <code><var>{value}</var></code> in uppercase.</h3></div>
2203    
2204     <div class="section" id="langtag:region:nosemantics"><h3>No semantics is defined for region subtag
2205     <code><var>{value}</var></code>.</h3></div>
2206    
2207     <div class="section" id="langtag:region:private"><h3>Use of private use country code
2208     <code><var>{value}</var></code> is not allowed.</h3></div>
2209    
2210     </section>
2211    
2212     <section id="rdfxml-errors">
2213     <h2>RDF/XML Errors</h2>
2214    
2215     <div class="section" id="bad-rdf-namespace"><h3>The namespace URI of an element that
2216     represents an RDF concept must be
2217     <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>.</h3></div>
2218    
2219     <div class="section" id="duplicate-rdf-id"><h3>The specified value is already used as an
2220     ID.</h3></div>
2221    
2222     <div class="section" id="duplicate-unqualified-attr"><h3>Both unqualified attribute and namespace‐qualified
2223     RDF attribute are specified, which is not allowed.</h3></div>
2224    
2225     <div class="section" id="parse-type-other"><h3>An invalid value is specified to
2226     the <code>parseType</code> attribute.</h3></div>
2227    
2228     <div class="section" id="second-node-element"><h3>There is another element, such that
2229     this element is not allowed.</h3></div>
2230    
2231     <div class="section" id="unqualified-attr"><h3>Unqualified attribute is not allowed.</h3></div>
2232    
2233     <div class="section" id="unqualified-rdf-attr"><h3>RDF attribute should be
2234     namespace‐qualified.</h3></div>
2235    
2236     </section>
2237    
2238     <section id="unsupported-messages">
2239     <h2><i>Unsupported</i> Messages</h2>
2240    
2241     <div class="section" id="unknown-element"><h3>Conformance checking for element
2242     <code><var>{local-name}</var></code> is not supported; <em>it might or
2243     might not be conforming</em>.</h3>
2244     <p>The conformant checker does not support the element.
2245     It cannot determine whether the document is conforming or not.</p>
2246     </div>
2247    
2248     <div class="section" id="unknown-attribute"><h3>Conformance checking for attribute
2249     <code><var>{local-name}</var></code> of element
2250     <code><var>{element-local-name}</var></code> is not supported;
2251     <em>it might or might not be conforming</em>.</h3>
2252     <p>The conformant checker does not support the attribute.
2253     It cannot determine whether the document is conforming or not.</p>
2254     </div>
2255    
2256     <div class="section" id="unknown-link-type"><h3>Link type <code><var>{value}</var></code> is not
2257     standardized or registered at the time of the release of the conformance
2258     checker; <em>it is non-conforming unless it now has been
2259     registered</em>.</h3>
2260     <p>The <code>rel</code> attribute is defined as a list of link types.
2261     Some common link types are defined in the HTML5 specification.
2262     Additional link types can be registered to the WHATWG Wiki.
2263     use of any other link type is non-conforming.</p>
2264    
2265     <p>The specified link type is not part of the standard or registry
2266     when the database used by the conformance cheker is created.
2267     The link type might have been added to the registry since then.
2268     In such case it might be conforming. Otherwise, the
2269     document is non-conforming.</p>
2270    
2271     <dl>
2272     <dt>Link types <code>shortcut icon</code></dt>
2273     <dd>Link type <code>shortcut</code> is not registered.
2274     Use only <code>icon</code> for linking to so-called favicon.</dd>
2275     </dl>
2276     </div>
2277    
2278     <div class="section" id="event-handler"><h3>Conformance checking for event handler attribute
2279     is not supported; <em>it might or might not be conforming.</em></h3></div>
2280    
2281     <div class="section" id="media-query"><h3>Conformance checking for media query
2282     is not supported; <em>it might or might not be conforming.</em></h3></div>
2283    
2284     <div class="section" id="addr-spec-not-supported"><h3>Conformance checking for an <code>addr-spec</code>
2285     is not supported; <em>it might or might not be conforming.</em></h3></div>
2286    
2287     <div class="section" id="XML-script-lang"><h3>Conformance checking for script
2288     language <code><var>{text}</var></code> is not supported;
2289     <em>it might or might not be conforming.</em></h3></div>
2290    
2291     <div class="section" id="XML-style-lang"><h3>Conformance checking for style
2292     language <code><var>{text}</var></code> is not supported;
2293     <em>it might or might not be conforming.</em></h3></div>
2294    
2295     <div class="section" id="atom|content-not-supported"><h3>Conformance checking for an Atom
2296     <code>content</code> element with <code>type</code>
2297     <code><var>{text}</var></code> is not supported.</h3></div>
2298    
2299 wakaba 1.2 <div class="section" id="help-not-available"><h3>これ以上の詳しい情報はありません。</h3>
2300     <p>これについての詳しい情報はありません。</p>
2301 wakaba 1.1 </div>
2302    
2303     </section>
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    
2431    
2432    
2433    
2434    
2435    
2436    
2437    
2438    
2439    
2440    
2441    
2442    
2443    
2444    
2445    
2446    
2447    
2448    
2449    
2450    
2451    
2452    
2453    
2454    
2455    
2456    
2457    
2458    
2459    
2460    
2461    
2462    
2463    
2464    
2465    
2466    
2467    
2468    
2469    
2470    
2471    
2472    
2473    
2474    
2475    
2476    
2477    
2478    
2479    
2480    
2481    
2482    
2483    
2484    
2485    
2486    
2487    
2488    
2489    
2490    
2491    
2492    
2493    
2494    
2495    
2496    
2497    
2498    
2499    
2500    
2501    
2502    
2503    
2504    
2505    
2506    
2507    
2508    
2509    
2510    
2511 wakaba 1.2
2512    
2513 wakaba 1.1 <div class="section" id="Error-level-m"><h3><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></h3>
2514     <p>A violation to a hard requirement of the specification.
2515     The document is non‐conforming.</p>
2516     </div>
2517    
2518     <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>
2519     <p>A violation to a requirement of the specification.
2520     The violation might be legitimize in some case. Otherwise,
2521     the document is non‐conforming.</p>
2522     </div>
2523    
2524     <div class="section" id="Error-level-w"><h3><a href="../error-description#Error-level-w" rel="help">警告</a></h3>
2525     <p>A warning is an advice from the conformance checker
2526     to avoid solving a problem in a confusing or possibly wrong way.
2527     It does not affect to the conformance of the document, and
2528     may sometimes be inappropriate.</p>
2529     </div>
2530    
2531     <div class="section" id="Error-level-i"><h3><a href="../error-description#Error-level-i" rel="help">情報</a></h3>
2532     <p>An informational message just provides an additional information
2533     on the feature used in the document or the status of the retrieval
2534     or so on.
2535     It does not affect to the conformance of the document.</p>
2536     </div>
2537    
2538     <div class="section" id="Error-level-u"><h3><a href="../error-description#Error-level-u" rel="help">未対応</a></h3>
2539     <p>Some feature that is not supported by the conformance checker
2540     is used in the document.</p>
2541     </div>
2542    
2543     <section id="license">
2544     <h2>License of This Document</h2>
2545    
2546     <p>Copyright <time>2007</time>‐<time>2008</time>
2547     <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>
2548     <code class="mail">&lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>&gt;</code>.</p>
2549    
2550     <p>This document is free software; you can redistribute it
2551     and/or modify it under the same terms as Perl itself.</p>
2552     </section>
2553    
2554 wakaba 1.6 <!-- $Date: 2008/08/30 16:10:07 $ -->
2555 wakaba 1.1 </body>
2556     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24