/[suikacvs]/test/html-webhacc/error-description-source.xml
Suika

Contents of /test/html-webhacc/error-description-source.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.45 - (hide annotations) (download) (as text)
Sun Sep 14 03:09:23 2008 UTC (16 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.44: +5 -4 lines
File MIME type: text/xml
++ html/WebHACC/ChangeLog	14 Sep 2008 03:09:19 -0000
2008-09-14  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm (generate_input_section): Set |tabindex=0| to |details|
	header, to make the header focusable.

1 wakaba 1.1 <!DOCTYPE html>
2     <html xmlns="http://www.w3.org/1999/xhtml"
3     xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/"
4     id="error-description">
5     <head>
6 wakaba 1.36 <base href="cc/"/>
7     <title xml:lang="en">Description of Errors &#x2014; WebHACC (β)</title>
8 wakaba 1.37 <title xml:lang="ja">誤りの説明 &#x2014; WebHACC (β)</title>
9 wakaba 1.36 <link rel="stylesheet" href="../cc-style"/>
10 wakaba 1.1 <link rel="license" href="#license"/>
11     </head>
12     <body>
13 wakaba 1.36 <header>
14     <h1><a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a></h1>
15     <h2>Description of Errors</h2>
16     </header>
17    
18     <d:cat name="WebHACC:Title">
19     <d:text xml:lang="en">WebHACC (β)</d:text>
20     </d:cat>
21    
22     <d:cat name="WebHACC:Heading">
23     <d:text xml:lang="en">
24     <a href="../error-description#WebHACC:Heading" rel="help"><abbr title="Web Hypertext Application Conformance Checker (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a>
25     </d:text>
26     <d:text xml:lang="ja">
27     <a href="../error-description#WebHACC:Heading" rel="help"><abbr title="Web ハイパーテキスト応用適合性検査器 (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a>
28     </d:text>
29     <d:desc xml:lang="en">
30     <p><a href="./#input"><abbr title="Web Hypertext Application Conformance Checker">WebHACC</abbr></a>
31     is a <em>conformance checker</em> (or validator) for Web documents,
32     supporting <a href="../standards">latest Web standards</a> including
33     <a href="http://whatwg.org/html5"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>,
34     <a href="urn:ietf:rfc:4287">Atom 1.0</a>,
35     <a href="http://www.w3.org/Style/CSS/current-work"><abbr title="Cascading Style Sheets">CSS</abbr>3</a>.</p>
36    
37     <p><strong><a href="./#input">Check your document</a></strong>, or
38     <a href="../cc-about">learn more about
39     <abbr title="Web Hypertext Application Conformance Checker">WebHACC</abbr></a>.</p>
40     </d:desc>
41     <d:desc xml:lang="ja">
42     <p><a href="./#input"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr></a>
43     は、 Web 文書のための<em>適合性検査器</em> (妥当性検証器) です。
44     <a href="http://whatwg.org/html5"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>、
45     <a href="urn:ietf:rfc:4287">Atom 1.0</a>、
46     <a href="http://www.w3.org/Style/CSS/current-work"><abbr title="Cascading Style Sheets">CSS</abbr>3</a>
47     などの<a href="../standards">最新の Web 標準</a>に対応しています。</p>
48    
49     <p><strong><a href="./#input">文書を検査する</a></strong></p>
50    
51     <p><a href="../cc-about"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr>
52     の詳細</a></p>
53     </d:desc>
54     </d:cat>
55 wakaba 1.1
56 wakaba 1.23 <section id="character-encoding-layer">
57     <h2>Character Encoding Layer Errors</h2>
58    
59 wakaba 1.43 <d:item name="fallback-char-error"
60     modules="Charset::DecodeHandle">
61     <d:message xml:lang="en">Octet sequence <code><var>{octets}</var></code>
62     is not an allowed representation of the character
63     <code><var>{char}</var></code> &#x2014; character reference
64     <code><var>{char:hexref}</var></code> should be used instead.</d:message>
65     <!-- HTML5 parse error -->
66     </d:item>
67    
68     <d:item name="fallback-unassigned-error"
69     modules="Charset::DecodeHandle">
70     <d:message xml:lang="en">No character is assigned to octet sequence
71     <code><var>{octets}</var></code>.</d:message>
72     <!-- HTML5 parse error -->
73     </d:item>
74    
75     <d:item name="illegal-octets-error"
76     modules="Charset::DecodeHandle">
77     <d:message xml:lang="en">Octet sequence <code><var>{octets}</var></code>
78     is illegal.</d:message>
79     </d:item>
80    
81     <d:item name="invalid-state-error"
82     modules="Charset::DecodeHandle::ISO2022JP">
83     <!-- TODO: more user-friendly error message is desired... -->
84     <d:message xml:lang="en">The input stream is broken.</d:message>
85     <d:desc xml:lang="en">
86     <p>The input stream is encoded in <code>ISO-2022-JP</code>
87     or its variant but is partially broken.</p>
88    
89     <p>Note that an <code>ISO-2022-JP</code> stream must end in the ASCII
90     state.</p>
91     </d:desc>
92     </d:item>
93    
94     <d:item name="unassigned-code-point-error"
95     modules="Charset::DecodeHandle">
96     <d:message xml:lang="en">No character is assigned to octet sequence
97     <code><var>{octets}</var></code>.</d:message>
98 wakaba 1.23 </d:item>
99     </section>
100    
101 wakaba 1.16 <section id="html5-character-encoding">
102     <h2>HTML5 Character Encoding Errors</h2>
103    
104 wakaba 1.30 <d:item name="disallowed character encoding"
105     modules="ContentChecker">
106     <d:message xml:lang="en">Character encoding <code><var>{text}</var></code>
107 wakaba 1.16 is not allowed for <abbr>HTML</abbr> document.</d:message>
108     <d:desc xml:lang="en">
109     <p>The character encoding used for the document is not allowed
110     for <abbr>HTML</abbr> document. The document is non‐conforming.</p>
111     </d:desc>
112     </d:item>
113    
114 wakaba 1.30 <d:item name="bad character encoding"
115     modules="ContentChecker">
116     <d:message xml:lang="en">Character encoding <code><var>{text}</var></code>
117 wakaba 1.16 should not be used for <abbr>HTML</abbr> document.</d:message>
118     <d:desc xml:lang="en">
119     <p>The character encoding used for the document is not recommended
120     for <abbr>HTML</abbr> document. The document is non‐conforming
121     unless there is any good reason to use that encoding.</p>
122     </d:desc>
123     </d:item>
124    
125 wakaba 1.30 <d:item name="non-utf-8 character encoding"
126     modules="ContentChecker">
127     <d:message xml:lang="en">Use of UTF-8 is encouraged (this document
128     is encoded in <code><var>{text}</var></code>).</d:message>
129 wakaba 1.16 <d:desc xml:lang="en">
130     <p>Use of UTF-8 as the character encoding of the document is encouraged,
131 wakaba 1.21 though the use of another character encoding is still conforming.</p>
132 wakaba 1.16 </d:desc>
133     </d:item>
134    
135 wakaba 1.30 <d:item name="character encoding unchecked"
136     modules="ContentChecker">
137 wakaba 1.17 <d:message xml:lang="en">Conformance for character encoding requirements
138 wakaba 1.30 cannot be checked, since the input is not a byte stream.</d:message>
139 wakaba 1.17 <d:desc xml:lang="en">
140     <p>The conformance checker cannot detect whether the input document
141     met the requirements on character encoding, since the document
142     is not inputed as a serialized byte sequence. The document is
143     not conforming if it is not encoded in an appropriate character
144     encoding with appropriate labeling.</p>
145     </d:desc>
146     </d:item>
147    
148 wakaba 1.30 <d:item name="no character encoding declaration"
149     modules="ContentChecker">
150 wakaba 1.16 <d:message xml:lang="en">There is no character encoding
151     declaration.</d:message>
152     <d:desc xml:lang="en">
153     <p>The document does not contain a character encoding
154     declaration. Unless the character encoding is explicitly
155 wakaba 1.17 specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>,
156 wakaba 1.16 or is implied by <abbr>BOM</abbr>, there must be a character
157     encoding declaration. The document is non‐conforming.</p>
158    
159     <p>The long character encoding declaration syntax
160     <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code>
161     is obsolete. The new syntax is:</p>
162     <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
163    
164     <p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr>
165     declaration has no effect for <abbr>HTML</abbr> document.</p>
166     </d:desc>
167     </d:item>
168    
169 wakaba 1.30 <d:item name="non ascii superset"
170     modules="ContentChecker">
171 wakaba 1.16 <d:message xml:lang="en">No character encoding metadata is found
172 wakaba 1.17 in lower‐level protocol nor is there <abbr>BOM</abbr>, while
173 wakaba 1.30 character encoding <code><var>{text}</var></code>
174 wakaba 1.16 is not a superset of <abbr>ASCII</abbr>.</d:message>
175     <d:desc xml:lang="en">
176     <p>The document is not labeled with character encoding name
177 wakaba 1.17 in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and
178 wakaba 1.16 the document is not begin with <abbr>BOM</abbr>. In addition,
179     the character encoding of the document is not a superset of
180     <abbr>ASCII</abbr>. The document is non‐conforming.</p>
181    
182     <p>Unless there is a <abbr>BOM</abbr>, the character encoding
183     for the document must be specified in e.g. <abbr>HTTP</abbr>‐level,
184     as:</p>
185     <pre class="http example"><code>Content-Type: text/html; charset=<var>charset-name</var></code></pre>
186    
187     <p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e.
188     <code class="html example">&lt;meta charset="<var>charset-name</var>"></code>,
189     does not allow to omit <code>charset</code> parameter
190     for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr>
191     compatible encoding.</p>
192    
193     <p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>,
194     and <code>ISO-2022-JP</code> are <em>not</em> a superset of
195     <abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p>
196     </d:desc>
197     </d:item>
198    
199 wakaba 1.29 <d:item name="sniffing:chardet"
200     modules="HTML::Parser">
201     <d:message xml:lang="en">Character encoding of this document is sniffed
202     as <code><var>{text}</var></code> (Sniffed because no explicit specification
203     for the character encoding of this document is found in the transfer
204     procotol headers).</d:message>
205     </d:item>
206    
207     <d:item name="sniffing:default"
208     modules="HTML::Parser">
209     <d:message xml:lang="en">Character encoding of this document is defaulted
210     to <code><var>{text}</var></code> because no explicit specification
211     for the character encoding of this document is found in the transfer
212     procotol headers.</d:message>
213     </d:item>
214    
215     <d:item name="chardecode:fallback"
216     modules="HTML::Parser">
217 wakaba 1.43 <d:message xml:lang="en">Results might be <em>wrong</em>, since the
218     conformance checker cannot find an appropriate decoder for the character
219     encoding used for the document.</d:message>
220     <d:desc xml:lang="en">
221     <p>The conformance checker cannot find an appropriate decoder for
222     the character encoding used to encode characters in the document.</p>
223    
224     <p>This error is raised if:</p>
225     <ul>
226     <li>the conformance checker cannot find any decoder for the character
227     encoding in use, but it knows that the encoding is similar to another
228     character encoding, such that it uses the decoder for that character
229     encoding, and therefore some octets might be interpreted incorrectly,
230     or,</li>
231     <li>the conformance checker find a decoder for the character encoding
232     in use, but it does not know whether the decoder is conforming to the
233     relevant specification or not, and therefore some octets might be
234     interpreted incorrectly.</li>
235     </ul>
236    
237     <p>In either case, the result shown by the conformance checker might
238     contain wrong errors caused by errorneous decoder or might not contain
239     errors that should be raised if an appropriate decoder is used.</p>
240    
241     <!-- TODO: add advise that either install relevant modules or
242     join the developmenet of the modules... -->
243     </d:desc>
244 wakaba 1.29 </d:item>
245    
246     <d:item name="chardecode:no error"
247     modules="HTML::Parser">
248     <d:message xml:lang="en">Conformance error checking for the character
249     encoding <code><var>{text}</var></code> is not supported.</d:message>
250     </d:item>
251    
252     <d:item name="charset label:matching"
253     modules="HTML::Parser">
254     <d:message xml:lang="en">Sniffed character encoding
255     <code><var>{text}</var></code> is same as the character encoding specified
256     in the character encoding declaration. This is <em>not</em> an
257     error.</d:message>
258     </d:item>
259    
260     <d:item name="charset label detected"
261     modules="HTML::Parser">
262 wakaba 1.16 <d:message xml:lang="en">While parsing the document as
263 wakaba 1.29 <code><var>{text}</var></code>, a character encoding declaration specifying
264     a different character encoding is found. The document
265 wakaba 1.16 is reparsed.</d:message>
266     <d:desc xml:lang="en">
267     <p>While parsing a document in a character encoding,
268     a character encoding declaration which declares the character
269     encoding of the document as another character encoding is found.
270     The occurence of this warning itself does not make the document
271     non‐conforming. However, the failure of the first attempt to
272 wakaba 1.21 to detect the character encoding might be a result of non‐conformance
273 wakaba 1.16 of the document.</p>
274    
275     <p>The document will be reparsed from the beginning. Some error
276     or warning might be reported again.</p>
277    
278     <p>These are suggestions to avoid this warning:</p>
279     <ul>
280     <li>Specify <code>charset</code> parameter in the <code>Content-Type</code>
281     field in the <abbr>HTTP</abbr> header, as:
282     <pre class="HTTP example"><code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li>
283     <li>Put the character encoding declaration
284     (<code class="html example">&lt;meta charset="<var>charset-name</var>"></code>)
285     just after <code class="html example">&lt;head></code> start tag.</li>
286     <li>Use <code>UTF-8</code>.</li>
287     </ul>
288     </d:desc>
289     </d:item>
290 wakaba 1.44 </section>
291    
292     <section id="character-set-layer">
293     <h2>Coded Character Set Layer Errors</h2>
294 wakaba 1.29
295     <d:item name="NULL"
296     modules="HTML::Parser">
297 wakaba 1.44 <!-- HTML5 Parse Error -->
298 wakaba 1.29 <d:message xml:lang="en">The <code class="charname">NULL</code> character
299     is not allowed.</d:message>
300     </d:item>
301    
302     <d:item name="control char"
303     modules="HTML::Parser">
304 wakaba 1.44 <!-- HTML5 Parse Error -->
305 wakaba 1.29 <d:message xml:lang="en">Code point <code><var>{text}</var></code> is
306     not allowed.</d:message>
307     </d:item>
308    
309 wakaba 1.44 <d:item name="nonchar"
310     modules="Charset::UnicodeChecker">
311     <d:message xml:lang="en">Noncharacter <code><var>{text}</var></code>
312     is found in the input stream.</d:message>
313     <d:desc xml:lang="en">
314     <p>Noncharacter code points are used in the input stream.</p>
315    
316     <p>Noncharacter code points are reserved for internal processings.
317     Their use for information interchanges are forbidden.</p>
318    
319     <p>In addition, they are not allowed in HTML document.</p>
320     <!-- "permanently undefined Unicode characters" in HTML5. -->
321     </d:desc>
322     </d:item>
323    
324     <d:item name="unicode deprecated"
325     modules="Charset::UnicodeChecker">
326     <d:message xml:lang="en">Use of character <code><var>{text}</var></code>
327     is deprecated.</d:message>
328     </d:item>
329    
330     <d:item name="unicode discouraged"
331     modules="Charset::UnicodeChecker">
332     <d:message xml:lang="en">Use of character <code><var>{text}</var></code>
333     is discouraged.</d:message>
334     </d:item>
335    
336     <d:item name="unicode not preferred"
337     modules="Charset::UnicodeChecker">
338     <d:message xml:lang="en">Code point <code><var>{text}</var></code>
339     is not the preferred representation of that character.</d:message>
340     </d:item>
341    
342     <d:item name="unicode should"
343     modules="Charset::UnicodeChecker">
344     <d:message xml:lang="en">Character <code><var>{text}</var></code>
345     should not be used in many cases.</d:message>
346     </d:item>
347    
348 wakaba 1.16 </section>
349    
350 wakaba 1.2 <section id="html5-tokenize-error">
351     <h2>HTML5 Parse Errors in Tokenization Stage</h2>
352 wakaba 1.1
353 wakaba 1.29 <d:item name="bad attribute name"
354     modules="HTML::Parser">
355     <d:message xml:lang="en">Attribute name cannot contain characters
356     <code>"</code>, <code>'</code>, and <code>=</code>.</d:message>
357     </d:item>
358    
359     <d:item name="bad attribute value"
360     modules="HTML::Parser">
361     <d:message xml:lang="en">Attribute value must be quoted by <code>"</code>
362     or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or
363     <code>=</code> character.</d:message>
364 wakaba 1.41 <d:desc xml:lang="en">
365     <p>In an unquoted attribute value, a character <code>"</code>
366     (<code>U+0022</code> <code class="charname">QUOTATION MARK</code>),
367     <code>'</code> (<code>U+0026</code>
368     <code class="charname">APOSTROPHE</code>), or <code>=</code>
369     (<code>U+003D</code> <code class="charname">EQUAL SIGN</code>)
370     is contained. These characters are not allowed in unquoted attribute
371     values, since they are used to quote attribute values or to separate
372     attribute name and value.</p>
373    
374     <p>This error is also raised if one try to use empty attribute
375     value like <code class="html bad example">&lt;foo bar= baz=></code>;
376     in this example, <code class="html bad example">baz=</code> is
377     treated as an invalid attribute value for the attribute
378     <code class="html bad example">bar</code>, not as another attribute.</p>
379     </d:desc>
380 wakaba 1.29 </d:item>
381    
382 wakaba 1.3 <d:item name="bare ero"
383 wakaba 1.29 modules="HTML::Parser">
384 wakaba 1.3 <d:message xml:lang="en">The <code>&amp;</code> character must
385 wakaba 1.22 be escaped as <code class="html example">&amp;amp;</code>.</d:message>
386 wakaba 1.3 <d:desc xml:lang="en">
387 wakaba 1.15 <p>An <code>&amp;</code> character which
388 wakaba 1.3 is not part of any reference appears in the input stream.
389 wakaba 1.15 The document is non‐conforming.</p>
390 wakaba 1.3
391 wakaba 1.15 <p><em>Any <code>&amp;</code> character in URI (or IRI)
392     must be escaped as <code class="example">&amp;amp;</code>.</em></p>
393 wakaba 1.9
394 wakaba 1.3 <p>The <code>&amp;</code> character must
395     be the first character of a reference:
396 wakaba 1.15 <dl class="switch">
397 wakaba 1.3 <dt>Named entity reference</dt>
398     <dd><pre class="html example"><code>&amp;<var>entity-name</var>;</code></pre>
399     where <var>entity-name</var> is the name of the
400     character entity to be referenced.</dd>
401     <dt>Numeric character reference</dt>
402     <dd><pre class="html example"><code>&amp;#<var>d</var>;</code></pre>
403     where <var>d</var> is the decimal representation of
404     the code position of the character to be referenced.</dd>
405     <dt>Hexadecimal character reference</dt>
406     <dd><pre class="html example"><code>&amp;#x<var>h</var>;</code></pre>
407     where <var>h</var> is the hexadecimal representation
408     of the code position of the character to be referenced.</dd>
409     </dl>
410     </p>
411    
412     <p>To represent <code>&amp;</code> as a data character, use
413     named entity reference:
414     <pre class="html example"><code>&amp;amp;</code></pre>
415     </p>
416     </d:desc>
417     </d:item>
418    
419 wakaba 1.7 <d:item name="bare etago"
420 wakaba 1.29 modules="HTML::Parser">
421 wakaba 1.7 <d:message xml:lang="en">A <code>&lt;/</code> string is not followed
422     by a tag name.</d:message><!-- </ EOF -->
423     <d:desc xml:lang="en">
424     <p>There is a <code>&lt;</code> (<code>U+003C</code>
425     <code class="charname">LESS-THAN SIGN</code>) character
426     immediately followed by a <code>/</code> (<code>U+005F</code>
427     <code>SOLIDUS</code>) character, which is not part
428     of any end tag, in the input stream. The document
429     is non-conforming.</p>
430    
431     <p>The <code>&lt;/</code> sequence immediately followed
432     by an <abbr title="End of file pseudo-character">EOF</abbr> is
433     interpreted as a string data of <code>&lt;/</code>.</p>
434    
435     <p>The <code>&lt;/</code> sequence as string data must
436     be escaped as:
437     <pre class="html example"><code>&amp;lt;/</code></pre>
438     </p>
439     </d:desc>
440     </d:item>
441    
442 wakaba 1.4 <d:item name="bare stago"
443 wakaba 1.29 modules="HTML::Parser">
444 wakaba 1.4 <d:message xml:lang="en">A <code>&lt;</code> character is not followed
445     by tag name or by a <code>!</code> character.</d:message>
446     <d:desc xml:lang="en">
447 wakaba 1.6 <p>A <code>&lt;</code> (<code>U+003C</code>
448     <code class="charname">LESS-THAN SIGN</code>) character which is not part
449     of any markup appears in the input stream.</p>
450 wakaba 1.4
451     <p>The <code>&lt;</code> character as a data character must
452     be escaped as:
453 wakaba 1.6 <pre class="html example"><code>&amp;lt;</code></pre>
454 wakaba 1.4 </p>
455     </d:desc>
456     </d:item>
457    
458 wakaba 1.3 <d:item name="bare nero"
459 wakaba 1.29 modules="HTML::Parser">
460 wakaba 1.3 <d:message xml:lang="en">The decimal representation of the code position
461     of a character must be specified after <code>&amp;#</code>.</d:message>
462     <d:desc xml:lang="en">
463     <p>An <code>&amp;</code> (<code>U+0026</code>
464     <code class="charname">AMPERSAND</code>) character immediately
465     followed by a <code>#</code> (<code>U+0023</code>
466     <code>NUMBER SIGN</code>) character which
467     is not part of any reference appears in the input stream.
468     The document is non-conforming.</p>
469    
470     <p>The string <code>&amp;#</code> must be the first two characters
471     of a reference:
472 wakaba 1.15 <dl class="switch">
473 wakaba 1.3 <dt>Numeric character reference</dt>
474     <dd><pre class="html example"><code>&amp;#<var>d</var>;</code></pre>
475     where <var>d</var> is the decimal representation of
476     the code point of the character to be referenced.</dd>
477     <dt>Hexadecimal character reference</dt>
478     <dd><pre class="html example"><code>&amp;#x<var>h</var>;</code></pre>
479     where <var>h</var> is the hexadecimal representation
480     of the code point of the character to be referenced.</dd>
481     </dl>
482     </p>
483    
484     <p>To represent <code>&amp;#</code> as data characters, use
485 wakaba 1.6 a named entity reference for the <code>&amp;</code> character:
486 wakaba 1.3 <pre class="html example"><code>&amp;amp;#</code></pre>
487     </p>
488     </d:desc>
489     </d:item>
490    
491     <d:item name="bare hcro"
492 wakaba 1.29 modules="HTML::Parser">
493 wakaba 1.3 <d:message xml:lang="en">The hexadecimal representation of the code position
494     of a character must be specified after <code>&amp;#x</code>.</d:message>
495     <d:desc xml:lang="en">
496     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> which
497     is not part of any reference appears in the input stream.
498     The document is non-conforming.</p>
499    
500     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> must
501     be the first three characters of a hexadecimal reference:
502     <pre class="html example"><code>&amp;#x<var>h</var>;</code></pre>
503     where <var>h</var> is the hexadecimal representation
504     of the code point of the character to be referenced.</p>
505    
506     <p>To represent <code>&amp;#x</code> as data characters, use
507 wakaba 1.6 a named entity reference for the <code>&amp;</code> character:
508 wakaba 1.3 <pre class="html example"><code>&amp;amp;#x</code></pre>
509     </p>
510     </d:desc>
511     </d:item>
512    
513 wakaba 1.9 <d:item name="bogus comment"
514 wakaba 1.29 modules="HTML::Parser">
515 wakaba 1.9 <d:message xml:lang="en">String <code>&lt;!</code> is not followed
516     by <code>--</code>.</d:message>
517     <d:desc xml:lang="en">
518     <p>There is a <code>&lt;</code> (<code>U+003C</code>
519     <code class="charname">LESS-THAN SIGN</code>) character
520     followed by a <code>!</code> (<code>U+0021</code>
521     <code class="charname">EXCLAMATION MARK</code>) character,
522     which is not followed by a <code>--</code> or
523     <code>!DOCTYPE</code>. The document is non-conforming.</p>
524    
525     <dl class="switch">
526     <dt>Comments</dt>
527 wakaba 1.15 <dd>In HTML document, comments must be introduced by
528     <code class="example">&lt;!--</code> (<code>&lt;!</code>
529     <em>immediately</em> followed
530 wakaba 1.9 by <em>two</em> <code>-</code>s) and must be terminated by
531 wakaba 1.15 <code class="example">--></code>.
532     Strings <code>&lt;!</code> not followed
533 wakaba 1.9 by <code>--</code> and <code>&lt;!-</code> not followed by
534     <code>-</code> are not valid open delimiters for comments.</dd>
535     <dt>Marked sections, including <code>CDATA</code> sections</dt>
536 wakaba 1.15 <dd>Marked sections are not allowed in HTML document.</dd>
537 wakaba 1.9 <dt>Markup declarations</dt>
538 wakaba 1.15 <dd>Markup declarations, except for <code>DOCTYPE</code>
539     and comment declarations, are not allowed in HTML document.</dd>
540 wakaba 1.9 <dt>String <code>&lt;!</code></dt>
541     <dd>String <code>&lt;!</code> must be escaped as
542 wakaba 1.15 <code class="example">&amp;lt;!</code>.</dd>
543 wakaba 1.9 </dl>
544     </d:desc>
545     </d:item>
546    
547 wakaba 1.7 <d:item name="bogus end tag"
548 wakaba 1.29 modules="HTML::Parser">
549 wakaba 1.9 <d:message xml:lang="en">String <code>&lt;/</code> is not followed
550     by tag name.</d:message><!-- </ non-name-start-char-non-EOF -->
551 wakaba 1.7 <d:desc xml:lang="en">
552     <p>There is a <code>&lt;</code> (<code>U+003C</code>
553     <code class="charname">LESS-THAN SIGN</code>) character
554     immediately followed by a <code>/</code> (<code>U+005F</code>
555     <code>SOLIDUS</code>) character, which is not part
556     of any end tag, in the input stream. The document
557     is non-conforming.</p>
558    
559     <p>The <code>&lt;/</code> sequence not followed by a
560     tag name is parsed as an opening of bogus comment.</p>
561    
562     <p>The <code>&lt;/</code> sequence as string data must
563     be escaped as:
564     <pre class="html example"><code>&amp;lt;/</code></pre>
565     </p>
566     </d:desc>
567     </d:item>
568    
569 wakaba 1.29 <d:item name="C1 character reference"
570     modules="HTML::Parser">
571     <d:message xml:lang="en">Character reference to
572     <code><var>{text}</var></code> is not allowed.</d:message>
573     </d:item>
574    
575     <d:item name="CR character reference"
576     modules="HTML::Parser">
577     <d:message xml:lang="en">Character reference to
578     <code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>)
579     is not allowed.</d:message>
580     </d:item>
581    
582 wakaba 1.4 <d:item name="dash in comment"
583 wakaba 1.29 modules="HTML::Parser">
584 wakaba 1.4 <d:message xml:lang="en">There is a <code>--</code> sequence
585     in a comment.</d:message>
586     <d:desc xml:lang="en">
587     <p>There is a <code>-</code> (<code>U+002D</code>
588     <code class="charname">HYPHEN-MINUS</code>) character
589     at the end of the comment or a <code>--</code> sequence
590     in the comment. The document is non-conforming.</p>
591    
592     <p>Comments cannot contain a string <code>--</code>, as in XML.
593     Unlike SGML, there cannot be more than one comments
594     (where <i>comment</i> is an SGML term) in the comment
595     declaration.</p>
596     </d:desc>
597     </d:item>
598    
599 wakaba 1.1 <d:item name="duplicate attribute"
600 wakaba 1.29 modules="HTML::Parser">
601 wakaba 1.6 <d:message xml:lang="en">There are two attributes with name
602 wakaba 1.29 <code><var>{text}</var></code>.</d:message>
603 wakaba 1.1 <d:desc xml:lang="en">
604 wakaba 1.3 <p>There are more than one attributes with the same
605     name in a tag. The document is non-conforming.</p>
606 wakaba 1.1
607     <p>The <code>motion</code> attribute is not part of the HTML standard.
608     Use <code>img</code> element with animation GIF instead.</p>
609     </d:desc>
610     </d:item>
611    
612 wakaba 1.29 <d:item name="empty start tag"
613     modules="HTML::Parser">
614     <d:message xml:lang="en">Empty start tag (<code>&lt;></code>) is not
615     allowed.</d:message>
616     </d:item>
617    
618     <d:item name="empty end tag"
619     modules="HTML::Parser">
620     <d:message xml:lang="en">Empty end tag (<code>&lt;/></code>) is not
621     allowed.</d:message>
622     </d:item>
623    
624     <d:item name="end tag attribute"
625     modules="HTML::Parser">
626     <d:message xml:lang="en">End tag cannot have attributes.</d:message>
627 wakaba 1.41 <d:message xml:lang="ja">終了タグに属性が指定されています。</d:message>
628     </d:item>
629    
630     <d:item name="empty unquoted attribute value"
631     modules="HTML::Parser">
632     <d:message xml:lang="en">Attribute value is not specified.</d:message>
633     <d:message xml:lang="ja">属性値が指定されていません。</d:message>
634     <d:desc xml:lang="en">
635     <p>The attribute value is not specified after the <code>=</code>
636     (<code>U+003C</code> <code class="charname">EQUAL SIGN</code>)
637     character.</p>
638    
639     <p>When an attribute value is empty, the <code>=</code> character after
640     the attribute name must be specified as:</p>
641    
642     <p><code class="html example">&lt;foo bar></code></p>
643    
644     <p>Instead, quotation marks can be used to explicitly represent that
645     the attribute value is empty, as:</p>
646    
647     <p><code class="html example">&lt;foo bar=""></code></p>
648    
649     <p>... or like:</p>
650    
651     <p><code class="html example">&lt;foo bar=''></code></p>
652     </d:desc>
653 wakaba 1.29 </d:item>
654    
655     <d:item name="invalid character reference"
656     modules="HTML::Parser">
657     <d:message xml:lang="en">Character reference to
658     <code><var>{text}</var></code> is not allowed.</d:message>
659     </d:item>
660    
661 wakaba 1.1 <d:item name="nestc"
662 wakaba 1.29 modules="HTML::Parser">
663 wakaba 1.10 <d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be
664 wakaba 1.1 used for this element.</d:message>
665     <d:desc xml:lang="en">
666 wakaba 1.10 <p>Polytheistic slash (<code>/></code>) must not be used
667 wakaba 1.3 for the element. The document is non-conforming.</p>
668    
669 wakaba 1.10 <p>The polytheistic slash can only be
670 wakaba 1.1 used for <code>base</code>, <code>link</code>, <code>meta</code>,
671     <code>hr</code>, <code>br</code>, <code>img</code>,
672     <code>embed</code>, <code>param</code>, <code>area</code>,
673 wakaba 1.3 <code>col</code>, and <code>input</code> elements.</p>
674 wakaba 1.1
675 wakaba 1.12 <dl class="switch">
676 wakaba 1.9 <dt><code>&lt;script/></code></dt>
677 wakaba 1.10 <dd><p>The polytheistic slash cannot be used for <code>script</code>
678 wakaba 1.9 element. Even for an empty <code>script</code> element,
679 wakaba 1.15 there must be an explicit end tag
680     <code class="html example">&lt;/script></code>.</p>
681 wakaba 1.9
682     <p><strong>NOTE</strong>: Though some user agents interpret
683 wakaba 1.10 polytheistic slash for <code>script</code> element as the
684 wakaba 1.9 closing of the element, such usage is not allowed under
685     the current standard.</p></dd>
686     <dt><code>&lt;basefont/></code>, <code>&lt;bgsound/></code>,
687     <code>&lt;frame/></code>, <code>&lt;keygen/></code>,
688     <code>&lt;spacer/></code>, <code>&lt;wbr/></code></dt>
689     <dd>These elements are themselves non-conforming.</dd>
690     <!-- isindex, image -->
691     <dt><code>&lt;command/></code>, <code>&lt;event-source/></code>,
692 wakaba 1.12 <code>&lt;nest/></code>, or <code>&lt;source/></code></dt>
693 wakaba 1.9 <dd>Future revision of HTML5 parsing algorithm is expected
694 wakaba 1.10 to allow polytheistic slash for these elements.</dd>
695 wakaba 1.9 <dt><code>&lt;a/></code>, <code>&lt;p/></code></dt>
696     <dd>These elements are not always empty and therefore
697 wakaba 1.15 polytheistic slash is not allowed. Use explicit end tag
698     to represent empty element as:
699     <pre class="example html"><code>&lt;p>&lt;/p></code></pre>
700     </dd>
701 wakaba 1.9 </dl>
702    
703 wakaba 1.10 <p>Note that, unlike in XML, the polytheistic slash has
704 wakaba 1.1 no effect in HTML.</p>
705     </d:desc>
706     </d:item>
707    
708 wakaba 1.29 <d:item name="no DOCTYPE name"
709     modules="HTML::Parser">
710     <d:message xml:lang="en">After the string <code>&lt;!DOCTYPE </code>, the
711     document type name must be specified.</d:message>
712     </d:item>
713    
714     <d:item name="no PUBLIC literal"
715     modules="HTML::Parser">
716     <d:message xml:lang="en">After the keyword <code>PUBLIC</code>, no
717     oublic identifier is specified.</d:message>
718     </d:item>
719    
720     <d:item name="no refc"
721     modules="HTML::Parser">
722     <d:message xml:lang="en">Character reference must be closed by a
723     <code>;</code> character.</d:message>
724     </d:item>
725    
726     <d:item name="no space before DOCTYPE name"
727     modules="HTML::Parser">
728     <d:message xml:lang="en">After the string <code>&lt;!DOCTYPE</code>, there
729     must be at least a white space character before the document type
730     name.</d:message>
731     </d:item>
732    
733     <d:item name="no space between attributes"
734     modules="HTML::Parser">
735     <d:message xml:lang="en">Attributes must be separeted by at least a
736     white space character.</d:message>
737     </d:item>
738    
739     <d:item name="no SYSTEM literal"
740     modules="HTML::Parser">
741     <d:message xml:lang="en">After the keyword <code>SYSTEM</code>, no
742     system identifier is specified.</d:message>
743     </d:item>
744 wakaba 1.5
745     <d:item name="pio"
746 wakaba 1.29 modules="HTML::Parser">
747 wakaba 1.5 <d:message xml:lang="en">Processing instruction
748 wakaba 1.29 (<code>&lt;?<var>...</var>></code>) is not allowed in HTML
749     document.</d:message>
750 wakaba 1.5 <d:desc xml:lang="en">
751     <p>Processing instructions (<code>&lt;?<var>...</var>?></code>),
752     including XML declaration (<code>&lt;?xml <var>...</var>?></code>)
753     and XML style sheet <abbr title="processing instruction">PI</abbr>
754 wakaba 1.9 (<code>&lt;?xml-stylesheet <var>...</var>?></code>), are not allowed
755 wakaba 1.5 in the HTML syntax. The document is non-conforming.</p>
756    
757 wakaba 1.12 <dl class="switch">
758     <dt><code>&lt;?xbl?></code> (<abbr>XBL</abbr> Association)</dt>
759     <dd>An <abbr>XBL</abbr> binding cannot be associated by
760     <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>
761     document. Use <code>binding</code> property in <abbr>CSS</abbr>
762 wakaba 1.15 style sheet as:
763     <pre class="html example"><code>&lt;style>
764     p {
765     binding: url(binding.xbl);
766     }
767     &lt;/style></code></pre>
768     </dd>
769 wakaba 1.9 <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
770     <dd>XML declaration is unnecessary for HTML documents.</dd>
771     <dt><code>&lt;?xml-stylesheet?></code> (XML style sheet
772 wakaba 1.12 <abbr title="processing instruction">PI</abbr>)</dt>
773 wakaba 1.9 <dd>Use HTML <code>link</code> element with <code>rel</code>
774     attribute set to <code>stylesheet</code> (or,
775     <code>alternate stylesheet</code> for an alternate style
776 wakaba 1.15 sheet).
777     <pre class="example html"><code>&lt;link rel=stylesheet href="path/to/stylesheet.css"></code></pre>
778     </dd>
779 wakaba 1.12 <dt><code>&lt;?php?&gt;</code> or
780     <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
781     (<abbr>PHP</abbr> code)</dt>
782 wakaba 1.9 <dd>The conformance checker does <em>not</em> support
783     checking for PHP source documents.</dd>
784     <dt>Other processing instructions</dt>
785     <dd>Processing instructions cannot be inserted in an HTML
786     document. Use XML document or insert
787     <code>ProcessingInstruction</code> node by scripting.</dd>
788     </dl>
789 wakaba 1.5
790     <p>Web browsers will parse processing instructions as bogus
791     comments. Some legacy Web browsers, such as IE:mac and
792 wakaba 1.9 some mobile Web browsers, will display processing instructions
793 wakaba 1.5 as string.</p>
794     </d:desc>
795     </d:item>
796    
797 wakaba 1.29 <d:item name="string after DOCTYPE name"
798     modules="HTML::Parser">
799     <d:message xml:lang="en">There is a bogus string after the document type
800     name.</d:message>
801     </d:item>
802    
803     <d:item name="string after PUBLIC"
804     modules="HTML::Parser">
805     <d:message xml:lang="en">There is a bogus string after the keyword
806     <code>PUBLIC</code>.</d:message>
807     </d:item>
808    
809     <d:item name="string after PUBLIC literal"
810     modules="HTML::Parser">
811     <d:message xml:lang="en">There is a bogus string after the public
812     identifier.</d:message>
813     </d:item>
814    
815     <d:item name="string after SYSTEM"
816     modules="HTML::Parser">
817     <d:message xml:lang="en">There is a bogus string after the keyword
818     <code>SYSTEM</code>.</d:message>
819     </d:item>
820    
821     <d:item name="string after SYSTEM literal"
822     modules="HTML::Parser">
823     <d:message xml:lang="en">There is a bogus string after the system
824     identifier.</d:message>
825     </d:item>
826    
827     <d:item name="unclosed attribute value"
828     modules="HTML::Parser">
829     <d:message xml:lang="en">Attribute value is not closed by a quotation
830     mark.</d:message>
831     </d:item>
832    
833     <d:item name="unclosed comment"
834     modules="HTML::Parser">
835     <d:message xml:lang="en">Comment is not closed by a string
836     <code>--></code>.</d:message>
837     </d:item>
838    
839     <d:item name="unclosed DOCTYPE"
840     modules="HTML::Parser">
841     <d:message xml:lang="en">The <code>DOCTYPE</code> is not closed by a
842     <code>></code> character.</d:message>
843     </d:item>
844    
845     <d:item name="unclosed PUBLIC literal"
846     modules="HTML::Parser">
847     <d:message xml:lang="en">The public identifier literal is not closed by a
848     quotation mark.</d:message>
849     </d:item>
850    
851     <d:item name="unclosed SYSTEM literal"
852     modules="HTML::Parser">
853     <d:message xml:lang="en">The system identifier literal is not closed by a
854     quotation mark.</d:message>
855     </d:item>
856    
857     <d:item name="unclosed tag"
858     modules="HTML::Parser">
859     <d:message xml:lang="en">Tag is not closed by a <code>></code>
860     character.</d:message>
861     </d:item>
862    
863 wakaba 1.1 </section>
864    
865 wakaba 1.2 <section id="html5-parse-errors">
866     <h2>HTML5 Parse Errors in Tree Construction Stage</h2>
867    
868 wakaba 1.42 <d:item name="after after frameset"
869     modules="HTML::Parser">
870     <d:message xml:lang="en">There is a start tag
871     <code>&lt;<var>{text}</var>></code> is after the <code>html</code> element
872     is closed.</d:message>
873     <d:message xml:lang="ja"><code>html</code> 要素が閉じられた後に開始タグ
874     <code>&lt;<var>{text}</var>></code> があります。</d:message>
875     </d:item>
876    
877     <d:item name="after after frameset:/"
878     modules="HTML::Parser">
879     <d:message xml:lang="en">There is an end tag
880     <code>&lt;/<var>{text}</var>></code> is after the <code>html</code> element
881     is closed.</d:message>
882     <d:message xml:lang="ja"><code>html</code> 要素が閉じられた後に終了タグ
883     <code>&lt;/<var>{text}</var>></code> があります。</d:message>
884     </d:item>
885    
886 wakaba 1.29 <d:item name="after body"
887     modules="HTML::Parser">
888     <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
889     not allowed after the <code>body</code> is closed.</d:message>
890     </d:item>
891    
892     <d:item name="after body:/"
893     modules="HTML::Parser">
894     <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
895     not allowed after the <code>body</code> is closed.</d:message>
896     </d:item>
897    
898     <d:item name="after body:#text"
899     modules="HTML::Parser">
900     <d:message xml:lang="en">Non‐white‐space characters are not allowed
901     after the <code>body</code> is closed.</d:message>
902     </d:item>
903    
904     <d:item name="after frameset"
905     modules="HTML::Parser">
906     <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
907     not allowed after the <code>frameset</code> is closed.</d:message>
908     </d:item>
909    
910     <d:item name="after frameset:/"
911     modules="HTML::Parser">
912     <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
913     not allowed after the <code>frameset</code> is closed.</d:message>
914     </d:item>
915    
916     <d:item name="after frameset:#text"
917     modules="HTML::Parser">
918     <d:message xml:lang="en">Non‐white‐space characters are not allowed
919     after the <code>frame</code> is closed.</d:message>
920     </d:item>
921    
922 wakaba 1.2 <d:item name="after head"
923 wakaba 1.39 modules="HTML::Parser">
924 wakaba 1.29 <d:message xml:lang="en">The <code><var>{text}</var></code> element cannot be
925     inserted between <code>head</code> and <code>body</code>
926     elements.</d:message>
927 wakaba 1.2 <d:desc xml:lang="en">
928 wakaba 1.3 <p>A start tag appears after the <code>head</code> element is closed
929 wakaba 1.2 but before the <code>body</code> element is opened.
930     The document is non-conforming.</p>
931     </d:desc>
932     </d:item>
933    
934 wakaba 1.29 <d:item name="after html"
935     modules="HTML::Parser">
936     <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
937     not allowed after the <code>html</code> is closed.</d:message>
938 wakaba 1.39 <d:desc xml:lang="en">
939     <p>The start tag of an element appears after the
940     <code>body</code> element has been closed. The document is
941     non-conforming.</p>
942    
943     <p>Any content of the document other than <code>head</code>
944     contents and comments must be put into the <code>body</code>
945     element.</p>
946     </d:desc>
947 wakaba 1.29 </d:item>
948    
949     <d:item name="after html:/"
950     modules="HTML::Parser">
951     <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
952     not allowed after the <code>html</code> is closed.</d:message>
953 wakaba 1.39 <d:desc xml:lang="en">
954     <p>The end tag of an element appears after the
955     <code>body</code> element has been closed. The document is
956     non-conforming.</p>
957    
958     <p>Any content of the document other than <code>head</code>
959     contents and comments must be put into the <code>body</code>
960     element.</p>
961     </d:desc>
962 wakaba 1.29 </d:item>
963    
964     <d:item name="after html:#text"
965     modules="HTML::Parser">
966     <d:message xml:lang="en">Non‐white‐space characters are not allowed
967     after the <code>html</code> is closed.</d:message>
968     </d:item>
969    
970     <d:item name="image"
971     modules="HTML::Parser">
972     <d:message xml:lang="en">The <code>image</code> element is
973     obsolete.</d:message>
974 wakaba 1.4 </d:item>
975    
976 wakaba 1.5 <d:item name="in a:a"
977 wakaba 1.29 modules="HTML::Parser">
978 wakaba 1.5 <d:message xml:lang="en">Anchor cannot be nested.</d:message>
979     <d:desc xml:lang="en">
980     <p>HTML <code>a</code> elements cannot be nested.
981     The document is non-conforming.</p>
982    
983     <p>In the HTML syntax, a start tag of the <code>a</code>
984     implies the end tag of any opening <code>a</code> element.</p>
985     </d:desc>
986     </d:item>
987    
988 wakaba 1.4 <d:item name="in body"
989 wakaba 1.29 modules="HTML::Parser">
990     <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
991 wakaba 1.9 is not allowed in the <code>body</code> element.</d:message>
992 wakaba 1.4 <d:desc xml:lang="en">
993     <p>The start or end tag of an element, which
994     cannot be a descendant of <code>body</code> element, appears
995     in the input stream while the <code>body</code> element has been opened.
996     The document is non-conforming.</p>
997     </d:desc>
998     </d:item>
999    
1000 wakaba 1.29 <d:item name="in body:#eof"
1001     modules="HTML::Parser">
1002     <d:message xml:lang="en">Some element is not closed before the end of
1003     file.</d:message>
1004     </d:item>
1005    
1006     <d:item name="in button:button"
1007     modules="HTML::Parser">
1008     <d:message xml:lang="en">The <code>button</code> element cannot be
1009     nested.</d:message>
1010     </d:item>
1011    
1012     <d:item name="in CDATA:#eof"
1013     modules="HTML::Parser">
1014     <d:message xml:lang="en">Element is not closed before the end of
1015     file.</d:message>
1016     </d:item>
1017    
1018     <d:item name="in form:form"
1019     modules="HTML::Parser">
1020     <d:message xml:lang="en">Start tag <code>&lt;form></code> is
1021     not allowed in a <code>form</code> element.</d:message>
1022     </d:item>
1023    
1024     <d:item name="in frameset"
1025     modules="HTML::Parser">
1026     <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
1027     not allowed in a <code>framset</code> element.</d:message>
1028     </d:item>
1029    
1030     <d:item name="in frameset:/"
1031     modules="HTML::Parser">
1032     <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
1033     not allowed in a <code>frameset</code> element.</d:message>
1034     </d:item>
1035    
1036     <d:item name="in frameset:#text"
1037     modules="HTML::Parser">
1038     <d:message xml:lang="en">Non‐white‐space characters are not allowed
1039     in a <code>frameset</code> element.</d:message>
1040     </d:item>
1041    
1042 wakaba 1.5 <d:item name="in head:head"
1043 wakaba 1.29 modules="HTML::Parser">
1044 wakaba 1.9 <d:message xml:lang="en">Start tag <code>&lt;head&gt;</code>
1045 wakaba 1.5 is not allowed in the <code>head</code> element.</d:message>
1046     <d:desc xml:lang="en">
1047     <p>There is a start tag <code>&lt;head></code> in the
1048     <code>&lt;head></code> element. The document is non-conforming.</p>
1049    
1050     <p>In an HTML document there must not be more than
1051     one <code>head</code> element, therefore no more than one
1052     start tag <code>&lt;head></code> can appear in the input stream.</p>
1053     </d:desc>
1054     </d:item>
1055    
1056 wakaba 1.29 <d:item name="in html:#DOCTYPE"
1057     modules="HTML::Parser">
1058     <d:message xml:lang="en">A <code>DOCTYPE</code> appears after any
1059     element or data character has been seen.</d:message>
1060     <!-- <!DOCTYPE HTML><!DOCTYPE HTML> -->
1061     <!-- <html><!DOCTYPE HTML> -->
1062     <d:desc xml:lang="en">
1063     <p>A <code>DOCTYPE</code> appears after any element or data character
1064     has been seen. The document is non-conforming.</p>
1065    
1066     <p>The <code>DOCTYPE</code> must be placed before any
1067     tag, reference, or data character. Only white space characters
1068     and comments can be inserted before the <code>DOCTYPE</code>.</p>
1069     </d:desc>
1070     </d:item>
1071    
1072     <d:item name="in nobr:nobr"
1073     modules="HTML::Parser">
1074     <d:message xml:lang="en">The <code>nobr</code> element cannot be
1075     nested.</d:message>
1076     </d:item>
1077    
1078     <d:item name="in noscript"
1079     modules="HTML::Parser">
1080     <d:message xml:lang="en">The <code><var>{text}</var></code> element is not
1081     allowed in a <code>noscript</code> element in the
1082     <code>head</code> element.</d:message>
1083     </d:item>
1084    
1085     <d:item name="in noscript:/"
1086     modules="HTML::Parser">
1087     <d:message xml:lang="en">An end tag <code>&lt;/<var>{text}</var>></code>
1088     appers before the <code>noscript</code> element is closed.</d:message>
1089     </d:item>
1090    
1091     <d:item name="in noscript:#eof"
1092     modules="HTML::Parser">
1093     <d:message xml:lang="en">A <code>noscript</code> element is not closed
1094     before the end of file.</d:message>
1095     </d:item>
1096    
1097     <d:item name="in noscript:#text"
1098     modules="HTML::Parser">
1099     <d:message xml:lang="en">Non‐white‐space characters are not allowed
1100     in a <code>noscript</code> element in the <code>head</code>
1101     element.</d:message>
1102     </d:item>
1103    
1104     <d:item name="in PCDATA:#eof"
1105     modules="HTML::Parser">
1106     <d:message xml:lang="en">Element is not closed before the end of
1107     file.</d:message>
1108     </d:item>
1109    
1110     <d:item name="in select"
1111     modules="HTML::Parser">
1112     <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
1113     is not allowed in a <code>select</code> element.</d:message>
1114     </d:item>
1115    
1116     <d:item name="in select:/"
1117     modules="HTML::Parser">
1118     <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>&gt;</code>
1119     is not allowed in a <code>select</code> element.</d:message>
1120     </d:item>
1121    
1122 wakaba 1.3 <d:item name="in table"
1123 wakaba 1.29 modules="HTML::Parser">
1124     <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
1125 wakaba 1.5 is not allowed in a <code>table</code> element.</d:message>
1126 wakaba 1.3 <d:desc xml:lang="en">
1127 wakaba 1.4 <p>The start or end tag of an element, which
1128     cannot be a child of <code>table</code> element, appears
1129     in the input stream while the <code>table</code> element has been opened
1130     but no other element has been opened. The document is non-conforming.</p>
1131 wakaba 1.3
1132     <p>In <code>table</code>, only table related elements
1133     are allowed; any other element must be contained in
1134     <code>td</code> or <code>th</code> element to form
1135     a part of the table, or <code>caption</code> element to create
1136     a table caption.</p>
1137     </d:desc>
1138     </d:item>
1139    
1140 wakaba 1.29 <d:item name="in table:/"
1141     modules="HTML::Parser">
1142     <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>&gt;</code>
1143     is not allowed in a <code>table</code> element.</d:message>
1144     </d:item>
1145    
1146     <d:item name="in table:#text"
1147     modules="HTML::Parser">
1148     <d:message xml:lang="en">Non‐white‐space character is not allowed within
1149     the <code>table</code> element, outside of the caption and cells.</d:message>
1150 wakaba 1.3 <d:desc xml:lang="en">
1151 wakaba 1.29 <p>A non‐white‐space character appears in <code>table</code>.
1152     The document is non-conforming.</p>
1153 wakaba 1.3
1154     <p>In <code>table</code>, only table related elements
1155     are allowed; any other element and data character must be contained in
1156     <code>td</code> or <code>th</code> element to form
1157     a part of the table, or <code>caption</code> element to create
1158     a table caption.</p>
1159     </d:desc>
1160     </d:item>
1161    
1162 wakaba 1.29 <d:item name="isindex"
1163     modules="HTML::Parser">
1164     <d:message xml:lang="en">The <code>isindex</code> element is
1165     obsolete.</d:message>
1166     </d:item>
1167    
1168 wakaba 1.3 <d:item name="missing start tag:tr"
1169 wakaba 1.29 modules="HTML::Parser">
1170 wakaba 1.3 <d:message xml:lang="en">Start tag of <code>tr</code>
1171     element is missing.</d:message>
1172     <d:desc>
1173     <p>Start tag of a <code>tr</code> element, which is <em>not</em>
1174     optional, is missing. The document is non-conforming.</p>
1175    
1176     <p>In a table section, a <code>&lt;tr></code> start tag
1177     must occur before any <code>&lt;td></code> or
1178     <code>&lt;th></code> start tag. Though the HTML5 parser
1179     implies the <code>&lt;tr></code> start tag before
1180     these start tags, it must be explicitly specified.</p>
1181     </d:desc>
1182     </d:item>
1183    
1184 wakaba 1.2 <d:item name="no DOCTYPE"
1185 wakaba 1.29 class="parse-error"
1186     modules="HTML::Parser">
1187 wakaba 1.6 <d:message xml:lang="en">This document does not start with a
1188 wakaba 1.3 <code>DOCTYPE</code>.</d:message>
1189     <d:desc>
1190     <p>The document does not start with a <code>DOCTYPE</code>.
1191     The document is non-conforming.</p>
1192    
1193     <p>An HTML document must start by a <code>DOCTYPE</code>:
1194     <pre class="html example"><code>&lt;!DOCTYPE HTML></code></pre>
1195     </p>
1196    
1197     <p>Only white space characters and comments are allowed
1198 wakaba 1.12 before the <code>DOCTYPE</code>. XML declaration is <em>not</em>
1199     allowed in HTML document.</p>
1200 wakaba 1.3 </d:desc>
1201 wakaba 1.2 </d:item>
1202    
1203     <d:item name="not closed"
1204 wakaba 1.29 class="parse-error"
1205     modules="HTML::Parser">
1206     <d:message xml:lang="en">Element <code><var>{text}</var></code> is not
1207 wakaba 1.2 closed.</d:message>
1208 wakaba 1.3 <d:desc>
1209     <p>End tag of an element is not found before, for example,
1210     an end tag of another element appears or
1211     the end of the document. The document is non-conforming.</p>
1212 wakaba 1.10
1213 wakaba 1.11 <p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>,
1214     <code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>,
1215 wakaba 1.10 <code>ol</code>, <code>option</code>, <code>optgroup</code>,
1216 wakaba 1.11 <code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>,
1217     <code>tbody</code>, <code>td</code>, <code>tfoot</code>,
1218     <code>th</code>, <code>thead</code>, <code>tr</code>,
1219     <code>ul</code> end tag can be omitted in HTML documents.
1220 wakaba 1.10 For any element except for void element, there must be an explicit
1221     end tag.</p>
1222    
1223 wakaba 1.12 <dl class="switch">
1224     <dt>HTML <code>canvas</code> element</dt>
1225     <dd>Though the element is void in earlier versions of Safari,
1226     the <code>canvas</code> element is <em>no</em> longer
1227     defined as empty. There must be an end tag
1228 wakaba 1.15 <code class="html example">&lt;/canvas></code>.</dd>
1229 wakaba 1.12 </dl>
1230    
1231 wakaba 1.10 <p>Note that misnesting tags, such as
1232     <code class="bad example">&lt;a>&lt;b>&lt;/a>&lt;/b></code>, are not
1233     allowed and they also cause this error.</p>
1234 wakaba 1.3 </d:desc>
1235 wakaba 1.2 </d:item>
1236    
1237 wakaba 1.6 <d:item name="not first start tag"
1238 wakaba 1.29 class="parse-error"
1239     modules="HTML::Parser">
1240 wakaba 1.6 <d:message xml:lang="en">This <code>&lt;html></code> tag is not
1241     the first start tag.</d:message>
1242     <d:desc>
1243     <p>There is a start tag of the <code>html</code> element
1244     that it not the first start tag in the input stream.
1245     The document is non-conforming.</p>
1246    
1247     <p>In an HTML document, there cannot be more than one
1248     <code>html</code> element and therefore there cannot be
1249     more than one <code>&lt;html></code> tag. In addition,
1250     nothing can be placed before the <code>&lt;html></code> tag
1251     except a <code>DOCTYPE</code>, white space characters,
1252     and comments.</p>
1253     </d:desc>
1254     </d:item>
1255    
1256 wakaba 1.2 <d:item name="not HTML5"
1257 wakaba 1.29 class="parse-error"
1258     modules="HTML::Parser">
1259 wakaba 1.2 <d:message xml:lang="en">This document is written in an old version of
1260     HTML.</d:message>
1261 wakaba 1.3 <d:desc xml:lang="en">
1262     <p>The document contains a <code>DOCTYPE</code> declaration
1263 wakaba 1.6 that is different from HTML5 <code>DOCTYPE</code> (i.e.
1264 wakaba 1.15 <code class="example html">&lt;!DOCTYPE HTML&gt;</code>).
1265     The document is non‐conforming.</p>
1266 wakaba 1.3
1267     <p>The document might or might not be conformant to
1268     some version of HTML. However, conformance to any HTML
1269     specification other than HTML5 provides for no practical
1270     convenience, since Web borwsers will parse any
1271     HTML document (roughly) as defined in HTML5.</p>
1272     </d:desc>
1273 wakaba 1.2 </d:item>
1274    
1275 wakaba 1.29 <d:item name="start tag not allowed"
1276     class="parse-error"
1277     modules="HTML::Parser">
1278     <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
1279     not allowed here.</d:message>
1280     </d:item>
1281    
1282 wakaba 1.2 <d:item name="unmatched end tag"
1283 wakaba 1.29 class="parse-error"
1284     modules="HTML::Parser">
1285     <d:message xml:lang="en">Element <code><var>{text}</var></code> is not
1286 wakaba 1.2 opened.</d:message>
1287 wakaba 1.4 <d:desc>
1288     <p>An end tag appears though no element with the same name
1289     has been opened. The document is non-conforming.</p>
1290    
1291     <p>For any end tag in HTML document, there must be a
1292     corresponding start tag.</p>
1293 wakaba 1.12
1294     <dl class="switch">
1295     <dt>HTML <code>base</code>, <code>basefont</code>,
1296     <code>bgsound</code>, <code>br</code>, <code>col</code>,
1297     <code>embed</code>, <code>frame</code>, <code>hr</code>,
1298     <code>image</code>, <code>img</code>, <code>input</code>,
1299     <code>isindex</code>, <code>link</code>, <code>meta</code>,
1300     <code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt>
1301     <dd>End tag is not allowed for these elements, since
1302     those content must always be empty. Remove end tag.</dd>
1303     <!-- keygen -->
1304     <!-- command, event-source, nest, source -->
1305     </dl>
1306 wakaba 1.4 </d:desc>
1307 wakaba 1.2 </d:item>
1308    
1309 wakaba 1.43 <d:item name="XSLT-compat"
1310     modules="HTML::Parser">
1311     <d:message xml:lang="en">The <code>DOCTYPE</code> legacy string is
1312     used.</d:message>
1313     <d:message xml:lang="ja"><code>DOCTYPE</code>
1314     遺物文字列が使われています。</d:message>
1315     <d:desc xml:lang="en">
1316     <p>The <code>DOCTYPE</code> with the <code>DOCTYPE</code> legacy
1317     string, i.e.
1318     <code class="html bad example">&lt;!DOCTYPE HTML PUBLIC "XSLT-compat"></code>
1319     is used.</p>
1320    
1321     <p>The <code>DOCTYPE</code> legacy string should not be used for documents
1322 wakaba 1.45 <em>not</em> generated from XSLT transformation process. It is allowed
1323     only to enable to use XSLT style sheets with the HTML output mode, which
1324     does not support generation of the <code>DOCTYPE</code> with no
1325     <code>PUBLIC</code>
1326 wakaba 1.43 identifier. For other purposes, the <code>DOCTYPE</code> legacy
1327     string, i.e. <code class="html bad example">PUBLIC "XSLT-compat"</code>,
1328     is useless and should not be used.</p>
1329     </d:desc>
1330     </d:item>
1331    
1332 wakaba 1.2 </section>
1333    
1334 wakaba 1.1 <section id="element-content-model-errors">
1335     <h2>Element Content Model Errors</h2>
1336    
1337 wakaba 1.30 <d:item name="basehref after URL attribute"
1338     modules="ContentChecker::HTML">
1339     <d:message xml:lang="en">The <code>base</code> element with the
1340     <code>href</code> attribute specified cannot be placed after
1341     any attribute with a URL.</d:message>
1342     </d:item>
1343    
1344     <d:item name="basetarget after hyperlink"
1345     modules="ContentChecker::HTML">
1346     <d:message xml:lang="en">The <code>base</code> element with the
1347     <code>target</code> attribute specified cannot be placed after
1348     any element that defines a hyperlink.</d:message>
1349     </d:item>
1350    
1351 wakaba 1.1 <d:item name="character not allowed"
1352 wakaba 1.32 modules="ContentChecker::HTML RDFXML">
1353 wakaba 1.1 <d:message xml:lang="en">Data character is not allowed in this
1354     context.</d:message>
1355     <d:desc xml:lang="en">
1356 wakaba 1.3 <p>A data character appears where it is not allowed in this
1357 wakaba 1.1 context. The document is non-conforming.</p>
1358    
1359     <p>Possible causes:
1360 wakaba 1.6 <ul>
1361     <li><p>A data character cannot be a child
1362     of certain sectioning elements such as <code>body</code>,
1363     <code>section</code>, and <code>blockquote</code>.</p>
1364    
1365     <p>Any inline-level content must be put
1366     in e.g. paragraph element such as <code>p</code>.</p></li>
1367     <li><p>Though some elements such as <code>div</code>,
1368     <code>li</code>, and <code>td</code> allow
1369     <em>either one</em> of block-level or inline-level content
1370     is allowed. If there is a block-level content,
1371     any inline-level content must be put
1372     in e.g. paragraph element such as <code>p</code>.</p></li>
1373     </ul>
1374 wakaba 1.1 </p>
1375     </d:desc>
1376     </d:item>
1377    
1378 wakaba 1.30 <d:item name="character not allowed:empty"
1379     modules="ContentChecker::HTML">
1380     <d:message xml:lang="en">Non‐white‐space characters are not allowed in
1381     an empty element.</d:message>
1382     </d:item>
1383    
1384 wakaba 1.31 <d:item name="character not allowed:atom|PersonConstruct"
1385     modules="ContentChecker::HTML">
1386     <d:message xml:lang="en">Non‐white‐space characters are not allowed in
1387     Person construct.</d:message>
1388     </d:item>
1389    
1390     <d:item name="character not allowed:atom|TextConstruct"
1391     modules="ContentChecker::HTML">
1392     <d:message xml:lang="en">Non‐white‐space characters are not allowed in
1393     Text construct.</d:message>
1394     </d:item>
1395    
1396 wakaba 1.1 <d:item name="child element missing"
1397 wakaba 1.31 modules="ContentChecker::HTML ContentChecker::Atom">
1398     <d:message xml:lang="en">There must be an element
1399     <code><var>{text}</var></code> as a child of this element.</d:message>
1400 wakaba 1.1 <d:desc xml:lang="en">
1401     <p>The content model of the element is so defined that it
1402     must contain a <code><var>$0</var></code> child element.
1403 wakaba 1.3 The document is non-conforming.</p>
1404 wakaba 1.1
1405 wakaba 1.12 <dl class="switch">
1406     <dt>HTML <code>head</code> element</dt>
1407     <dd>There must be a <code>title</code> child element.</dd>
1408     <dt>HTML <code>html</code> element</dt>
1409     <dd>There must be a <code>head</code> child element followed
1410     by a <code>body</code> element.</dd>
1411     <dt>HTML <code>tr</code> element</dt>
1412     <dd><a href="#child-element-missing:td%7Cth">There must be
1413     one or more <code>td</code> or <code>th</code> child element.</a></dd>
1414     </dl>
1415 wakaba 1.1 </d:desc>
1416     </d:item>
1417    
1418     <d:item name="child element missing:td|th"
1419     class="content-model-error">
1420     <d:message xml:lang="en">There must be a <code>td</code>
1421     or <code>th</code> element as a child of this element.</d:message>
1422     <d:desc xml:lang="en">
1423     <p>The <code>tr</code> element must contain at least one
1424 wakaba 1.3 <code>td</code> or <code>th</code> child element. The document
1425     is non-conforming.</p>
1426 wakaba 1.1 </d:desc>
1427     </d:item>
1428    
1429 wakaba 1.31 <d:item name="child element missing:atom"
1430     modules="ContentChecker::HTML">
1431     <d:message xml:lang="en">There must be an element
1432     <code><var>{text}</var></code> in the Atom namespace as a child of this
1433     element.</d:message>
1434     </d:item>
1435    
1436     <d:item name="child element missing:atom:link:alternate"
1437     modules="ContentChecker::HTML">
1438     <d:message xml:lang="en">There must be an Atom <code>link</code> element
1439     whose <code>rel</code> attribute is set to <code>alternate</code> as a
1440 wakaba 1.32 child of this element.</d:message>
1441 wakaba 1.31 </d:item>
1442    
1443     <d:item name="child element missing:atom:link:self"
1444     modules="ContentChecker::HTML">
1445     <d:message xml:lang="en">There should be an Atom <code>link</code> element
1446     whose <code>rel</code> attribute is set to <code>self</code> as a
1447 wakaba 1.32 child of this element.</d:message>
1448 wakaba 1.31 </d:item>
1449    
1450 wakaba 1.30 <d:item name="element missing:hn"
1451     modules="ContentChecker::HTML">
1452     <d:message xml:lang="en">There must be at least one
1453     <code>h<var>n</var></code> element descendant.</d:message>
1454     </d:item>
1455    
1456 wakaba 1.1 <d:item name="element not allowed"
1457 wakaba 1.32 modules="ContentChecker::HTML ContentChecker::Atom RDFXML">
1458 wakaba 1.1 <d:message xml:lang="en">This element is not allowed in this
1459     context.</d:message>
1460     <d:desc xml:lang="en">
1461 wakaba 1.3 <p>An element appears where it is not allowed. The document
1462 wakaba 1.1 is non-conforming.</p>
1463    
1464     <p>Possible causes:
1465 wakaba 1.6 <dl class="switch">
1466     <dt>If the element with the error is an inline-level element,
1467     such as <code>a</code>, <code>progress</code>, or <code>img</code></dt>
1468 wakaba 1.1 <dd><p>An inline-level element cannot be a child
1469     of certain sectioning elements such as <code>body</code>,
1470     <code>section</code>, and <code>blockquote</code>.</p>
1471    
1472     <p>Any inline-level content must be put
1473     in e.g. paragraph element such as <code>p</code>.</p></dd>
1474 wakaba 1.9 <dt>If it is a block-level elements, such as <code>aside</code>,
1475     <code>div</code>, <code>h<var>n</var></code>,
1476     <code>p</code>, or <code>section</code></dt>
1477     <dd><dl class="switch">
1478     <dt>If the parent element is <code>div</code>,
1479     <code>li</code>, <code>td</code>, or <code>th</code></dt>
1480     <!-- @@ TODO: more... -->
1481     <!-- @@ TODO: <p><ul><li><p> -->
1482     <dd><p>The parent element allows <em>either</em>
1483     block-level or inline-level content. If there is a
1484     block-level content, any inline-level content must be
1485     put in e.g. paragraph element such as <code>p</code>.</p>
1486     <p>For example, an HTML document fragment
1487 wakaba 1.15 <code class="html bad example">&lt;div>&lt;p>Hello!&lt;/p> World!&lt;/div></code>
1488 wakaba 1.9 is non-conforming, since a word <q>World!</q> does not belong
1489     to any paragraph. (If not part of any paragraph, what is
1490     it!?) A conforming example would be:
1491 wakaba 1.15 <pre class="html example"><code>&lt;div>&lt;p>Hello!&lt;/p> &lt;p>World!&lt;/p>&lt;/div></code></pre>
1492 wakaba 1.9 </p></dd>
1493     <dt>If the parent element does <em>not</em> allow
1494     block-level elements as content</dt>
1495     <dd>The element is not allowed to be inserted here.
1496     For example, a <code>div</code> element cannot be
1497     a child of an <code>h1</code> element.</dd>
1498     </dl></dd>
1499 wakaba 1.6 <dt>If the element with the error is a <code>noscript</code> element</dt>
1500     <dd>The <code>noscript</code> element is allowed only in the context
1501     where a block-level or inline-level content is expected
1502     and in the <code>head</code> element.
1503     It cannot be used in e.g. <code>ul</code>, <code>table</code>,
1504     or <code>select</code>.</dd>
1505 wakaba 1.8 <dt>If the element with the error is <code>blink</code>,
1506     <code>center</code>, or <code>marquee</code> element</dt>
1507     <dd>These elements are not part of the HTML standard.
1508     Use CSS for styling control.</dd>
1509 wakaba 1.9
1510 wakaba 1.11 <dt><code>button</code>, <code>datalist</code>,
1511     <code>fieldset</code>, <code>form</code>,
1512 wakaba 1.9 <code>input</code>, <code>label</code>,
1513     <code>optgroup</code>, <code>option</code>, <code>output</code>,
1514     <code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>,
1515     <code>textarea</code>, or <code>textarea</code> element</dt>
1516     <!-- rbc, rtc ? -->
1517     <dd>These elements are intentionally not supported by the conformance
1518     checker <em>yet</em>.</dd>
1519 wakaba 1.1 </dl>
1520     </p>
1521     </d:desc>
1522     </d:item>
1523    
1524 wakaba 1.30 <d:item name="element not allowed:area"
1525     modules="ContentChecker ContentChecker::HTML">
1526     <d:message xml:lang="en">An <code>area</code> element cannot be used
1527     outside of a <code>map</code> element.</d:message>
1528     </d:item>
1529    
1530     <d:item name="element not allowed:base"
1531     modules="ContentChecker ContentChecker::HTML">
1532     <d:message xml:lang="en">There is another <code>base</code>
1533     element.</d:message>
1534     </d:item>
1535    
1536     <d:item name="element not allowed:datatemplate"
1537     modules="ContentChecker ContentChecker::HTML">
1538     <d:message xml:lang="en">In a <code>datatemplate</code> element, only
1539     <code>rule</code> elements are allowed.</d:message>
1540     </d:item>
1541    
1542     <d:item name="element not allowed:details legend"
1543     modules="ContentChecker::HTML">
1544     <d:message xml:lang="en">In a <code>details</code> element, only at the
1545     beginning of the element a <code>lengend</code> element
1546     may be used.</d:message>
1547     </d:item>
1548    
1549     <d:item name="element not allowed:empty"
1550 wakaba 1.31 modules="ContentChecker::HTML ContentChecker::Atom">
1551 wakaba 1.30 <d:message xml:lang="en">Elements are not allowed in an empty
1552     element.</d:message>
1553     </d:item>
1554    
1555     <d:item name="element not allowed:figure legend"
1556     modules="ContentChecker::HTML">
1557     <d:message xml:lang="en">In a <code>figure</code> element, only at the
1558     beginning or only at the end of the element a <code>lengend</code> element
1559     may be used.</d:message>
1560     </d:item>
1561    
1562     <d:item name="element not allowed:flow"
1563     modules="ContentChecker::HTML">
1564     <d:message xml:lang="en">This element is not allowed where flow
1565     content is expected.</d:message>
1566     </d:item>
1567    
1568     <d:item name="element not allowed:flow style"
1569     modules="ContentChecker::HTML">
1570     <d:message xml:lang="en">A <code>style</code> element without
1571     <code>scoped</code> attribute is not allowed in this context.</d:message>
1572     </d:item>
1573    
1574     <d:item name="element not allowed:head noscript"
1575     modules="ContentChecker::HTML">
1576     <d:message xml:lang="en">This element is not allowed in a
1577     <code>noscript</code> element in the <code>head</code> element.</d:message>
1578     </d:item>
1579    
1580     <d:item name="element not allowed:head style"
1581     modules="ContentChecker::HTML">
1582     <d:message xml:lang="en">A <code>style</code> element with
1583     <code>scoped</code> attribute is not allowed in the <code>head</code>
1584     element.</d:message>
1585     </d:item>
1586    
1587     <d:item name="element not allowed:head title"
1588     modules="ContentChecker ContentChecker::HTML">
1589     <d:message xml:lang="en">There is another <code>title</code>
1590     element.</d:message>
1591     </d:item>
1592    
1593     <d:item name="element not allowed:minus"
1594     modules="ContentChecker ContentChecker::HTML">
1595     <d:message xml:lang="en">This element is not allowed in this
1596     context.</d:message>
1597     </d:item>
1598    
1599     <d:item name="element not allowed:meta charset"
1600     modules="ContentChecker::HTML">
1601 wakaba 1.42 <d:message xml:lang="en">The character encoding declaration is not the
1602     first child element in the <code>head</code> element.</d:message>
1603     <d:message xml:lang="ja">文字符号化宣言が <code>head</code>
1604     要素の最初の子要素ではありません。</d:message>
1605     <d:desc xml:lang="en">
1606     <p>The character encoding declaration
1607     (<code class="html example">&lt;meta charset="<var>...</var>"></code> or
1608     <code class="html example">&lt;meta http-equiv=Content-Type content="text/html; charset=<var>...</var>"></code>
1609     must be the first child element in the <code>head</code> element.</p>
1610    
1611     <p>The character encoding declaration have to occur near the beginning
1612     of the document to ensure that Web browsers can be determine the
1613     character encoding of the document.</p>
1614    
1615     <p>The <code>title</code> element and other metadata elements must
1616     appear after any character encoding declaration is processed.</p>
1617     </d:desc>
1618 wakaba 1.30 </d:item>
1619    
1620     <d:item name="element not allowed:metadata"
1621     modules="ContentChecker::HTML">
1622     <d:message xml:lang="en">This element is not allowed where metadata
1623     content is expected.</d:message>
1624     </d:item>
1625    
1626     <d:item name="element not allowed:phrasing"
1627     modules="ContentChecker::HTML">
1628     <d:message xml:lang="en">This element is not allowed where phrasing
1629     content is expected.</d:message>
1630     </d:item>
1631    
1632 wakaba 1.12 <d:item name="element not allowed:root"
1633 wakaba 1.30 modules="ContentChecker">
1634     <d:message xml:lang="en">This element is not allowed as the root
1635     element of a document.</d:message>
1636 wakaba 1.12 <d:desc xml:lang="en">
1637     <p>An element that is not allowed as the root element
1638     is used as the root element of the document. The document is
1639     non-conforming, as far as the conformance checker can tell.</p>
1640    
1641     <dl class="switch">
1642     <dt><code>html</code> element in an XHTML document</dt>
1643 wakaba 1.15 <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
1644     element must have an <code>xmlns</code> attribute as:
1645     <pre class="xml example"><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"></code></pre></p></dd>
1646 wakaba 1.12 <dt><code>rss</code> element</dt>
1647     <dd><p>The document is written in some version of RSS.</p>
1648     <p>The conformance checker does not support any version
1649     of RSS. Use Atom 1.0 for feed documents.</p></dd>
1650     <dt><code>feed</code> element</dt>
1651     <dd><p>The Atom <code>feed</code> element must be
1652 wakaba 1.15 in the <code>http://www.w3.org/2005/Atom</code>
1653     namespace as:
1654     <pre class="xml example"><code>&lt;feed xmlns="http://www.w3.org/2005/Atom"></code></pre>
1655     </p>
1656 wakaba 1.12 <p>The conformance checker does not support Atom 0.3.
1657     Use Atom 1.0 for feed documents.</p></dd>
1658     </dl>
1659     </d:desc>
1660     </d:item>
1661    
1662 wakaba 1.30 <d:item name="element not allowed:root:xml"
1663     modules="ContentChecker">
1664     <d:message xml:lang="en">This element is not allowed as the root element
1665     of an XML document.</d:message>
1666     </d:item>
1667    
1668     <d:item name="element not allowed:ruby base"
1669     modules="ContentChecker">
1670     <d:message xml:lang="en">This element is not allowed in the <code>ruby</code>
1671     element.</d:message>
1672     </d:item>
1673    
1674     <d:item name="element not allowed:text"
1675     modules="ContentChecker::HTML">
1676     <d:message xml:lang="en">This element is not allowed in this
1677     context.</d:message>
1678     </d:item>
1679    
1680 wakaba 1.31 <d:item name="element not allowed:atom|content"
1681     modules="ContentChecker::Atom">
1682     <d:message xml:lang="en">This element is not allowed in an Atom
1683     <code>content</code> element.</d:message>
1684     </d:item>
1685    
1686     <d:item name="element not allowed:atom|PersonConstruct"
1687     modules="ContentChecker::Atom">
1688     <d:message xml:lang="en">This element is not allowed in Person
1689     construct.</d:message>
1690     </d:item>
1691    
1692     <d:item name="element not allowed:atom|TextConstruct"
1693     modules="ContentChecker::Atom">
1694     <d:message xml:lang="en">This element is not allowed in Text
1695     construct.</d:message>
1696     </d:item>
1697    
1698 wakaba 1.30 <d:item name="element not defined"
1699     modules="ContentChecker">
1700     <d:message xml:lang="en">This element is not defined.</d:message>
1701 wakaba 1.42 <d:message xml:lang="ja">この要素は定義されていません。</d:message>
1702     <d:desc xml:lang="en">
1703     <p>The element is not one of elements allowed
1704     in the latest version of relevant specifications.</p>
1705    
1706     <p>The element cannot be used.</p>
1707    
1708     <dl class="switch">
1709     <dt><code>event-source</code> element</dt>
1710     <dd>The element was renamed as <em><code>eventsource</code>
1711     element</em> (no hyphen).</dd>
1712     <dt><code>m</code> element</dt>
1713     <dd>The element was renamed as <em><code>mark</code>
1714     element</em>.</dd>
1715     </dl>
1716     </d:desc>
1717 wakaba 1.30 </d:item>
1718    
1719     <d:item name="no significant content"
1720     modules="ContentChecker::HTML">
1721     <d:message xml:lang="en">No significant content is contained
1722     in this element.</d:message>
1723     </d:item>
1724    
1725     <d:item name="no significant content before"
1726     modules="ContentChecker::HTML">
1727     <d:message xml:lang="en">There is no significant content
1728     before this element.</d:message>
1729     </d:item>
1730    
1731     <d:item name="no significant content at the end"
1732     modules="ContentChecker::HTML">
1733     <d:message xml:lang="en">No significant content is contained
1734     at the end of this element.</d:message>
1735     </d:item>
1736    
1737 wakaba 1.6 <d:item name="ps element missing"
1738 wakaba 1.30 modules="ContentChecker::HTML">
1739     <d:message xml:lang="en">There is no <code><var>{text}</var></code>
1740 wakaba 1.6 element before this element.</d:message>
1741     <d:desc xml:lang="en">
1742     <p>There must be an element before another element, but there
1743     is not. The document is non-conforming.</p>
1744    
1745     <p>For example, there must be a <code>dt</code> element
1746     before any <code>dd</code> element.</p>
1747     </d:desc>
1748     </d:item>
1749    
1750 wakaba 1.30 <d:item name="rp:syntax error"
1751     modules="ContentChecker::HTML">
1752     <d:message xml:lang="en">The content of a <code>rp</code> element must
1753     be a parenthesis.</d:message>
1754     </d:item>
1755    
1756 wakaba 1.2 </section>
1757    
1758 wakaba 1.3 <section id="attribute-errors">
1759     <h2>Attribute Errors</h2>
1760    
1761     <d:item name="attribute missing"
1762 wakaba 1.30 modules="ContentChecker::HTML">
1763     <d:message xml:lang="en">Required attribute <code><var>{text}</var></code>
1764 wakaba 1.3 is not specified.</d:message>
1765     <d:desc>
1766     <p>A required attribute is not specified. The document
1767     is non-conforming.</p>
1768    
1769     <p>Some attribute is defined as <i>required</i>.
1770     Without required attributes specified, user agents
1771 wakaba 1.9 cannot provide full functionality of the element to the user.</p>
1772    
1773     <dl class="switch">
1774     <dt>HTML <code>img</code> element</dt>
1775     <dd>The <code>src</code> attribute must be specified.
1776     Additionally, the <code>alt</code> attribute must be specified
1777     in many cases.</dd>
1778     <dt>HTML <code>link</code> element</dt>
1779     <dd>The <code>rel</code> attribute must be specified.
1780     Note that the <code>rev</code> attribute is obsolete.</dd>
1781     </dl>
1782 wakaba 1.3 </d:desc>
1783     </d:item>
1784    
1785 wakaba 1.30 <d:item name="attribute missing:data|type"
1786     modules="ContentChecker::HTML">
1787     <d:message xml:lang="en">For an <code>object</code> at least one of
1788     <code>data</code> and <code>type</code> attributes must be
1789     specified.</d:message>
1790     </d:item>
1791    
1792     <d:item name="attribute missing:href|target"
1793     modules="ContentChecker::HTML">
1794     <d:message xml:lang="en">For a <code>base</code> element, at least one of
1795     <code>href</code> and <code>target</code> attributes must be
1796     specified.</d:message>
1797     </d:item>
1798    
1799     <d:item name="attribute missing:name|http-equiv"
1800     modules="ContentChecker::HTML">
1801     <d:message xml:lang="en">For a <code>meta</code> element with the
1802     <code>content</code> attribute specified, exactly one of
1803     <code>name</code> and <code>http-equiv</code> attributes must be
1804     specified.</d:message>
1805     </d:item>
1806    
1807     <d:item name="attribute missing:name|http-equiv|charset"
1808     modules="ContentChecker::HTML">
1809     <d:message xml:lang="en">For a <code>meta</code> element, exactly one of
1810     <code>name</code>, <code>http-equiv</code>, and <code>charset</code>
1811     attributes must be specified.</d:message>
1812     </d:item>
1813    
1814     <d:item name="attribute not allowed"
1815 wakaba 1.32 modules="ContentChecker::HTML RDFXML">
1816 wakaba 1.8 <d:message xml:lang="en">Attribute
1817     <code><var>{local-name}</var></code> is not allowed for
1818     <code><var>{element-local-name}</var></code> element.</d:message>
1819     <d:desc xml:lang="en">
1820     <p>An attribute is specified where it is not allowed.
1821     The document is non-conforming.</p>
1822    
1823     <dl>
1824     <dt>HTML <code>meta</code> element</dt>
1825     <dd>For HTML <code>meta</code> element, <em>only one</em> of
1826     <code>name</code>, <code>http-equiv</code>, or <code>charset</code>
1827     attribute is allowed.</dd>
1828     </dl>
1829     </d:desc>
1830     </d:item>
1831    
1832 wakaba 1.30 <d:item name="attribute not allowed:ismap"
1833     modules="ContentChecker::HTML">
1834     <d:message xml:lang="en">The <code>ismap</code> attribute may only be
1835     used for the image contained in an <code>a</code> element.</d:message>
1836     </d:item>
1837    
1838     <d:item name="attribute not defined"
1839     modules="ContentChecker">
1840     <d:message xml:lang="en">This attribute is not defined.</d:message>
1841 wakaba 1.42 <d:message xml:lang="ja">この属性は定義されていません。</d:message>
1842 wakaba 1.41 <d:desc xml:lang="en">
1843     <p>The attribute is not one of attributes allowed for the element
1844     in the latest version of relevant specifications.</p>
1845    
1846     <p>The attribute cannot be used.</p>
1847    
1848 wakaba 1.42 <dl class="switch">
1849     <dt><code>align</code> attribute (various HTML elements)</dt>
1850     <dt><code>border</code> attribute (various HTML elements)</dt>
1851     <dd>These attributes are no longer part of HTML. You can use CSS
1852     properties to control the presentation of the element.</dd>
1853 wakaba 1.41 <dt><code>autosubmit</code> attribute (<code>menu</code> element)</dt>
1854     <dd>The attribute was part of HTML5 draft but then dropped.
1855     Similar functionality can be implemented by scripts.</dd>
1856 wakaba 1.42 <dt><code>language</code> attribute (<code>script</code> element)</dt>
1857     <dd>The attribute is no longer the standard way to specify the
1858     scripting language. If you are using JavaScript, then no explicit
1859     specification of the scripting language is necessary, so you can
1860     write the element like:
1861     <p><code class="html example code">&lt;script><br/><!--
1862     --> /* JavaScript code */<br/><!--
1863     -->&lt;/script></code></p>
1864     If you are using different scripting language from JavaScript, or
1865     you want to declare the scripting language explicitly, you should
1866     use the <code>type</code> attribute, as follows:
1867     <dl class="switch">
1868     <dt>JavaScript</dt>
1869     <dd>Use
1870     <code class="html example">&lt;script type="text/javascript"></code>.</dd>
1871     <dt>VBScript</dt>
1872     <dd>Use
1873     <code class="html example">&lt;script type="text/vbscript"></code>.</dd>
1874     </dl>
1875     </dd>
1876 wakaba 1.41 </dl>
1877     </d:desc>
1878 wakaba 1.30 </d:item>
1879    
1880 wakaba 1.3 <d:item name="in HTML:xml:lang"
1881 wakaba 1.30 modules="ContentChecker::XML">
1882 wakaba 1.41 <d:message xml:lang="en">The <code>xml:lang</code> attribute in HTML
1883     document is ignored.</d:message>
1884 wakaba 1.8 <d:desc xml:lang="en">
1885 wakaba 1.41 <p>The <code>xml:lang</code> attribute does not have an effect in
1886     HTML document.</p>
1887 wakaba 1.3
1888 wakaba 1.41 <p>The <code>xml:lang</code> attribute is only applicable to XML
1889     documents. In HTML document, it is only allowed to ease migration
1890     from XML.</p>
1891 wakaba 1.3
1892     <p>To specify natural language information in HTML document,
1893     use <code>lang</code> attribute instead.</p>
1894 wakaba 1.6
1895     <p>XHTML 1.0 Appendix C was encouraged to specify both
1896     <code>lang</code> and <code>xml:lang</code> attributes with
1897     the same value. Such a duplication has <em>no effect</em> in practice.
1898     Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in
1899     XML).</p>
1900    
1901 wakaba 1.3 <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created
1902     from an HTML document? -->
1903     </d:desc>
1904     </d:item>
1905    
1906     <d:item name="in XML:charset"
1907 wakaba 1.30 modules="ContentChecker::HTML">
1908 wakaba 1.3 <d:message xml:lang="en">The <code>charset</code> attribute is not
1909     allowed in XML document.</d:message>
1910     <d:desc>
1911     <p>The <code>charset</code> attribute of a
1912     <code>meta</code> element is not allowed in XML document.
1913     The document is non-conforming.</p>
1914    
1915     <p>To specify the character encoding used for serialization,
1916     if necessary, use XML declaration instead:
1917     <pre class="xml example"><code>&lt;?xml version="1.0" encoding="<var>encoding-name</var>"?></code></pre>
1918     </p>
1919     </d:desc>
1920     </d:item>
1921    
1922 wakaba 1.41 <d:item name="in XML:noscript"
1923 wakaba 1.30 modules="ContentChecker::HTML">
1924 wakaba 1.41 <d:message xml:lang="en">A <code>noscript</code> element cannot be
1925     used in XML document.</d:message>
1926 wakaba 1.3 </d:item>
1927    
1928 wakaba 1.41 <d:item name="in XML:xml:lang"
1929 wakaba 1.30 modules="ContentChecker::HTML">
1930 wakaba 1.41 <d:message xml:lang="en">The <code>xml:lang</code> attribute in no namespace
1931     is only allowed in HTML document.</d:message>
1932     <d:message xml:lang="ja">名前空間に属さない <code>xml:lang</code>
1933     属性が認められているのは HTML 文書中だけです。</d:message>
1934 wakaba 1.30 </d:item>
1935    
1936 wakaba 1.3 <d:item name="in XML:xmlns"
1937 wakaba 1.30 modules="ContentChecker::HTML">
1938 wakaba 1.3 <d:message xml:lang="en">The <code>xmlns</code> attribute
1939     in the <code>null</code> namespace is not allowed in
1940     XHTML document. The document is non-conforming.</d:message>
1941     <d:desc>
1942     <p>The <code>xmlns</code> attribute in the <code>null</code>
1943     namespace is not allowed in XHTML document.</p>
1944    
1945 wakaba 1.8 <p>This error should not occur in conformance-checking of
1946 wakaba 1.3 static documents.</p>
1947     </d:desc>
1948     </d:item>
1949    
1950 wakaba 1.41 <d:item name="xml:lang not allowed"
1951     modules="ContentChecker::HTML">
1952     <d:message xml:lang="en">The <code>xml:lang</code> attribute is only allowed
1953     when the <code>lang</code> attribute is specified.</d:message>
1954     <d:message xml:lang="ja"><code>xml:lang</code> 属性を指定できるのは
1955     <code>lang</code> 属性が指定されている時だけです。</d:message>
1956     </d:item>
1957    
1958 wakaba 1.3 </section>
1959    
1960 wakaba 1.2 <section id="attribute-value-errors">
1961     <h2>Attribute Value Errors</h2>
1962 wakaba 1.1
1963 wakaba 1.30 <d:item name="boolean:invalid"
1964     modules="ContentChecker::HTML">
1965     <d:message xml:lang="en">Attribute value <code><var>{@}</var></code>
1966     is not allowed. It must be an empty string or a string
1967     <code><var>{local-name}</var></code>.</d:message>
1968     </d:item>
1969    
1970     <d:item name="char:syntax error"
1971     modules="ContentChecker::HTML">
1972     <d:message xml:lang="en">The attribute value must be exactly one
1973     character.</d:message>
1974     </d:item>
1975    
1976     <d:item name="charref in charset"
1977     modules="ContentChecker::HTML">
1978     <d:message xml:lang="en">A character reference cannot be used to
1979     represent a character encoding name.</d:message>
1980     </d:item>
1981    
1982     <d:item name="charset:not preferred"
1983     modules="ContentChecker::HTML">
1984     <d:message xml:lang="en">Character encoding name
1985     <code><var>{value}</var></code> is not the preferred name of that
1986     character encoding.</d:message>
1987     </d:item>
1988    
1989     <d:item name="charset:not registered"
1990     modules="ContentChecker::HTML">
1991     <d:message xml:lang="en">Character encoding name
1992     <code><var>{value}</var></code> is not a registered name.</d:message>
1993 wakaba 1.17 <d:desc xml:lang="en">
1994     <p>The specified character encoding name is not registered to
1995     <abbr>IANA</abbr>. Use of registered character encoding name
1996     is a good practice to facilitate interoperability.</p>
1997    
1998     <dl class="switch">
1999     <dt><code>EUC-TW</code></dt>
2000     <dd><code>EUC-TW</code> is not registered. Unfortunately, there
2001     is no registered name for that character encoding. Use
2002     Big5 encoding with character encoding name <code>Big5</code>
2003     if it is enough to represent the document.</dd>
2004     <dt><code>ISO-2022-JP-1</code></dt>
2005     <dd><code>ISO-2022-JP-1</code> is not registered, nevertheless
2006     this character encoding name is documented in
2007     <a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>. Use
2008     <code>ISO-2022-JP-2</code> instead, since that character encoding
2009     is a superset of ISO-2022-JP-1.</dd>
2010     <dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt>
2011     <dd>These names are not registered and obsoleted in favor of
2012     <code>ISO-2022-JP-2004</code> and
2013     <code>ISO-2022-JP-2004-plane1</code>.</dd>
2014     <dt><code>ISO-2022-JP-2003</code>,
2015     <code>ISO-2022-JP-2003-plane1</code></dt>
2016     <dd>These names are not registered and corrected to
2017     <code>ISO-2022-JP-2004</code> and
2018     <code>ISO-2022-JP-2004-plane1</code>.</dd>
2019     <dt><code>ISO-2022-JP-2004</code>,
2020     <code>ISO-2022-JP-2004-plane1</code></dt>
2021     <dd>These names are not registered. Unfortunately, there is
2022     no registered name for these character encodings.</dd>
2023     <dt><code>UTF-8N</code></dt>
2024     <dd><code>UTF-8N</code> is not registered. Character encoding
2025     name <code>UTF-8</code> represents UTF-8 encoding with or
2026     without <abbr>BOM</abbr>.</dd>
2027     </dl>
2028    
2029     <p><strong>WARNING</strong>: This error might be raised for
2030     a registered character encoding name, since the character encoding
2031     name database of the conformance checker is not complete yet.</p>
2032     </d:desc>
2033     </d:item>
2034    
2035 wakaba 1.30 <d:item name="charset:private"
2036     modules="ContentChecker::HTML">
2037     <d:message xml:lang="en">Character encoding name
2038     <code><var>{value}</var></code> is a private name.</d:message>
2039 wakaba 1.17 <d:desc xml:lang="en">
2040     <p>The specified character encoding name is a private name and
2041     not registered to <abbr>IANA</abbr>. Use of registered character
2042     encoding name is a good practice to facilitate interoperability.</p>
2043    
2044     <dl class="switch">
2045     <dt><code>x-euc-jp</code></dt>
2046     <dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr>
2047     character encoding.</dd>
2048     <dt><code>x-sjis</code></dt>
2049     <dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of
2050     <abbr>JIS</abbr> coded character set, or <code>Windows-31J</code>
2051     for Microsoft standard character set as implemented by
2052     Microsoft Windows.</dd>
2053     </dl>
2054     </d:desc>
2055     </d:item>
2056    
2057 wakaba 1.30 <d:item name="charset:syntax error"
2058     modules="ContentChecker::HTML">
2059     <d:message xml:lang="en">The specified value <code><var>{value}</var></code>
2060     is syntactically not a character encoding name.</d:message>
2061 wakaba 1.17 <d:desc xml:lang="en">
2062     <p>The attribute value must be a character encoding name. However,
2063     the specified value is not a character encoding name syntactically.
2064     The document is non‐conforming.</p>
2065     <p>Character encoding name is a string of <abbr>ASCII</abbr>
2066     printable characters, up to 40 characters.</p>
2067     </d:desc>
2068     </d:item>
2069    
2070 wakaba 1.30 <d:item name="color:syntax error"
2071     modules="ContentChecker::HTML">
2072     <d:message xml:lang="en">The specified value is not a color
2073     name or hexadecimal color number.</d:message>
2074     </d:item>
2075    
2076     <d:item name="coords:number not 3"
2077     modules="ContentChecker::HTML">
2078     <d:message xml:lang="en">The <code>coords</code> attribute have to
2079     contain three (3) numbers (specified:
2080     <code><var>{text}</var></code>).</d:message>
2081     </d:item>
2082    
2083     <d:item name="coords:number not 4"
2084     modules="ContentChecker::HTML">
2085     <d:message xml:lang="en">The <code>coords</code> attribute have to
2086     contain four (4) numbers (specified:
2087     <code><var>{text}</var></code>).</d:message>
2088     </d:item>
2089    
2090     <d:item name="coords:number lt 6"
2091     modules="ContentChecker::HTML">
2092     <d:message xml:lang="en">The <code>coords</code> attribute have to
2093     contain more than or equal to six (6) numbers (specified:
2094     <code><var>{text}</var></code>).</d:message>
2095     </d:item>
2096    
2097     <d:item name="coords:number not even"
2098     modules="ContentChecker::HTML">
2099     <d:message xml:lang="en">The <code>coords</code> attribute have to
2100     contain even number of numbers (specified:
2101     <code><var>{text}</var></code>).</d:message>
2102     </d:item>
2103    
2104     <d:item name="coords:out of range"
2105     modules="ContentChecker::HTML">
2106     <d:message xml:lang="en">The specified value <code><var>{value}</var></code>
2107     is out of range.</d:message>
2108     </d:item>
2109    
2110     <d:item name="coords:syntax error"
2111     modules="ContentChecker::HTML">
2112     <d:message xml:lang="en">The specified value is not valid.</d:message>
2113     </d:item>
2114    
2115     <d:item name="datetime:bad year"
2116     modules="ContentChecker::HTML">
2117     <d:message xml:lang="en">Year number is out of range.</d:message>
2118     </d:item>
2119    
2120     <d:item name="datetime:bad month"
2121     modules="ContentChecker::HTML">
2122     <d:message xml:lang="en">Month number is out of range.</d:message>
2123     </d:item>
2124    
2125     <d:item name="datetime:bad day"
2126     modules="ContentChecker::HTML">
2127     <d:message xml:lang="en">Day number is out of range.</d:message>
2128     </d:item>
2129    
2130     <d:item name="datetime:bad hour"
2131     modules="ContentChecker::HTML">
2132     <d:message xml:lang="en">Hour number is out of range.</d:message>
2133     </d:item>
2134    
2135     <d:item name="datetime:bad minute"
2136     modules="ContentChecker::HTML">
2137     <d:message xml:lang="en">Minute number is out of range.</d:message>
2138     </d:item>
2139    
2140     <d:item name="datetime:bad second"
2141     modules="ContentChecker::HTML">
2142     <d:message xml:lang="en">Second number is out of range.</d:message>
2143     </d:item>
2144    
2145     <d:item name="datetime:bad timezone hour"
2146     modules="ContentChecker::HTML">
2147     <d:message xml:lang="en">Hour number of the timezone component is out of
2148     range.</d:message>
2149     </d:item>
2150    
2151     <d:item name="datetime:bad timezone minute"
2152     modules="ContentChecker::HTML">
2153     <d:message xml:lang="en">Minute number of the timezone component is out of
2154     range.</d:message>
2155     </d:item>
2156    
2157     <d:item name="datetime:syntax error"
2158     modules="ContentChecker::HTML">
2159     <d:message xml:lang="en">The attribute value is not a datetime.</d:message>
2160     </d:item>
2161    
2162     <d:item name="dateortime:syntax error"
2163     modules="ContentChecker::HTML">
2164 wakaba 1.41 <d:message xml:lang="en">The value is not a date or time.</d:message>
2165 wakaba 1.30 </d:item>
2166    
2167 wakaba 1.2 <d:item name="enumerated:invalid"
2168 wakaba 1.30 modules="ContentChecker::HTML">
2169 wakaba 1.2 <d:message xml:lang="en">This attribute only allow a limited set of
2170 wakaba 1.6 values and the specified value <code><var>{@}</var></code> is not one
2171     of them.</d:message>
2172 wakaba 1.8 <d:desc xml:lang="en">
2173     <p>For this attribute only several values are allowed and the
2174     value of the attribute is not one of them. The document
2175     is non-conforming.</p>
2176    
2177     <dl>
2178     <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
2179 wakaba 1.15 <dd><p>Only values <code>Default-Style</code> and <code>Refresh</code>
2180     are allowed.</p>
2181 wakaba 1.8 <p>Value <code>Content-Type</code> is obsolete; for charset
2182     declaration, the <code>charset</code> attribute can be used as:
2183     <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
2184     ... where <var>charset-name</var> is a name of the character encoding
2185     of the document, such as <code>utf-8</code>.</p>
2186     <p>Values <code>Content-Style-Type</code> and
2187     <code>Content-Script-Type</code> are currently not allowed.</p>
2188     <p>Value <code>Keywords</code> is not allowed. Use
2189     <code>name</code> attribute instead of <code>http-equiv</code>
2190     attribute.</p>
2191     <p>Values <code>Expires</code>, <code>Pragma</code>,
2192     and <code>Cache-Control</code> are not allowed;
2193     use <em>real</em> HTTP header fields for cache control.</p></dd>
2194     </dl>
2195     </d:desc>
2196 wakaba 1.2 </d:item>
2197    
2198 wakaba 1.14 <d:item name="enumerated:invalid:http-equiv:content-type"
2199     class="attribute-value-error">
2200 wakaba 1.16 <d:message xml:lang="en">Character encoding declaration syntax
2201 wakaba 1.15 <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code>
2202 wakaba 1.14 is obsolete.</d:message>
2203     <d:desc xml:lang="en">
2204 wakaba 1.16 <p>Old long character encoding declaration syntax
2205 wakaba 1.15 <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code>
2206 wakaba 1.14 is in use. The document is non‐conforming.</p>
2207    
2208 wakaba 1.16 <p>The new character encoding declaration syntax is:
2209 wakaba 1.15 <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
2210 wakaba 1.14 </p>
2211     </d:desc>
2212     </d:item>
2213    
2214 wakaba 1.30 <d:item name="enumerated:non-conforming"
2215     modules="ContentChecker::HTML">
2216     <d:message xml:lang="en">Attribute value <code><var>{@}</var></code>
2217     is not allowed.</d:message>
2218     </d:item>
2219    
2220     <d:item name="duplicate http-equiv"
2221     modules="ContentChecker::HTML">
2222     <d:message xml:lang="en">There is another pragma
2223     <code><var>{value}</var></code>.</d:message>
2224     </d:item>
2225    
2226 wakaba 1.3 <d:item name="duplicate ID"
2227 wakaba 1.30 class="attribute-value-error"
2228     modules="ContentChecker::XML ContentChecker::HTML">
2229 wakaba 1.3 <d:message xml:lang="en">This identifier has already been
2230     assigned to another element.</d:message>
2231     <!-- @@ <id=a xml:id=a>? -->
2232     </d:item>
2233    
2234 wakaba 1.30 <d:item name="duplicate token"
2235 wakaba 1.32 modules="ContentChecker::HTML HTML::Table">
2236 wakaba 1.30 <d:message xml:lang="en">The token <code><var>{value}</var></code>
2237     appears in the attribute value twice.</d:message>
2238     </d:item>
2239    
2240     <d:item name="empty attribute value"
2241     modules="ContentChecker::HTML">
2242 wakaba 1.42 <d:message xml:lang="en">The attribute value is empty.</d:message>
2243     <d:message xml:lang="ja">属性値が空です。</d:message>
2244     </d:item>
2245    
2246     <d:item name="empty style sheet title"
2247     modules="ContentChecker::HTML">
2248     <d:message xml:lang="en">The value of the <code>title</code> attribute
2249     is empty.</d:message>
2250     <d:message xml:lang="ja"><code>title</code> 属性の値が空です。</d:message>
2251     <d:desc xml:lang="en">
2252     <p>The <code>title</code> attribute value of the <code>link</code>
2253     element that defines an alternate style sheet is an empty value.</p>
2254    
2255     <p>A <code>link</code> element whose <code>rel</code> attribute
2256     is <code>alternate stylesheet</code> defines an alternate style sheet.
2257     An alternate style sheet must be associated with a name using the
2258     <code>title</code> attribute. The name cannot be empty.</p>
2259     </d:desc>
2260 wakaba 1.30 </d:item>
2261    
2262     <d:item name="float:out of range"
2263     modules="ContentChecker::HTML">
2264     <d:message xml:lang="en">The specified value is out of range.</d:message>
2265     </d:item>
2266    
2267     <d:item name="float:syntax error"
2268     modules="ContentChecker::HTML">
2269     <d:message xml:lang="en">The attribute value is not a real
2270     number.</d:message>
2271     </d:item>
2272    
2273     <d:item name="fragment points itself"
2274     modules="ContentChecker">
2275     <d:message xml:lang="en">A fragment identifier references the element
2276     itself.</d:message>
2277     </d:item>
2278    
2279     <d:item name="fragment points nothing"
2280     modules="ContentChecker">
2281     <d:message xml:lang="en">A fragment identifier references no
2282     node.</d:message>
2283     </d:item>
2284    
2285     <d:item name="hashref:syntax error"
2286     modules="ContentChecker::HTML">
2287     <d:message xml:lang="en">A hash−name reference must start with a
2288     <code>#</code> character.</d:message>
2289     </d:item>
2290    
2291     <d:item name="id ne name"
2292     modules="ContentChecker::HTML">
2293     <d:message xml:lang="en">The <code>id</code> attribute value is
2294     different from the <code>name</code> attribute value.</d:message>
2295     </d:item>
2296    
2297     <d:item name="integer:syntax error"
2298     modules="ContentChecker::HTML">
2299     <d:message xml:lang="en">The attribute value is not an integer.</d:message>
2300     </d:item>
2301    
2302 wakaba 1.5 <d:item name="link type:bad context"
2303 wakaba 1.30 modules="ContentChecker::HTML">
2304     <d:message xml:lang="en">The link type <code><var>{value}</var></code>
2305 wakaba 1.4 cannot be specified for this element.</d:message>
2306     <d:desc xml:lang="en">
2307     <p>The specified link type cannot be used for the element.
2308     The document is non-conforming.</p>
2309    
2310     <p>Link types are associated with limited set of elements.
2311     They cannot be used with other elements.</p>
2312    
2313     <p>For example, link type <code>bookmark</code>
2314     can be used with <code>a</code> or <code>area</code> element,
2315     while it cannot be used with <code>link</code> element.</p>
2316     </d:desc>
2317     </d:item>
2318    
2319 wakaba 1.30 <d:item name="invalid attribute value"
2320     class="attribute-value-error"
2321 wakaba 1.31 modules="ContentChecker::XML ContentChecker::HTML ContentChecker::Atom">
2322 wakaba 1.30 <d:message xml:lang="en">Attribute value <code><var>{@}</var></code>
2323     is not an allowed value.</d:message>
2324     </d:item>
2325    
2326     <d:item name="length:syntax error"
2327     modules="ContentChecker::HTML">
2328     <d:message xml:lang="en">The attribute value is not a length
2329     value.</d:message>
2330     </d:item>
2331    
2332 wakaba 1.4 <d:item name="link type:non-conforming"
2333 wakaba 1.30 modules="ContentChecker::HTML">
2334     <d:message xml:lang="en">The link type <code><var>{value}</var></code>
2335 wakaba 1.4 is non-conforming.</d:message>
2336     <d:desc xml:lang="en">
2337 wakaba 1.6 <p>The specified link type is non-conforming, and therefore
2338     the document is non-conforming.</p>
2339 wakaba 1.4
2340 wakaba 1.12 <dl class="switch">
2341 wakaba 1.6 <dt>Link type <code>contents</code></dt>
2342     <dd>Use link type <code>index</code>.</dd>
2343     <dt>Link type <code>copyright</code></dt>
2344     <dd>Use link type <code>license</code>.</dd>
2345     <dt>Link type <code>home</code></dt>
2346     <dd>Use link type <code>index</code>.</dd>
2347 wakaba 1.12 <dt>Link type <code>previous</code></dt>
2348     <dd>Use link type <code>prev</code>.</dd>
2349 wakaba 1.6 <dt>Link type <code>start</code></dt>
2350     <dd>Use link type <code>first</code>.</dd>
2351 wakaba 1.12 <dt>Link type <code>toc</code> or <code>top</code></dt>
2352 wakaba 1.6 <dd>Use link type <code>index</code>.</dd>
2353     </dl>
2354 wakaba 1.4 </d:desc>
2355     </d:item>
2356    
2357 wakaba 1.30 <d:item name="meta content-type syntax error"
2358     modules="ContentChecker::HTML">
2359     <d:message xml:lang="en">The specified value is not a valid as a long
2360     character encoding declaration.</d:message>
2361     </d:item>
2362    
2363     <d:item name="mismatched charset name"
2364     modules="ContentChecker::HTML">
2365     <d:message xml:lang="en">The specified character encoding name
2366     <code><var>{value}</var></code> is different from the actual document
2367     character encoding <code><var>{text}</var></code>.</d:message>
2368 wakaba 1.17 <d:desc xml:lang="en">
2369     <p>The specified character encoding name is different from
2370     the character encoding of the document. The document
2371     is non‐conforming.</p>
2372     </d:desc>
2373     </d:item>
2374    
2375 wakaba 1.30 <d:item name="mismatched charset name not checked"
2376     mopdules="ContentChecker::HTML">
2377     <d:message xml:lang="en">Whether the specified character encoding name
2378     <code><var>{value}</var></code> matches to the actual character encoding
2379     name cannot be checked since the input is not a byte stream.</d:message>
2380     </d:item>
2381    
2382     <d:item name="mode:syntax error"
2383     modules="ContentChecker::HTML">
2384     <d:message xml:lang="en">The attribute value is not a valid mode
2385     name.</d:message>
2386     </d:item>
2387    
2388     <d:item name="nninteger:out of range"
2389     modules="ContentChecker::HTML">
2390     <d:message xml:lang="en">The specified value is out of range.</d:message>
2391     </d:item>
2392    
2393     <d:item name="nninteger:syntax error"
2394     modules="ContentChecker::HTML">
2395     <d:message xml:lang="en">The attribute value is not a non‐negative
2396     integer.</d:message>
2397     </d:item>
2398    
2399     <d:item name="no referenced map"
2400     modules="ContentChecker">
2401     <d:message xml:lang="en">The <code>usemap</code> attribute references
2402     no image map.</d:message>
2403     </d:item>
2404    
2405     <d:item name="no referenced menu"
2406     modules="ContentChecker">
2407     <d:message xml:lang="en">The <code>contextmenu</code> attribute references
2408     no menu.</d:message>
2409     </d:item>
2410    
2411 wakaba 1.32 <d:item name="no referenced header cell"
2412     modules="ContentChecker">
2413     <d:message xml:lang="en">There is no table header cell whose <code>id</code>
2414     is <code><var>{value}</var></code> in the same table.</d:message>
2415     </d:item>
2416    
2417 wakaba 1.30 <d:item name="refresh:syntax error"
2418     modules="ContentChecker::HTML">
2419     <d:message xml:lang="en">the specified value is not a valid as part
2420     of a <code>Refresh</code> pragma.</d:message>
2421     </d:item>
2422    
2423     <d:item name="repeat:syntax error"
2424     modules="ContentChecker::HTML">
2425     <d:message xml:lang="en">The attribute value is not an integer or
2426     a string <code>template</code>.</d:message>
2427     </d:item>
2428    
2429 wakaba 1.3 <d:item name="reserved browsing context name"
2430     class="attribute-value-error">
2431 wakaba 1.6 <d:message xml:lang="en">Browsing context name
2432     <code><var>{@}</var></code> is reserved.</d:message>
2433     <d:desc xml:lang="en">
2434 wakaba 1.3 <p>The specified browsing context name is reserved.
2435     The document is non-conforming.</p>
2436    
2437     <p>Names of browsing contexts starting with <code>_</code>
2438     (<code>U+005F</code> <code class="charname">LOW LINE</code>)
2439     are reserved so that it must not be used.</p>
2440    
2441     <p>Old version of HTML, non-HTML markup languages, and
2442     Web browsers define or implements special reserved
2443     browsing context names <code>_blank</code>,
2444     <code>_main</code>, and <code>_replace</code>.
2445     However, they are <em>not</em> conforming attribute values.</p>
2446 wakaba 1.6 </d:desc>
2447 wakaba 1.3 </d:item>
2448    
2449 wakaba 1.30 <d:item name="Reserved Prefixes and Namespace Names:Name"
2450     modules="ContentChecker::XML">
2451     <d:message xml:lang="en">Namespace name <code><var>{text}</var></code>
2452     is reserved and cannot be used for an arbitrary prefix.</d:message>
2453     </d:item>
2454 wakaba 1.2
2455 wakaba 1.30 <d:item name="Reserved Prefixes and Namespace Names:Prefix"
2456     modules="ContentChecker::XML">
2457     <d:message xml:lang="en">Namespace prefix <code><var>{text}</var></code>
2458     is reserved and cannot be used for an arbitrary namespace name.</d:message>
2459     </d:item>
2460 wakaba 1.4
2461 wakaba 1.30 <d:item name="link type:proposed"
2462     modules="ContentChecker::HTML">
2463     <d:message xml:lang="en">Link type <code><var>{value}</var></code>
2464 wakaba 1.4 is proposed but not accepted yet; it <em>should not</em> be
2465     used until it has been accepted.</d:message>
2466     <d:desc>
2467     <p>The link type is in the <i>proposed</i> status; it
2468     <em>should not</em> be used until it has been
2469     accepted.</p>
2470    
2471     <p><strong>Warning</strong>: The data served to the
2472     conforming checker might be out of date; it might have already
2473 wakaba 1.12 been accepted or rejected. The document might or might not be
2474     conforming depending on the status. See WHATWG Wiki
2475 wakaba 1.4 for the latest information.</p>
2476     </d:desc>
2477     </d:item>
2478    
2479 wakaba 1.30 <d:item name="sizes:syntax error"
2480     modules="ContentChecker::HTML">
2481     <d:message xml:lang="en">The specified value <code><var>{value}</var></code>
2482     is not a valid value.</d:message>
2483     </d:item>
2484    
2485     <d:item name="space in ID"
2486     modules="ContentChecker::HTML">
2487     <d:message xml:lang="en">White space characters are not allowed
2488     in the <code>id</code> attribute.</d:message>
2489     </d:item>
2490    
2491     <d:item name="template:not template"
2492     modules="ContentChecker ContentChecker::HTML">
2493     <d:message xml:lang="en">The node referenced by the <code>template</code>
2494     attribute is not a template.</d:message>
2495     </d:item>
2496    
2497     <d:item name="window name:empty"
2498     modules="ContentChecker::HTML">
2499     <d:message xml:lang="en">Browsing context name must not be empty.</d:message>
2500     </d:item>
2501    
2502     <d:item name="window name:reserved"
2503     modules="ContentChecker::HTML">
2504     <d:message xml:lang="en">Browsing context name
2505     <code><var>{value}</var></code> is reserved.</d:message>
2506     </d:item>
2507    
2508     <d:item name="word not allowed"
2509     modules="ContentChecker::HTML">
2510     <d:message xml:lang="en">The word <code><var>{value}</var></code> is not
2511     allowed in this attribute.</d:message>
2512     </d:item>
2513    
2514 wakaba 1.32 <d:item name="XML 1.0 NCName:syntax error"
2515     modules="RDFXML">
2516     <d:message xml:lang="en">The specified value is not a legal XML Namespaces
2517     1.0 <code>NCName</code>.</d:message>
2518     </d:item>
2519    
2520 wakaba 1.41 <d:item name="xml:lang ne lang"
2521     modules="ContentChecker::XML ContentChecker::HTML">
2522     <d:message xml:lang="en">The value of the <code>xml:lang</code> attribute
2523     is different from the value of the <code>lang</code> attribute.</d:message>
2524     <d:message xml:lang="ja"><code>xml:lang</code> 属性の値が <code>lang</code>
2525     属性の値と異なります。</d:message>
2526     <d:desc xml:lang="en">
2527     <p>The value of the <code>xml:lang</code> attribute (either the
2528     <code>lang</code> attribute in the <code>xml</code> (i.e.
2529     <code>http://www.w3.org/XML/1998/namespace</code>) namespace, or
2530     the <code>xml:lang</code> attribute in no namespace) for the element has
2531     different value than that of the <code>lang</code> attribute in no
2532     namespace.</p>
2533    
2534     <p>For historical reason, there are two attributes applicable to HTML
2535     elements to specify language information of an element: <code>lang</code>
2536     and <code>xml:lang</code>. In HTML documents, only <code>lang</code>
2537     attribute in no namespace is allowed and take effect; the
2538     <code>xml:lang</code> attribute in no namespace is ignored in HTML
2539     documents. In XHTML documents, both <code>lang</code> and
2540     <code>xml:lang</code> attributes are allowed.</p>
2541    
2542     <p>In general, <em>only the <code>lang</code> attribute</em> need to be
2543     specified for an element.</p>
2544    
2545     <p>If both <code>lang</code> and <code>xml:lang</code> attributes are
2546     specified on the same element, their values must be the same value.</p>
2547     </d:desc>
2548     <d:desc xml:lang="ja">
2549     <p><code>xml:lang</code> 属性 (<code>xml</code> (=
2550     <code>http://www.w3.org/XML/1998/namespace</code>) 名前空間の
2551     <code>lang</code> 属性や名前空間に属さない
2552     <code>xml:lang</code> 属性) の値が同じ要素の名前空間に属さない
2553     <code>lang</code> 属性の値と異なっています。</p>
2554    
2555     <p>歴史的な理由により、 HTML 要素の言語指定のための属性は
2556     <code>lang</code> と <code>xml:lang</code> の2つがあります。 HTML
2557     文書では名前空間に属さない <code>lang</code> 属性だけが認められており、
2558     かつ効力があります。名前空間に属さない
2559     <code>xml:lang</code> 属性は HTML 文書では無視されます。 XHTML 文書では
2560     <code>lang</code> 属性も <code>xml:lang</code> 属性も認められています。</p>
2561    
2562     <p>通常、要素の言語情報は <em><code>lang</code>
2563     属性だけ</em>を使って指定すれば十分です。</p>
2564    
2565     <p><code>lang</code> 属性と <code>xml:lang</code>
2566     属性の両方を同じ要素に指定する場合、
2567     両者の値は同じでなければなりません。</p>
2568     </d:desc>
2569     </d:item>
2570    
2571 wakaba 1.4 </section>
2572    
2573 wakaba 1.2 <section id="table-model-errors">
2574     <h2>Table Model Errors</h2>
2575    
2576 wakaba 1.32 <d:item name="cell overlapping"
2577     modules="HTML::Table">
2578     <d:message xml:lang="en">Cell slot (<var>{text}</var>) is filled by
2579     multiple cells.</d:message>
2580     </d:item>
2581    
2582     <d:item name="colspan creates column with no anchored cell"
2583     modules="HTML::Table">
2584 wakaba 1.3 <d:message xml:lang="en">This <code>colspan</code> attribute
2585     results in creating a table column that does not contain
2586     any cell anchored to it.</d:message>
2587     </d:item>
2588    
2589 wakaba 1.32 <d:item name="column with no anchored cell"
2590     modules="HTML::Table">
2591     <d:message xml:lang="en">This column has no anchored cell.</d:message>
2592     </d:item>
2593    
2594 wakaba 1.2 <d:item name="table:no cell in last row"
2595     class="table-model-error">
2596     <d:message xml:lang="en">The table has no cell (<code>td</code> or
2597     <code>th</code>) in the last row.</d:message>
2598     </d:item>
2599    
2600 wakaba 1.6 <d:item name="table:rowspan extends table"
2601     class="table-model-error">
2602     <d:message xml:lang="en">This <code>rowspan</code> attribute
2603     results in creating a table row that does not contain
2604     any cell anchored to it.</d:message>
2605     <d:desc xml:lang="en">
2606     <p>The <code>rowspan</code> attribute value of the cell
2607     is so specified that it extends a table in the row axis.
2608     However, the extended row does not contain any cell by itself.
2609     The document is non-conforming.</p>
2610    
2611     <p>For example, the table below is non-conforming:
2612 wakaba 1.15 <pre class="html bad example"><code>&lt;table>
2613 wakaba 1.6 &lt;tbody>
2614     &lt;tr>&lt;td rowspan=2>&lt;/td>&lt;/tr>
2615     &lt;/tbody>
2616     &lt;/table></code></pre>
2617 wakaba 1.9 ... since the second row contains only
2618     a cell that spans between first and second rows.</p>
2619 wakaba 1.6 </d:desc>
2620     </d:item>
2621    
2622 wakaba 1.32 <d:item name="row with no anchored cell"
2623     modules="HTML::Table">
2624     <d:message xml:lang="en">This row has no anchored cell.</d:message>
2625     </d:item>
2626    
2627     <d:item name="rowspan creates row with no anchored cell"
2628     modules="HTML::Table">
2629     <d:message xml:lang="en">This <code>rowspan</code> attribute
2630     results in creating a table row that does not contain
2631     any cell anchored to it.</d:message>
2632     </d:item>
2633    
2634    
2635 wakaba 1.2 </section>
2636    
2637     <section id="imt-warnings">
2638 wakaba 1.30 <h2>Internet Media Type Errors</h2>
2639    
2640 wakaba 1.38 <d:item name="boundary:syntax error"
2641     modules="IMTChecker">
2642     <d:message xml:lang="en">The specified value is not a valid value
2643     as a multipart boundary.</d:message>
2644     </d:item>
2645    
2646     <d:item name="e4x:syntax error"
2647     modules="IMTChecker">
2648     <d:message xml:lang="en">The specified value is not a valid value
2649     for the attribute <code>e4x</code>.</d:message>
2650     </d:item>
2651    
2652     <d:item name="IMT:attribute syntax error"
2653     modules="IMTChecker">
2654     <d:message xml:lang="en">The specified value,
2655     <code><var>{value}</var></code>, is syntactically not a valid
2656     attribute name.</d:message>
2657     </d:item>
2658    
2659 wakaba 1.31 <d:item name="IMT:composite"
2660     modules="ContentChecker::Atom">
2661     <d:message xml:lang="en">The specified media type is a composite
2662     type, which is not allowed in this context.</d:message>
2663     </d:item>
2664    
2665 wakaba 1.38 <d:item name="IMT:limited use subtype"
2666     modules="IMTChecker">
2667     <d:message xml:lang="en">An Internet Media Type whose intended usage
2668     is limited use, <code><var>{value}</var></code> is used.</d:message>
2669     </d:item>
2670    
2671 wakaba 1.30 <d:item name="IMT:syntax error"
2672 wakaba 1.31 modules="ContentChecker::HTML ContentChecker::Atom">
2673 wakaba 1.30 <d:message xml:lang="en">The specified value is not an Internet Media
2674     Type.</d:message>
2675     </d:item>
2676 wakaba 1.2
2677 wakaba 1.38 <d:item name="IMT:obsolete parameter"
2678     modules="IMTChecker">
2679     <d:message xml:lang="en">An obsolete parameter
2680     <code><var>{value}</var></code> is used.</d:message>
2681     </d:item>
2682    
2683 wakaba 1.2 <d:item name="IMT:obsolete subtype"
2684 wakaba 1.38 modules="IMTChecker">
2685     <d:message xml:lang="en">An obsolete Internet Media Type
2686     <code><var>{value}</var></code> is used.</d:message>
2687 wakaba 1.42 <d:message xml:lang="ja">廃止されたインターネット媒体型
2688     <code><var>{value}</var></code> が使われています。</d:message>
2689     <d:desc xml:lang="en">
2690     <p>The specified Internet Media Type is registered with its intended
2691     usage as <i>OBSOLETE</i>.</p>
2692 wakaba 1.12
2693     <dl class="swtich">
2694     <dt>Media type <code>text/ecmascript</code></dt>
2695     <dd>Media type <code>text/ecmascript</code> is obsoleted in
2696     favor of <code>application/ecmascript</code>. Note that
2697 wakaba 1.42 <em><code>text/javascript</code></em> would be the better alternative
2698     in many cases.</dd>
2699 wakaba 1.12 <dt>Media type <code>text/javascript</code></dt>
2700     <dd>Media type <code>text/javascript</code> is obsoleted by
2701     <abbr>IETF</abbr> with backward incompatible alternate
2702     <code>application/javascript</code> for architectural
2703 wakaba 1.42 purity.<!-- @@ ref? --> Those who prefer reality to academic
2704     purity <em>may ignore</em> this warning.</dd>
2705 wakaba 1.12 </dl>
2706 wakaba 1.42 </d:desc>
2707 wakaba 1.2 </d:item>
2708    
2709 wakaba 1.38 <d:item name="IMT:parameter missing"
2710     modules="IMTChecker">
2711     <d:message xml:lang="en">Parameter <code><var>{text}</var></code> have to
2712     be specified for the Internet Media Type
2713     <code><var>{value}</var></code>.</d:message>
2714     </d:item>
2715    
2716     <d:item name="IMT:parameter not allowed"
2717     modules="IMTChecker">
2718     <d:message xml:lang="en">Parameter <code><var>{value}</var></code> is not
2719     allowed for this Internet Media Type.</d:message>
2720     </d:item>
2721    
2722 wakaba 1.2 <d:item name="IMT:private subtype"
2723 wakaba 1.38 modules="IMTChecker">
2724     <d:message xml:lang="en">Use of a private Internet Media Type
2725     <code><var>{value}</var></code> is not encouraged.</d:message>
2726     </d:item>
2727    
2728     <d:item name="IMT:private type"
2729     modules="IMTChecker">
2730     <d:message xml:lang="en">Use of a private type
2731     <code><var>{value}</var></code> is not encouraged.</d:message>
2732     </d:item>
2733    
2734     <d:item name="IMT:subtype syntax error"
2735     modules="IMTChecker">
2736     <d:message xml:lang="en">Value <code><var>{value}</var></code> is
2737     syntactically not a valid subtype value of an Internet Media Type.</d:message>
2738     </d:item>
2739    
2740     <d:item name="IMT:type syntax error"
2741     modules="IMTChecker">
2742     <d:message xml:lang="en">Value <code><var>{value}</var></code> is
2743     syntactically not a valid type.</d:message>
2744     </d:item>
2745    
2746     <d:item name="IMT:unknown parameter"
2747     modules="IMTChecker">
2748     <d:message xml:lang="en">An unknown parameter <code><var>{value}</var></code>
2749     is used. The conformance checker cannot determine whether use of this
2750     parameter is valid or not.</d:message>
2751     </d:item>
2752    
2753     <d:item name="IMT:unknown subtype"
2754     modules="IMTChecker">
2755     <d:message xml:lang="en">An unknown Internet Media Type
2756     <code><var>{value}</var></code> is used. At the time of the update of
2757     the conformance checker's Internet Media Type database, the subtype is
2758     not reigstered to the IANA registry. The subtype, however, might be
2759     registerd to the IANA registry thereafter. Please consult the IANA
2760     registry.</d:message>
2761 wakaba 1.2 </d:item>
2762    
2763     <d:item name="IMT:unregistered subtype"
2764 wakaba 1.38 modules="IMTChecker">
2765     <d:message xml:lang="en">Use of an Internet Media Type
2766     <code><var>{value}</var></code> is not encouraged since it is not
2767     part of the IANA registry.</d:message>
2768     </d:item>
2769    
2770     <d:item name="IMT:unregistered type"
2771     modules="IMTChecker">
2772     <d:message xml:lang="en">Use of a type
2773     <code><var>{value}</var></code> is not encouraged since it is not
2774     a standardized type.</d:message>
2775 wakaba 1.2 </d:item>
2776    
2777 wakaba 1.31 <d:item name="not IMT"
2778     modules="ContentChecker::Atom">
2779     <d:message xml:lang="en">A value that is not an Internet Media Type
2780     is not allowed here.</d:message>
2781     </d:item>
2782    
2783 wakaba 1.2 </section>
2784    
2785     <section id="uri-errors">
2786 wakaba 1.33 <h2>URL Errors</h2>
2787 wakaba 1.2
2788 wakaba 1.33 <d:item name="syntax error:iri3987"
2789 wakaba 1.34 modules="URIChecker CacheManifest">
2790 wakaba 1.33 <d:message xml:lang="en">The specified value is syntactically not an
2791     IRI.</d:message>
2792     </d:item>
2793    
2794     <d:item name="syntax error:iriref3987"
2795     modules="URIChecker">
2796 wakaba 1.6 <d:message xml:lang="en">The specified value is syntactically not an IRI
2797     reference.</d:message>
2798     <d:desc xml:lang="en">
2799     <p>The specified value does not satisfy the syntactical requirements
2800     for IRI references. The document is non-conforming.</p>
2801    
2802     <p>Possible causes:
2803     <ul>
2804     <li>The string might contain one or more white space characters.
2805     Especially, the <code> </code> (<code>U+0020</code>
2806     <code class="charname">SPACE</code>) character cannot be
2807     used in IRI references.</li>
2808     </ul>
2809     </p>
2810     </d:desc>
2811 wakaba 1.2 </d:item>
2812    
2813 wakaba 1.33 <d:item name="syntax error:rdfuriref"
2814     modules="URIChecker">
2815     <d:message xml:lang="en">The specified value is syntactically not an RDF
2816     URI reference.</d:message>
2817     </d:item>
2818    
2819     <d:item name="syntax error:uri2396"
2820     modules="URIChecker">
2821     <d:message xml:lang="en">The specified value is syntactically not a
2822     URI according to RFC 2396.</d:message>
2823     </d:item>
2824    
2825     <d:item name="syntax error:uri3986"
2826     modules="URIChecker">
2827     <d:message xml:lang="en">The specified value is syntactically not a
2828     URI.</d:message>
2829     </d:item>
2830    
2831     <d:item name="URL:address format"
2832     modules="URIChecker">
2833     <d:message xml:lang="en">URL host address format
2834 wakaba 1.40 <code><var>{text}</var></code> is not defined.</d:message>
2835 wakaba 1.33 </d:item>
2836 wakaba 1.2
2837 wakaba 1.33 <d:item name="URL:default port"
2838     modules="URIChecker">
2839     <d:message xml:lang="en">Default port number should be omitted.</d:message>
2840     </d:item>
2841 wakaba 1.3
2842 wakaba 1.33 <d:item name="URL:dot-segment"
2843     modules="URIChecker">
2844 wakaba 1.9 <d:message xml:lang="en">A dot-segment (<code>.</code> or
2845     <code>..</code>) occurs in an absolute reference.</d:message>
2846 wakaba 1.3 <d:desc>
2847     <p>Dot-segment (<code>.</code> or <code>..</code>) should
2848     not occur in an absolute reference.</p>
2849    
2850     <p>In relative references, dot-segments are used to represent
2851     the current (<code>.</code>) or the parent (<code>..</code>)
2852     hierarchy of the path. Though they are also allowed
2853     in absolute references, it should be resolved to the
2854     canonical form before it has been published.</p>
2855     </d:desc>
2856     </d:item>
2857 wakaba 1.2
2858 wakaba 1.33 <d:item name="URL:empty host"
2859     modules="URIChecker">
2860     <d:message xml:lang="en">The host component of the URL is empty.</d:message>
2861     </d:item>
2862    
2863     <d:item name="URL:empty path"
2864     modules="URIChecker">
2865     <d:message xml:lang="en">The URL does not end with
2866     a <code>/</code> character.</d:message>
2867 wakaba 1.12 <d:item xml:lang="en">
2868     <p>The IRI does not end with a <code>/</code>. If there is an
2869     authority component in an IRI, a <code>/</code> should be present
2870     instead of empty path component.</p>
2871    
2872     <p>For example, <code>http://www.example.com<strong>/</strong></code>
2873     is preferred to <code>http://www.example.com</code>.</p>
2874     </d:item>
2875 wakaba 1.2 </d:item>
2876 wakaba 1.1
2877 wakaba 1.33 <d:item name="URL:empty port"
2878     modules="URIChecker">
2879     <d:message xml:lang="en">The port component of the URL is empty.</d:message>
2880     </d:item>
2881    
2882 wakaba 1.34 <d:item name="URL fragment not allowed"
2883     modules="CacheManifest">
2884     <d:message xml:lang="en">The fragment component of the URL is not
2885     allowed.</d:message>
2886     </d:item>
2887    
2888 wakaba 1.33 <d:item name="URL:long host"
2889     modules="URIChecker">
2890     <d:message xml:lang="en">The host component of the URL
2891     is too long.</d:message>
2892     </d:item>
2893    
2894     <d:item name="URL:lowercase hexadecimal digit"
2895     modules="URIChecker">
2896 wakaba 1.9 <d:message xml:lang="en">A lowercase hexadecimal digit is used
2897     in percent-encoding.</d:message>
2898 wakaba 1.4 <d:desc xml:lang="en">
2899     <p>The hexadecimal digit in percent-encoding string in the IRI
2900     is in lowercase. Though the IRI <em>is</em> conforming,
2901     it should be in uppercase.</p>
2902     </d:desc>
2903     </d:item>
2904    
2905 wakaba 1.33 <d:item name="URL:non-DNS host"
2906     modules="URIChecker">
2907     <d:message xml:lang="en">The host component of the URL
2908     is not a DNS host name.</d:message>
2909     </d:item>
2910    
2911     <d:item name="URL:non UTF-8 host"
2912     modules="URIChecker">
2913     <d:message xml:lang="en">The host component of the URL
2914     is not encoded in UTF-8.</d:message>
2915     </d:item>
2916    
2917     <d:item name="URL:password"
2918     modules="URIChecker">
2919     <d:message xml:lang="en">Password should not be included in a URL
2920     for the security.</d:message>
2921     </d:item>
2922    
2923     <d:item name="URL:percent-encoded unreserved"
2924     modules="URIChecker">
2925 wakaba 1.4 <d:message xml:lang="en">An unreserved character is
2926     percent-encoded.</d:message>
2927     <d:desc xml:lang="en">
2928     <p>An unreserved character is percent-encoded in the IRI.
2929     Though it <em>is</em> conforming, it should be in the
2930     decoded (or bare) form.</p>
2931     </d:desc>
2932     </d:item>
2933    
2934 wakaba 1.33 <d:item name="URL:uppercase host"
2935     modules="URIChecker">
2936     <d:message xml:lang="en">The host <code><var>{value}</var></code>
2937     should be spelt in lowercase.</d:message>
2938     </d:item>
2939    
2940     <d:item name="URL:uppercase scheme name"
2941     modules="URIChecker">
2942     <d:message xml:lang="en">URL scheme name is in uppercase.</d:message>
2943 wakaba 1.6 <d:desc xml:lang="en">
2944     <p>The scheme part of the IRI is written in uppercase letter.</p>
2945    
2946     <p>Uppercase scheme names are not required to be processed
2947     correctly.</p>
2948     <!-- @@
2949     RFC 3986 3.1.
2950     > Although schemes are case-
2951     insensitive, the canonical form is lowercase and documents that
2952     specify schemes must do so with lowercase letters.
2953    
2954     > An implementation ... should only produce lowercase scheme names for
2955     consistency.
2956     -->
2957     </d:desc>
2958     </d:item>
2959    
2960 wakaba 1.1 </section>
2961    
2962 wakaba 1.34 <section id="mq-errors">
2963     <h2>Media Query Errors</h2>
2964    
2965     <d:item name="mq syntax error"
2966     modules="CSS::MediaQueryParser">
2967     <d:message xml:lang="en">The specified value has a syntax error as a
2968     media query.</d:message>
2969     </d:item>
2970    
2971     <d:item name="unknown media type"
2972     modules="CSS::MediaQueryParser">
2973     <d:message xml:lang="en">Media type <code><var>{value}</var></code> is
2974     not supported by the conformance checker.</d:message>
2975     </d:item>
2976    
2977     </section>
2978    
2979     <section id="selectors-errors">
2980     <h2>Selectors Errors</h2>
2981    
2982     <d:item name="an+b not closed"
2983     modules="CSS::SelectorsParser">
2984     <d:message xml:lang="en">Argument list of the pseudo-class is
2985     not closed by a <code>)</code> character.</d:message>
2986     </d:item>
2987    
2988     <d:item name="ab+b not integer"
2989     modules="CSS::SelectorsParser">
2990     <d:message xml:lang="en">Numbers in the argument
2991     <code><var>a</var>n+<var>b</var></code> have to be integers.</d:message>
2992     </d:item>
2993    
2994     <d:item name="an+b syntax error"
2995     modules="CSS::SelectorsParser">
2996     <d:message xml:lang="en">Argument <code><var>a</var>n+<var>b</var></code> is
2997     syntactically incorrect.</d:message>
2998     </d:item>
2999    
3000     <d:item name="attr selector not closed"
3001     modules="CSS::SelectorsParser">
3002     <d:message xml:lang="en">Attribute selector is not closed by
3003     a <code>]</code> character.</d:message>
3004     </d:item>
3005    
3006     <d:item name="lang selector not closed"
3007     modules="CSS::SelectorsParser">
3008     <d:message xml:lang="en">Argument list of the <code>:lang</code>
3009     selector is not closed by a <code>)</code> character.</d:message>
3010     </d:item>
3011    
3012     <d:item name="namespace prefix:not declared"
3013     modules="CSS::SelectorsParser">
3014     <d:message xml:lang="en">Namespace prefix <code><var>{value}</var></code>
3015     is not declared.</d:message>
3016     </d:item>
3017    
3018     <d:item name="no attr local name"
3019     modules="CSS::SelectorsParser">
3020     <d:message xml:lang="en">Attribute local name is missing.</d:message>
3021     </d:item>
3022    
3023     <d:item name="no attr match"
3024     modules="CSS::SelectorsParser">
3025     <d:message xml:lang="en">Attribute matching operator (e.g.
3026     <code>=</code>) is missing.</d:message>
3027     </d:item>
3028    
3029     <d:item name="no attr name"
3030     modules="CSS::SelectorsParser">
3031     <d:message xml:lang="en">Attribute name is missing.</d:message>
3032     </d:item>
3033    
3034     <d:item name="no attr namespace separator"
3035     modules="CSS::SelectorsParser">
3036     <d:message xml:lang="en">Attribute namespace wildcard <code>*</code>
3037     is not followed by a <code>|</code> character.</d:message>
3038     </d:item>
3039    
3040     <d:item name="no attr value"
3041     modules="CSS::SelectorsParser">
3042     <d:message xml:lang="en">Attribute value is missing.</d:message>
3043     </d:item>
3044    
3045     <d:item name="no class name selector"
3046     modules="CSS::SelectorsParser">
3047     <d:message xml:lang="en">Class name is missing.</d:message>
3048     <!-- "." not followed by a class name -->
3049     </d:item>
3050    
3051     <d:item name="no combinator"
3052     modules="CSS::SelectorsParser">
3053     <d:message xml:lang="en">Combinator is missing.</d:message>
3054     </d:item>
3055    
3056     <d:item name="no contains string"
3057     modules="CSS::SelectorsParser">
3058     <d:message xml:lang="en">No string is specified in the argument
3059     list of the <code>:-manakai-contains</code> pseudo-class
3060     selector.</d:message>
3061     </d:item>
3062    
3063     <d:item name="no lang tag"
3064     modules="CSS::SelectorsParser">
3065     <d:message xml:lang="en">Language tag argument is missing.</d:message>
3066     </d:item>
3067    
3068     <d:item name="no local name selector"
3069     modules="CSS::SelectorsParser">
3070     <d:message xml:lang="en">Local name part of the type selector (or
3071     <code>*</code> for the universal selector) is missing.</d:message>
3072     <!-- "|" not followed by a name or "*" -->
3073     </d:item>
3074    
3075     <d:item name="no pseudo-class name"
3076     modules="CSS::SelectorsParser">
3077     <d:message xml:lang="en">Pseudo-class name is missing.</d:message>
3078     </d:item>
3079    
3080     <d:item name="no pseudo-element name"
3081     modules="CSS::SelectorsParser">
3082     <d:message xml:lang="en">Pseudo-element name is missing.</d:message>
3083     </d:item>
3084    
3085     <d:item name="no sss"
3086     modules="CSS::SelectorsParser">
3087     <d:message xml:lang="en">Sequence of simple selectors is
3088     expected.</d:message>
3089     </d:item>
3090    
3091     <d:item name="not not closed"
3092     modules="CSS::SelectorsParser">
3093     <d:message xml:lang="en">Argument list of the <code>:not</code> selector
3094     is not closed by a <code>)</code> character.</d:message>
3095     </d:item>
3096    
3097     <d:item name="ss after pseudo-element"
3098     modules="CSS::SelectorsParser">
3099     <d:message xml:lang="en">Simple selector is not allowed after a
3100     pseudo element.</d:message>
3101     </d:item>
3102    
3103     <d:item name="unknown pseudo-class"
3104     modules="CSS::SelectorsParser">
3105     <d:message xml:lang="en">Pseudo-class <code>:<var>{value}</var></code>
3106     is not supported by the conformance checker.</d:message>
3107     </d:item>
3108    
3109     <d:item name="unknown pseudo-element"
3110     modules="CSS::SelectorsParser">
3111     <d:message xml:lang="en">Pseudo-element <code>::<var>{value}</var></code>
3112     is not supported by the conformance checker.</d:message>
3113     </d:item>
3114    
3115     </section>
3116    
3117     <section id="css-errors">
3118     <h2>CSS Errors</h2>
3119    
3120     <d:item name="at-rule not allowed"
3121     modules="CSS::Parser">
3122     <d:message xml:lang="en">An <code>@<var>{text}</var></code> rule is not
3123     allowed here.</d:message>
3124     </d:item>
3125    
3126     <d:item name="at-rule syntax error"
3127     modules="CSS::Parser">
3128     <d:message xml:lang="en">The <code>@<var>{text}</var></code> rule is
3129     syntactically incorrect.</d:message>
3130     </d:item>
3131    
3132     <d:item name="block not closed"
3133     modules="CSS::Parser">
3134     <d:message xml:lang="en">Block is not closed before the end of
3135     file.</d:message>
3136     </d:item>
3137    
3138     <d:item name="CSS duplication"
3139     modules="CSS::Parser">
3140     <d:message xml:lang="en">Component <code>&lt;<var>{text}</var>></code> is
3141     already specified.</d:message>
3142     </d:item>
3143    
3144 wakaba 1.35 <d:item name="CSS cursor hand"
3145     modules="CSS::Parser">
3146     <d:message xml:lang="en">Value <code>hand</code> is not valid as
3147     <code>&lt;'cursor'></code>.</d:message>
3148     </d:item>
3149    
3150 wakaba 1.34 <d:item name="CSS syntax error"
3151     modules="CSS::Parser">
3152     <d:message xml:lang="en">Specified value is syntactically not a correct
3153     <code>&lt;<var>{text}</var>></code>.</d:message>
3154     </d:item>
3155    
3156     <d:item name="no declaration block"
3157     modules="CSS::Parser">
3158     <d:message xml:lang="en">No declaration block is found after a group of
3159     selectors.</d:message>
3160     </d:item>
3161    
3162     <d:item name="no property colon"
3163     modules="CSS::Parser">
3164     <d:message xml:lang="en">A <code>:</code> character is missing after
3165     a property name.</d:message>
3166     </d:item>
3167    
3168     <d:item name="no property name"
3169     modules="CSS::Parser">
3170     <d:message xml:lang="en">Property name is expected.</d:message>
3171     </d:item>
3172    
3173     <d:item name="no property semicolon"
3174     modules="CSS::Parser">
3175     <d:message xml:lang="en">A <code>;</code> character is missing at the
3176     end of the property.</d:message>
3177     </d:item>
3178    
3179     <d:item name="priority syntax error"
3180     modules="CSS::Parser">
3181     <d:message xml:lang="en">Priority part of the declaration is syntactically
3182     incorrect.</d:message>
3183     </d:item>
3184    
3185     <d:item name="unknown at-rule"
3186     modules="CSS::Parser">
3187     <d:message xml:lang="en">The <code>@<var>{value}</var></code> rule is
3188     not supported by the conformance checker.</d:message>
3189     </d:item>
3190    
3191     <d:item name="unknown property"
3192     modules="CSS::Parser">
3193     <d:message xml:lang="en">Property <code><var>{value}</var></code> is
3194     not supported by the conformance checker.</d:message>
3195     </d:item>
3196    
3197     </section>
3198    
3199 wakaba 1.12 <section id="cache-manifest-errors">
3200     <h2>Cache Manifest Errors</h2>
3201    
3202 wakaba 1.34 <d:item name="both in entries and whitelist"
3203     modules="CacheManifest">
3204     <d:message xml:lang="en">This URL is found both in the explicit or
3205     fallback entries and in the online whitelist.</d:message>
3206     </d:item>
3207    
3208     <d:item name="different origin from manifest"
3209     modules="CacheManifest">
3210     <d:message xml:lang="en">The specified URL has different origin from
3211     the manifest.</d:message>
3212     </d:item>
3213    
3214     <d:item name="different scheme from manifest"
3215     modules="CacheManifest">
3216     <d:message xml:lang="en">The scheme component of the URL is
3217     different from that of the manifest URL. The URL is ignored.</d:message>
3218     </d:item>
3219    
3220     <d:item name="duplicate oc namespace"
3221     modules="CacheManifest">
3222     <d:message xml:lang="en">This oppotunistic caching namespace is already
3223     specified.</d:message>
3224     </d:item>
3225    
3226     <d:item name="no fallback entry URL"
3227     modules="CacheManifest">
3228     <d:message xml:lang="en">Fallback entry URL is missing.</d:message>
3229     </d:item>
3230    
3231     <d:item name="not manifest"
3232     modules="CacheManifest">
3233 wakaba 1.12 <d:message xml:lang="en">This document is not a cache manifest.</d:message>
3234     <d:desc xml:lang="en">
3235     <p>The specified document is <em>not</em> a cache manifest.
3236     The document is non-conforming.</p>
3237    
3238     <p>An entity labeled as Internet media type
3239     <code>text/cache-manifest</code> must contain a cache manifest.</p>
3240    
3241     <p>A cache manifest must start with a line whose content is
3242 wakaba 1.15 <code class="manifest example">CACHE MANIFEST</code>
3243     (exactly one space character between
3244 wakaba 1.12 <code>CACHE</code> and <code>MANIFEST</code>).</p>
3245     </d:desc>
3246     </d:item>
3247 wakaba 1.34
3248     <d:item name="same as manifest URL"
3249     modules="CacheManifest">
3250     <d:message xml:lang="en">This URL is same as the manifest URL.</d:message>
3251     </d:item>
3252    
3253 wakaba 1.12 </section>
3254    
3255 wakaba 1.19 <section id="information">
3256     <h2>Stability Information</h2>
3257    
3258 wakaba 1.30 <d:item name="deprecated:attr"
3259     modules="ContentChecker">
3260     <d:message xml:lang="en">This attribute is deprecated.</d:message>
3261     </d:item>
3262    
3263     <d:item name="deprecated:element"
3264     modules="ContentChecker">
3265     <d:message xml:lang="en">This element is deprecated.</d:message>
3266     </d:item>
3267    
3268     <d:item name="status:cr:element"
3269     modules="ContentChecker">
3270 wakaba 1.19 <d:message xml:lang="en">This element is in the
3271 wakaba 1.21 <strong>call for implementation</strong> stage.</d:message>
3272 wakaba 1.19 <d:desc xml:lang="en">
3273 wakaba 1.21 <p>The element is in the call for implementation stage.</p>
3274 wakaba 1.19
3275     <p>Usually, using the element is safe. However, it is a new feature
3276     so that it might not be implemented correctly. If it is found that
3277     the feature is hard or impossible to implement, the feature
3278     might be revised, or in some case it might be dropped.</p>
3279    
3280 wakaba 1.21 <p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0
3281     (W3C Candidate Recommendation) belong to this class.</p>
3282 wakaba 1.19 </d:desc>
3283     </d:item>
3284    
3285 wakaba 1.30 <d:item name="status:lc:element"
3286     modules="ContentChecker">
3287 wakaba 1.19 <d:message xml:lang="en">This element is in the <strong>last
3288 wakaba 1.20 call for comments</strong> stage.</d:message>
3289 wakaba 1.19 <d:desc xml:lang="en">
3290 wakaba 1.20 <p>The element is in the last call for comments stage.</p>
3291 wakaba 1.19
3292     <p>The element is relatively mature, though the standardization
3293     is not done yet. It may be used for experiments. Since it is a new
3294     feature, it might not be implemented correctly or at all. If it is
3295     found that the feature is hard or impossible to implement, the feature
3296     might be revised or might be dropped.</p>
3297    
3298     <p>Elements defined by Web Forms 2.0 as well as some elements
3299     defined by HTML5 belong to this class.</p>
3300     </d:desc>
3301     </d:item>
3302    
3303 wakaba 1.30 <d:item name="status:wd:element"
3304     modules="ContentChecker">
3305 wakaba 1.19 <d:message xml:lang="en">This element is documented in a <strong>working
3306     draft</strong>.</d:message>
3307     <d:desc xml:lang="en">
3308     <p>The element is documented in a working or editor's draft
3309     and not yet completed.</p>
3310    
3311     <p>The element should not be used for any practical purpose.
3312     The feature might be drastically changed later or might be
3313     entirely removed.</p>
3314    
3315     <p>Most of new elements defined by HTML5 belong to this class.</p>
3316     </d:desc>
3317     </d:item>
3318    
3319 wakaba 1.30 <d:item name="status:non-standard:element"
3320     modules="ContentChecker">
3321 wakaba 1.19 <d:message xml:lang="en">This element is <strong>not part of any
3322 wakaba 1.21 standard</strong> the conformance checker knows.</d:message>
3323 wakaba 1.19 <d:desc xml:lang="en">
3324 wakaba 1.21 <p>The element is not part of any standard or draft the conformance
3325     checker is aware of.</p>
3326 wakaba 1.19
3327 wakaba 1.21 <p>The element should not be used for any practical purpose unless
3328     there is really a standard that defines the element.</p>
3329 wakaba 1.19 </d:desc>
3330     </d:item>
3331 wakaba 1.30
3332     <d:item name="status:cr:attr"
3333     modules="ContentChecker">
3334     <d:message xml:lang="en">This attribute is in the
3335     <strong>call for implementation</strong> stage.</d:message>
3336     <d:desc xml:lang="en">
3337     <p>The attribute is in the call for implementation stage.</p>
3338    
3339     <p>Usually, using the attribute is safe. However, it is a new feature
3340     so that it might not be implemented correctly. If it is found that
3341     the feature is hard or impossible to implement, the feature
3342     might be revised, or in some case it might be dropped.</p>
3343     </d:desc>
3344     </d:item>
3345    
3346     <d:item name="status:lc:attr"
3347     modules="ContentChecker">
3348     <d:message xml:lang="en">This attribute is in the <strong>last
3349     call for comments</strong> stage.</d:message>
3350     <d:desc xml:lang="en">
3351     <p>The attribute is in the last call for comments stage.</p>
3352    
3353     <p>The attribute is relatively mature, though the standardization
3354     is not done yet. It may be used for experiments. Since it is a new
3355     feature, it might not be implemented correctly or at all. If it is
3356     found that the feature is hard or impossible to implement, the feature
3357     might be revised or might be dropped.</p>
3358     </d:desc>
3359     </d:item>
3360    
3361     <d:item name="status:wd:attr"
3362     modules="ContentChecker">
3363     <d:message xml:lang="en">This attribute is documented in a <strong>working
3364     draft</strong>.</d:message>
3365     <d:desc xml:lang="en">
3366     <p>The attribute is documented in a working or editor's draft
3367     and not yet completed.</p>
3368    
3369     <p>The attribute should not be used for any practical purpose.
3370     The feature might be drastically changed later or might be
3371     entirely removed.</p>
3372     </d:desc>
3373     </d:item>
3374    
3375     <d:item name="status:non-standard:attr"
3376     modules="ContentChecker">
3377     <d:message xml:lang="en">This attribute is <strong>not part of any
3378     standard</strong> the conformance checker knows.</d:message>
3379     <d:desc xml:lang="en">
3380     <p>The attribute is not part of any standard or draft the conformance
3381     checker is aware of.</p>
3382    
3383     <p>The attribute should not be used for any practical purpose unless
3384     there is really a standard that defines the attribute.</p>
3385     </d:desc>
3386     </d:item>
3387 wakaba 1.19 </section>
3388    
3389 wakaba 1.33 <section id="langtag-errors">
3390     <h2>Language Tag Errors</h2>
3391    
3392     <d:item name="langtag:extension:duplication"
3393     modules="LangTag">
3394     <d:message xml:lang="en">There is another extension subtag
3395     <code><var>{value}</var></code>.</d:message>
3396     </d:item>
3397    
3398     <d:item name="langtag:illegal"
3399     modules="LangTag">
3400     <d:message xml:lang="en">Subtag <code><var>{value}</var></code> is
3401     syntactically invalid.</d:message>
3402     </d:item>
3403    
3404     <d:item name="langtag:language:case"
3405     modules="LangTag">
3406     <d:message xml:lang="en">It is a good practice to represent ISO 639-1
3407     language code <code><var>{value}</var></code> in lowercase.</d:message>
3408     </d:item>
3409    
3410     <d:item name="langtag:language:mul"
3411     modules="LangTag">
3412     <d:message xml:lang="en">Langauge tag <code>mul</code> should not be
3413     used.</d:message>
3414     </d:item>
3415    
3416     <d:item name="langtag:language:nosemantics"
3417     modules="LangTag">
3418     <d:message xml:lang="en">No semantics is defined for language subtag
3419     <code><var>{value}</var></code>.</d:message>
3420     </d:item>
3421    
3422     <d:item name="langtag:language:syntax"
3423     modules="LangTag">
3424     <d:message xml:lang="en">The language subtag <code><var>{value}</var></code>
3425     is syntactically invalid.</d:message>
3426     </d:item>
3427    
3428     <d:item name="langtag:language:und"
3429     modules="LangTag">
3430     <d:message xml:lang="en">Langauge tag <code>und</code> should not be
3431     used.</d:message>
3432     </d:item>
3433    
3434     <d:item name="langtag:private"
3435     modules="LangTag">
3436     <d:message xml:lang="en">It would be better if a private use language
3437     tag (<code><var>{value}</var></code>) is not used.</d:message>
3438     </d:item>
3439    
3440     <d:item name="langtag:privateuse:syntax"
3441     modules="LangTag">
3442     <d:message xml:lang="en">Private use subtag <code><var>{value}</var></code>
3443     is syntactically invalid.</d:message>
3444     </d:item>
3445    
3446     <d:item name="langtag:region:case"
3447     modules="LangTag">
3448     <d:message xml:lang="en">It is a good practice to represent ISO 3166
3449     country code <code><var>{value}</var></code> in uppercase.</d:message>
3450     </d:item>
3451    
3452     <d:item name="langtag:region:nosemantics"
3453     modules="LangTag">
3454     <d:message xml:lang="en">No semantics is defined for region subtag
3455     <code><var>{value}</var></code>.</d:message>
3456     </d:item>
3457    
3458     <d:item name="langtag:region:private"
3459     modules="LangTag">
3460     <d:message xml:lang="en">Use of private use country code
3461     <code><var>{value}</var></code> is not allowed.</d:message>
3462     </d:item>
3463    
3464     </section>
3465    
3466 wakaba 1.32 <section id="rdfxml-errors">
3467     <h2>RDF/XML Errors</h2>
3468    
3469     <d:item name="bad rdf namespace"
3470     modules="RDFXML">
3471     <d:message xml:lang="en">The namespace URI of an element that
3472     represents an RDF concept must be
3473     <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>.</d:message>
3474     </d:item>
3475    
3476     <d:item name="duplicate rdf id"
3477     modules="RDFXML">
3478     <d:message xml:lang="en">The specified value is already used as an
3479     ID.</d:message>
3480     </d:item>
3481    
3482     <d:item name="duplicate unqualified attr"
3483     modules="RDFXML">
3484     <d:message xml:lang="en">Both unqualified attribute and namespace‐qualified
3485     RDF attribute are specified, which is not allowed.</d:message>
3486     </d:item>
3487    
3488     <d:item name="parse type other"
3489     modules="RDFXML">
3490     <d:message xml:lang="en">An invalid value is specified to
3491     the <code>parseType</code> attribute.</d:message>
3492     </d:item>
3493    
3494     <d:item name="second node element"
3495     modules="RDFXML">
3496     <d:message xml:lang="en">There is another element, such that
3497     this element is not allowed.</d:message>
3498     </d:item>
3499    
3500     <d:item name="unqualified attr"
3501     modules="RDFXML">
3502     <d:message xml:lang="en">Unqualified attribute is not allowed.</d:message>
3503     </d:item>
3504    
3505     <d:item name="unqualified rdf attr"
3506     modules="RDFXML">
3507     <d:message xml:lang="en">RDF attribute should be
3508     namespace‐qualified.</d:message>
3509     </d:item>
3510    
3511     </section>
3512    
3513 wakaba 1.1 <section id="unsupported-messages">
3514     <h2><i>Unsupported</i> Messages</h2>
3515    
3516 wakaba 1.30 <d:item name="unknown element"
3517     modules="ContentChecker">
3518 wakaba 1.9 <d:message xml:lang="en">Conformance checking for element
3519     <code><var>{local-name}</var></code> is not supported; <em>it might or
3520     might not be conforming</em>.</d:message>
3521 wakaba 1.1 <d:desc xml:lang="en">
3522 wakaba 1.9 <p>The conformant checker does not support the element.
3523 wakaba 1.1 It cannot determine whether the document is conforming or not.</p>
3524     </d:desc>
3525     </d:item>
3526    
3527 wakaba 1.30 <d:item name="unknown attribute"
3528 wakaba 1.31 modules="ContentChecker ContentChecker::HTML ContentChecker::Atom">
3529 wakaba 1.9 <d:message xml:lang="en">Conformance checking for attribute
3530     <code><var>{local-name}</var></code> of element
3531     <code><var>{element-local-name}</var></code> is not supported;
3532     <em>it might or might not be conforming</em>.</d:message>
3533 wakaba 1.1 <d:desc xml:lang="en">
3534 wakaba 1.9 <p>The conformant checker does not support the attribute.
3535 wakaba 1.1 It cannot determine whether the document is conforming or not.</p>
3536     </d:desc>
3537     </d:item>
3538    
3539 wakaba 1.30 <d:item name="unknown link type"
3540     modules="ContentChecker::HTML">
3541     <d:message xml:lang="en">Link type <code><var>{value}</var></code> is not
3542 wakaba 1.4 standardized or registered at the time of the release of the conformance
3543 wakaba 1.9 checker; <em>it is non-conforming unless it now has been
3544 wakaba 1.4 registered</em>.</d:message>
3545 wakaba 1.1 <d:desc xml:lang="en">
3546     <p>The <code>rel</code> attribute is defined as a list of link types.
3547     Some common link types are defined in the HTML5 specification.
3548     Additional link types can be registered to the WHATWG Wiki.
3549     use of any other link type is non-conforming.</p>
3550    
3551     <p>The specified link type is not part of the standard or registry
3552     when the database used by the conformance cheker is created.
3553     The link type might have been added to the registry since then.
3554     In such case it might be conforming. Otherwise, the
3555     document is non-conforming.</p>
3556 wakaba 1.8
3557     <dl>
3558     <dt>Link types <code>shortcut icon</code></dt>
3559     <dd>Link type <code>shortcut</code> is not registered.
3560     Use only <code>icon</code> for linking to so-called favicon.</dd>
3561     </dl>
3562 wakaba 1.1 </d:desc>
3563     </d:item>
3564    
3565 wakaba 1.4 <d:item name="event handler"
3566 wakaba 1.30 modules="ContentChecker::HTML">
3567 wakaba 1.4 <d:message xml:lang="en">Conformance checking for event handler attribute
3568     is not supported; <em>it might or might not be conforming.</em></d:message>
3569     </d:item>
3570    
3571     <d:item name="media query"
3572 wakaba 1.30 modules="ContentChecker::HTML">
3573 wakaba 1.4 <d:message xml:lang="en">Conformance checking for media query
3574     is not supported; <em>it might or might not be conforming.</em></d:message>
3575     </d:item>
3576    
3577 wakaba 1.31 <d:item name="addr-spec not supported"
3578     modules="ContentChecker::Atom">
3579     <d:message xml:lang="en">Conformance checking for an <code>addr-spec</code>
3580     is not supported; <em>it might or might not be conforming.</em></d:message>
3581     </d:item>
3582    
3583 wakaba 1.30 <d:item name="XML script lang"
3584     modules="ContentChecker::HTML">
3585 wakaba 1.4 <d:message xml:lang="en">Conformance checking for script
3586 wakaba 1.30 language <code><var>{text}</var></code> is not supported;
3587 wakaba 1.4 <em>it might or might not be conforming.</em></d:message>
3588     </d:item>
3589    
3590 wakaba 1.30 <d:item name="XML style lang"
3591     modules="ContentChecker::HTML">
3592 wakaba 1.4 <d:message xml:lang="en">Conformance checking for style
3593 wakaba 1.30 language <code><var>{text}</var></code> is not supported;
3594 wakaba 1.4 <em>it might or might not be conforming.</em></d:message>
3595     </d:item>
3596    
3597 wakaba 1.31 <d:item name="atom|content not supported"
3598     modules="ContentChecker::Atom">
3599     <d:message xml:lang="en">Conformance checking for an Atom
3600     <code>content</code> element with <code>type</code>
3601     <code><var>{text}</var></code> is not supported.</d:message>
3602     </d:item>
3603    
3604 wakaba 1.36 <d:item name="help not available"
3605     modules="cc-script">
3606     <d:message xml:lang="en">No more information is available.</d:message>
3607 wakaba 1.37 <d:message xml:lang="ja">これ以上の詳しい情報はありません。</d:message>
3608 wakaba 1.36 <d:desc xml:lang="en">
3609     <p>No more information is available for this topic.</p>
3610     </d:desc>
3611 wakaba 1.37 <d:desc xml:lang="ja">
3612     <p>これについての詳しい情報はありません。</p>
3613     </d:desc>
3614 wakaba 1.36 </d:item>
3615    
3616 wakaba 1.1 </section>
3617    
3618 wakaba 1.28 <d:cat name="Input">
3619     <d:text xml:lang="en">Input</d:text>
3620     <d:text xml:lang="ja">入力</d:text>
3621     </d:cat>
3622    
3623     <d:cat name="By URL">
3624     <d:text xml:lang="en">By URL</d:text>
3625     <d:text xml:lang="ja">URL で指定</d:text>
3626     </d:cat>
3627    
3628     <d:cat name="By direct input">
3629     <d:text xml:lang="en">By direct input</d:text>
3630     <d:text xml:lang="ja">直接入力</d:text>
3631     </d:cat>
3632    
3633     <d:cat name="Options">
3634     <d:text xml:lang="en">More options</d:text>
3635     <d:text xml:lang="ja">検査オプション</d:text>
3636     </d:cat>
3637    
3638     <d:cat name="Check error page">
3639     <d:text xml:lang="en">Check an error page</d:text>
3640     <d:text xml:lang="ja">誤り頁を検査する</d:text>
3641     </d:cat>
3642    
3643     <d:cat name="Content type">
3644     <d:text xml:lang="en">Content type</d:text>
3645     <d:text xml:lang="ja">内容型</d:text>
3646     </d:cat>
3647    
3648     <d:cat name="Charset">
3649     <d:text xml:lang="en">Character encoding</d:text>
3650     <d:text xml:lang="ja">文字符号化</d:text>
3651     </d:cat>
3652    
3653     <d:cat name="As specified">
3654     <d:text xml:lang="en">As specified</d:text>
3655     <d:text xml:lang="ja">指定通り</d:text>
3656     </d:cat>
3657    
3658     <d:cat name="Japanese charsets">
3659     <d:text xml:lang="en">Japanese character encodings</d:text>
3660     <d:text xml:lang="ja">日本語用文字符号化</d:text>
3661     </d:cat>
3662    
3663     <d:cat name="European charsets">
3664     <d:text xml:lang="en">European character encodings</d:text>
3665     <d:text xml:lang="ja">欧米言語用文字符号化</d:text>
3666     </d:cat>
3667    
3668     <d:cat name="Asian charsets">
3669     <d:text xml:lang="en">Asian character encodings</d:text>
3670     <d:text xml:lang="ja">アジア諸語用文字符号化</d:text>
3671     </d:cat>
3672    
3673     <d:cat name="Unicode charsets">
3674     <d:text xml:lang="en">Unicode character encodings</d:text>
3675     <d:text xml:lang="ja">Unicode 系文字符号化</d:text>
3676     </d:cat>
3677    
3678     <d:cat name="Document source to check">
3679     <d:text xml:lang="en">Document source to check</d:text>
3680     <d:text xml:lang="ja">検査する文書のソース</d:text>
3681     </d:cat>
3682    
3683     <d:cat name="Check">
3684     <d:text xml:lang="en">Check</d:text>
3685     <d:text xml:lang="ja">検査</d:text>
3686     </d:cat>
3687    
3688     <d:cat name="Setting innerHTML">
3689     <d:text xml:lang="en">Setting <code>innerHTML</code> of HTML element</d:text>
3690     <d:text xml:lang="ja"><code>innerHTML</code> に値を設定する HTML 要素</d:text>
3691     </d:cat>
3692    
3693 wakaba 1.24 <d:cat name="Information">
3694     <d:text xml:lang="en">Information</d:text>
3695     <d:text xml:lang="ja">情報</d:text>
3696     </d:cat>
3697    
3698     <d:cat name="HTTP Header">
3699     <d:text xml:lang="en"><abbr title="Hypertext Transfer Protocol">HTTP</abbr>
3700     Header</d:text>
3701     <d:text xml:lang="ja"><abbr lang="en" title="Hypertext Transfer Protocol">HTTP</abbr>
3702     頭部</d:text>
3703     </d:cat>
3704    
3705     <d:cat name="Parse Errors Section">
3706     <d:text xml:lang="en">Parse Errors</d:text>
3707     <d:text xml:lang="ja">構文誤り</d:text>
3708     </d:cat>
3709    
3710     <d:cat name="Parse Errors">
3711     <d:text xml:lang="en">Parse Errors</d:text>
3712     <d:text xml:lang="ja">構文誤り</d:text>
3713     </d:cat>
3714    
3715     <d:cat name="Document Source">
3716     <d:text xml:lang="en">Document Source</d:text>
3717     <d:text xml:lang="ja">文書のソース</d:text>
3718     </d:cat>
3719    
3720     <d:cat name="Source">
3721     <d:text xml:lang="en">Source</d:text>
3722     <d:text xml:lang="ja">ソース</d:text>
3723     </d:cat>
3724    
3725     <d:cat name="Tables Section">
3726     <d:text xml:lang="en">Structure of Tables</d:text>
3727     <d:text xml:lang="ja">表の構造</d:text>
3728     </d:cat>
3729    
3730     <d:cat name="Tables">
3731     <d:text xml:lang="en">Tables</d:text>
3732     <d:text xml:lang="ja">表</d:text>
3733     </d:cat>
3734    
3735     <d:cat name="Document Tree">
3736     <d:text xml:lang="en">Document Tree</d:text>
3737     <d:text xml:lang="ja">文書木</d:text>
3738     </d:cat>
3739    
3740     <d:cat name="Tree">
3741     <d:text xml:lang="en">Tree</d:text>
3742     <d:text xml:lang="ja">木</d:text>
3743     </d:cat>
3744    
3745     <d:cat name="Document">
3746     <d:text xml:lang="en">Document</d:text>
3747     <d:text xml:lang="ja">文書</d:text>
3748     </d:cat>
3749    
3750     <d:cat name="Document Structure">
3751     <d:text xml:lang="en">Document Structure</d:text>
3752     <d:text xml:lang="ja">文書構造</d:text>
3753     </d:cat>
3754    
3755     <d:cat name="Structure">
3756     <d:text xml:lang="en">Structure</d:text>
3757     <d:text xml:lang="ja">構造</d:text>
3758     </d:cat>
3759    
3760     <d:cat name="Reformatted Document Source">
3761     <d:text xml:lang="en">Reformatted Document Source</d:text>
3762     <d:text xml:lang="ja">再整形した文書のソース</d:text>
3763     </d:cat>
3764    
3765     <d:cat name="Reformatted">
3766     <d:text xml:lang="en">Reformatted</d:text>
3767     <d:text xml:lang="ja">再整形</d:text>
3768     </d:cat>
3769    
3770 wakaba 1.32 <d:cat name="RDF Triples">
3771     <d:text xml:lang="en"><abbr>RDF</abbr> Triples</d:text>
3772     <d:text xml:lang="ja"><abbr lang="en">RDF</abbr> 三項組</d:text>
3773     </d:cat>
3774    
3775     <d:cat name="RDF">
3776     <d:text xml:lang="en"><abbr>RDF</abbr></d:text>
3777     <d:text xml:lang="ja"><abbr lang="en">RDF</abbr></d:text>
3778     </d:cat>
3779    
3780 wakaba 1.24 <d:cat name="Structural Errors">
3781     <d:text xml:lang="en">Structural Errors</d:text>
3782     <d:text xml:lang="ja">構造的誤り</d:text>
3783     </d:cat>
3784    
3785     <d:cat name="Struct. Errors">
3786     <d:text xml:lang="en">Struct. Errors</d:text>
3787     <d:text xml:lang="ja">構造誤り</d:text>
3788     </d:cat>
3789    
3790 wakaba 1.27 <d:cat name="Transfer Errors">
3791     <d:text xml:lang="en">Transfer Errors</d:text>
3792     <d:text xml:lang="ja">転送誤り</d:text>
3793     </d:cat>
3794    
3795     <d:cat name="Trans. Errors">
3796     <d:text xml:lang="en">Trans. Errors</d:text>
3797     <d:text xml:lang="ja">転送誤り</d:text>
3798     </d:cat>
3799    
3800 wakaba 1.28 <d:cat name="Result">
3801     <d:text xml:lang="en">Result</d:text>
3802     <d:text xml:lang="ja">結果</d:text>
3803     </d:cat>
3804    
3805 wakaba 1.24 <d:cat name="manakaiCompatMode:quirks">
3806     <d:text xml:lang="en">Quirks Mode</d:text>
3807     <d:text xml:lang="ja">奇癖モード</d:text>
3808     </d:cat>
3809    
3810     <d:cat name="manakaiCompatMode:limited quirks">
3811     <d:text xml:lang="en">Limited Quirks Mode</d:text>
3812     <d:text xml:lang="ja">限定奇癖モード</d:text>
3813     </d:cat>
3814    
3815     <d:cat name="manakaiCompatMode:no quirks">
3816     <d:text xml:lang="en">No Quirks Mode</d:text>
3817     <d:text xml:lang="ja">無奇癖モード</d:text>
3818     </d:cat>
3819    
3820     <d:cat name="manakaiIsHTML:1">
3821     <d:text xml:lang="en">HTML Document</d:text>
3822     <d:text xml:lang="ja">HTML 文書</d:text>
3823     </d:cat>
3824    
3825     <d:cat name="manakaiIsHTML:0">
3826     <d:text xml:lang="en">XML Document</d:text>
3827     <d:text xml:lang="ja">XML 文書</d:text>
3828     </d:cat>
3829    
3830     <d:cat name="manakaiCharset">
3831     <d:text xml:lang="en"><code>charset</code> parameter</d:text>
3832     <d:text xml:lang="ja"><code lang="en">charset</code> 引数</d:text>
3833     </d:cat>
3834    
3835     <d:cat name="inputEncoding">
3836     <d:text xml:lang="en">Input character encoding</d:text>
3837     <d:text xml:lang="ja">入力に用いた文字符号化</d:text>
3838     </d:cat>
3839    
3840     <d:cat name="xmlVersion">
3841     <d:text xml:lang="en">XML <code>version</code></d:text>
3842     <d:text xml:lang="ja">XML <code lang="en">version</code></d:text>
3843     </d:cat>
3844    
3845     <d:cat name="xmlEncoding">
3846     <d:text xml:lang="en">XML <code>encoding</code></d:text>
3847     <d:text xml:lang="ja">XML <code lang="en">encoding</code></d:text>
3848     </d:cat>
3849    
3850     <d:cat name="xmlStandalone">
3851     <d:text xml:lang="en">XML <code>standalone</code></d:text>
3852     <d:text xml:lang="ja">XML <code lang="en">standalone</code></d:text>
3853     </d:cat>
3854    
3855     <d:cat name="... with BOM">
3856     <d:text xml:lang="en"> (with <code class="charname"><abbr title="BYTE ORDER MARK">BOM</abbr></code>)</d:text>
3857     <d:text xml:lang="ja"> (<code class="charname" lang="en"><abbr title="BYTE ORDER MARK">BOM</abbr></code> つき)</d:text>
3858     </d:cat>
3859    
3860 wakaba 1.25 <d:cat name="URL">
3861     <d:text xml:lang="en"><abbr title="Uniform Resource Locator">URL</abbr></d:text>
3862     <d:text xml:lang="ja"><abbr title="統一資源所在子">URL</abbr></d:text>
3863 wakaba 1.24 </d:cat>
3864    
3865 wakaba 1.25 <d:cat name="URLs">
3866     <d:text xml:lang="en"><abbr title="Uniform Resource Locators">URLs</abbr></d:text>
3867     <d:text xml:lang="ja"><abbr title="統一資源所在子">URL</abbr></d:text>
3868 wakaba 1.24 </d:cat>
3869    
3870     <d:cat name="Container Node">
3871     <d:text xml:lang="en">Container Node</d:text>
3872     <d:text xml:lang="ja">この文書を含む節点</d:text>
3873     </d:cat>
3874    
3875     <d:cat name="Table Element">
3876     <d:text xml:lang="en">Table Element</d:text>
3877     <d:text xml:lang="ja">表要素</d:text>
3878     </d:cat>
3879    
3880     <d:cat name="Base URL">
3881     <d:text xml:lang="en">Base URL</d:text>
3882     <d:text xml:lang="ja">基底 URL</d:text>
3883     </d:cat>
3884    
3885     <d:cat name="Internet Media Type">
3886     <d:text xml:lang="en">Internet Media Type</d:text>
3887     <d:text xml:lang="ja">インターネット媒体型</d:text>
3888     </d:cat>
3889    
3890     <d:cat name="Character Encoding">
3891     <d:text xml:lang="en">Character Encoding</d:text>
3892     <d:text xml:lang="ja">文字符号化</d:text>
3893     </d:cat>
3894    
3895     <d:cat name="Byte Length">
3896     <d:text xml:lang="en">Byte Length</d:text>
3897     <d:text xml:lang="ja">バイト長</d:text>
3898     </d:cat>
3899    
3900     <d:cat name="Character Length">
3901     <d:text xml:lang="en">Character Length</d:text>
3902     <d:text xml:lang="ja">文字長</d:text>
3903     </d:cat>
3904    
3905     <d:cat name="... overridden">
3906     <d:text xml:lang="en"> (<i>overridden</i>)</d:text>
3907     <d:text xml:lang="ja"> (<i>上書き</i>)</d:text>
3908     </d:cat>
3909    
3910     <d:cat name="... overridden, official type is #">
3911     <d:text xml:lang="en"> (<i>overridden</i>; official type is
3912     <code lang="en" class="MIME"><var>{text}</var></code>)</d:text>
3913     <d:text xml:lang="ja"> (<i>上書き</i>, 公式型は
3914     <code lang="en" class="MIME"><var>{text}</var></code>)</d:text>
3915     </d:cat>
3916    
3917     <d:cat name="... sniffed">
3918     <d:text xml:lang="en"> (<i>sniffed</i>)</d:text>
3919     <d:text xml:lang="ja"> (<i>探知結果</i>)</d:text>
3920     </d:cat>
3921    
3922     <d:cat name="byte">
3923     <d:text xml:lang="en">byte</d:text>
3924     <d:text xml:lang="ja">バイト</d:text>
3925     </d:cat>
3926    
3927     <d:cat name="bytes">
3928     <d:text xml:lang="en">bytes</d:text>
3929     <d:text xml:lang="ja">バイト</d:text>
3930     </d:cat>
3931    
3932 wakaba 1.34 <d:cat name="Explicit entries">
3933     <d:text xml:lang="en">Explicit entries</d:text>
3934     <d:text xml:lang="ja">明示的項目</d:text>
3935     </d:cat>
3936    
3937     <d:cat name="Fallback entries">
3938     <d:text xml:lang="en">Fallback entries</d:text>
3939     <d:text xml:lang="ja">滑り止め項目</d:text>
3940     </d:cat>
3941    
3942     <d:cat name="Opportunistic caching namespace">
3943     <d:text xml:lang="en">Opportunistic caching namespace</d:text>
3944     <d:text xml:lang="ja">日和見的キャッシュ化名前空間</d:text>
3945     </d:cat>
3946    
3947     <d:cat name="Fallback entry">
3948     <d:text xml:lang="en">Fallback entry</d:text>
3949     <d:text xml:lang="ja">滑り止め項目</d:text>
3950     </d:cat>
3951    
3952     <d:cat name="Online whitelist">
3953     <d:text xml:lang="en">Online whitelist</d:text>
3954     <d:text xml:lang="ja">オンライン・ホワイトリスト</d:text>
3955     </d:cat>
3956    
3957     <d:cat name="No entry">
3958     <d:text xml:lang="en">No entry</d:text>
3959     <d:text xml:lang="ja">項目なし</d:text>
3960     </d:cat>
3961    
3962 wakaba 1.32 <d:cat name="Subject">
3963     <d:text xml:lang="en">Subject</d:text>
3964     <d:text xml:lang="ja">主語</d:text>
3965     </d:cat>
3966    
3967     <d:cat name="Predicate">
3968     <d:text xml:lang="en">Predicate</d:text>
3969     <d:text xml:lang="ja">述語</d:text>
3970     </d:cat>
3971    
3972     <d:cat name="Object">
3973     <d:text xml:lang="en">Object</d:text>
3974     <d:text xml:lang="ja">目的語</d:text>
3975     </d:cat>
3976    
3977 wakaba 1.24 <d:cat name="character">
3978     <d:text xml:lang="en">character</d:text>
3979     <d:text xml:lang="ja">文字</d:text>
3980     </d:cat>
3981    
3982     <d:cat name="characters">
3983     <d:text xml:lang="en">characters</d:text>
3984     <d:text xml:lang="ja">文字</d:text>
3985     </d:cat>
3986    
3987     <d:cat name="Line #">
3988     <d:text xml:lang="en">Line <var>{text}</var></d:text>
3989     <d:text xml:lang="ja"><var>{text}</var> 行</d:text>
3990     </d:cat>
3991    
3992     <d:cat name="column #">
3993     <d:text xml:lang="en">column <var>{text}</var></d:text>
3994     <d:text xml:lang="ja"><var>{text}</var> 列</d:text>
3995     </d:cat>
3996    
3997     <d:cat name="Index #">
3998     <d:text xml:lang="en">Index <var>{text}</var></d:text>
3999     <d:text xml:lang="ja">索引 #<var>{text}</var></d:text>
4000     </d:cat>
4001    
4002 wakaba 1.28 <d:cat name="Unknown location">
4003     <d:text xml:lang="en">Unknown location</d:text>
4004     <d:text xml:lang="ja">位置不明</d:text>
4005     </d:cat>
4006    
4007 wakaba 1.42 <d:cat name="(unknown)">
4008 wakaba 1.37 <d:text xml:lang="en">(Unknown)</d:text>
4009     <d:text xml:lang="ja">(不明)</d:text>
4010     </d:cat>
4011    
4012 wakaba 1.36 <d:cat name="Description">
4013     <d:text xml:lang="en">Description</d:text>
4014     <d:text xml:lang="ja">説明</d:text>
4015     </d:cat>
4016    
4017 wakaba 1.24 <d:cat name="Table #">
4018     <d:text xml:lang="en">Structure of Table #<var>{text}</var></d:text>
4019     <d:text xml:lang="ja">表 #<var>{text}</var> の構造</d:text>
4020     </d:cat>
4021    
4022     <d:cat name="Subdocument #">
4023     <d:text xml:lang="en">Subdocument #<var>{text}</var></d:text>
4024     <d:text xml:lang="ja">部分文書 #<var>{text}</var></d:text>
4025     </d:cat>
4026    
4027     <d:cat name="Sub #">
4028     <d:text xml:lang="en">Sub #<var>{text}</var></d:text>
4029     <d:text xml:lang="ja">部分 #<var>{text}</var></d:text>
4030     </d:cat>
4031 wakaba 1.2
4032 wakaba 1.27 <d:cat name="...">
4033     <d:text xml:lang="en">..</d:text><!-- TODO: figure hyphen? -->
4034     <d:text xml:lang="ja">〜</d:text>
4035     </d:cat>
4036    
4037     <d:cat name="Score">
4038     <d:text xml:lang="en">Score</d:text>
4039     <d:text xml:lang="ja">得点</d:text>
4040     </d:cat>
4041    
4042     <d:cat name="Subtotal">
4043     <d:text xml:lang="en">Subtotal</d:text>
4044     <d:text xml:lang="ja">小計</d:text>
4045     </d:cat>
4046    
4047     <d:cat name="Total">
4048     <d:text xml:lang="en">Total</d:text>
4049     <d:text xml:lang="ja">合計</d:text>
4050     </d:cat>
4051    
4052     <d:cat name="Main document">
4053     <d:text xml:lang="en">Main document</d:text>
4054     <d:text xml:lang="ja">主文書</d:text>
4055     </d:cat>
4056    
4057     <d:cat name="Subdocuments">
4058     <d:text xml:lang="en">Subdocuments</d:text>
4059     <d:text xml:lang="ja">部分文書</d:text>
4060     </d:cat>
4061    
4062 wakaba 1.28 <d:cat name="Transfer L.">
4063 wakaba 1.27 <d:text xml:lang="en"><abbr title="Transfer protocol">Transfer</abbr></d:text>
4064     <d:text xml:lang="ja"><abbr title="転送プロトコル">転送</abbr></d:text>
4065     </d:cat>
4066    
4067 wakaba 1.28 <d:cat name="Encode L.">
4068 wakaba 1.27 <d:text xml:lang="en"><abbr title="Character encoding">Encoding</abbr></d:text>
4069     <d:text xml:lang="ja"><abbr title="文字符号化">符号</abbr></d:text>
4070     </d:cat>
4071    
4072 wakaba 1.28 <d:cat name="Char L.">
4073 wakaba 1.27 <d:text xml:lang="en"><abbr title="Coded characters">Character</abbr></d:text>
4074     <d:text xml:lang="ja"><abbr title="符号化文字">文字</abbr></d:text>
4075     </d:cat>
4076    
4077 wakaba 1.28 <d:cat name="Syntax L.">
4078 wakaba 1.27 <d:text xml:lang="en">Syntax</d:text>
4079     <d:text xml:lang="ja">構文</d:text>
4080     </d:cat>
4081    
4082 wakaba 1.28 <d:cat name="Structure L.">
4083     <d:text xml:lang="en">Structure</d:text>
4084     <d:text xml:lang="ja">構造</d:text>
4085     </d:cat>
4086 wakaba 1.27
4087 wakaba 1.28 <d:cat name="Semantics L.">
4088 wakaba 1.27 <d:text xml:lang="en">Semantics</d:text>
4089     <d:text xml:lang="ja">意味</d:text>
4090     </d:cat>
4091    
4092     <d:cat name="N/A">
4093     <d:text xml:lang="en">N/A</d:text>
4094     <d:text xml:lang="ja">−</d:text>
4095     </d:cat>
4096    
4097 wakaba 1.28 <d:cat name="No error found.">
4098     <d:text xml:lang="en">No error found.</d:text>
4099     <d:text xml:lang="ja">誤りは見つかりませんでした。</d:text>
4100     </d:cat>
4101    
4102     <d:cat name="No transfer error found.">
4103     <d:text xml:lang="en">This document has no transfer protocol header error.</d:text>
4104     <d:text xml:lang="ja">転送プロトコルの頭部に誤りは見つかりませんでした。</d:text>
4105     </d:cat>
4106    
4107     <d:cat name="No parse error found.">
4108     <d:text xml:lang="en">This document has no parse error.</d:text>
4109     <d:text xml:lang="ja">構文解析中に誤りは見つかりませんでした。</d:text>
4110     </d:cat>
4111    
4112     <d:cat name="No structural error found.">
4113     <d:text xml:lang="en">This document has no structral error.</d:text>
4114     <d:text xml:lang="ja">構造上の誤りは見つかりませんでした。</d:text>
4115     </d:cat>
4116    
4117 wakaba 1.27 <d:cat name="This checker is work in progress.">
4118     <d:text xml:lang="en">
4119     <p><strong>Important</strong>: This conformance checking service
4120     is <em>under development</em>. The result above might be <em>wrong</em>.</p>
4121     </d:text>
4122     <d:text xml:lang="ja">
4123     <p><strong>重要</strong>: この適合性検査サービスは<em>開発中</em>です。
4124     この結果は<em>間違い</em>かもしれません。</p>
4125     </d:text>
4126     </d:cat>
4127    
4128     <d:cat name="Conformance is conforming">
4129     <d:text xml:lang="en">No conformance‐error is
4130     found in this document.</d:text>
4131     <d:text xml:lang="ja">この文書に適合性に関わる誤りは見つかりませんでした。</d:text>
4132     </d:cat>
4133    
4134     <d:cat name="Conformance is should-error">
4135     <d:text xml:lang="en">This document
4136     is <strong>likely <em>non</em>-conforming</strong>, but in rare case
4137     it might be conforming. The checker cannot determine whether
4138     this document is in the rare case or not.</d:text>
4139     <d:text xml:lang="ja">この文書は<strong>おそらく<em>不</em>適合</strong>ですが、
4140     稀に適合している場合もあります。適合性検査器はこの文書が稀な場合に該当するかどうか判定できません。</d:text>
4141     </d:cat>
4142    
4143     <d:cat name="Conformance is non-conforming">
4144     <d:text xml:lang="en">This document is
4145     <strong><em>non</em>-conforming</strong>.</d:text>
4146     <d:text xml:lang="ja">この文書は<strong><em>不</em>適合</strong>です。</d:text>
4147     </d:cat>
4148    
4149     <d:cat name="Conformance is uncertain">
4150     <d:text xml:lang="en">The conformance
4151     checker cannot decide whether the document is conforming or
4152     not, since the document contains one or more unsupported
4153     features. The document might or might not be conforming.</d:text>
4154     <d:text xml:lang="ja">適合性検査器はこの文書が適合するかどうか判定できませんでした。
4155     この文書は適合性検査器が対応していない機能を使っています。
4156     この文書は適合しているかもしれませんし、していないかもしれません。</d:text>
4157     </d:cat>
4158    
4159     <d:cat name="Error level m">
4160 wakaba 1.36 <d:text xml:lang="en"><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119">MUST</em>‐level
4161 wakaba 1.27 error</a></d:text>
4162 wakaba 1.36 <d:text xml:lang="ja"><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></d:text>
4163     <d:desc xml:lang="en">
4164     <p>A violation to a hard requirement of the specification.
4165     The document is non‐conforming.</p>
4166     </d:desc>
4167 wakaba 1.27 </d:cat>
4168    
4169     <d:cat name="Error level s">
4170 wakaba 1.36 <d:text xml:lang="en"><a href="../error-description#Error-level-s" rel="help"><em class="rfc2119">SHOULD</em>‐level
4171 wakaba 1.27 error</a></d:text>
4172 wakaba 1.36 <d:text xml:lang="ja"><a href="../error-description#Error-level-s" rel="help"><em class="rfc2119" title="RECOMMENDED">推奨</em>級の誤り</a></d:text>
4173     <d:desc xml:lang="en">
4174     <p>A violation to a requirement of the specification.
4175     The violation might be legitimize in some case. Otherwise,
4176     the document is non‐conforming.</p>
4177     </d:desc>
4178 wakaba 1.27 </d:cat>
4179    
4180     <d:cat name="Error level w">
4181 wakaba 1.36 <d:text xml:lang="en"><a href="../error-description#Error-level-w" rel="help">Warning</a></d:text>
4182     <d:text xml:lang="ja"><a href="../error-description#Error-level-w" rel="help">警告</a></d:text>
4183     <d:desc xml:lang="en">
4184     <p>A warning is an advice from the conformance checker
4185     to avoid solving a problem in a confusing or possibly wrong way.
4186     It does not affect to the conformance of the document, and
4187     may sometimes be inappropriate.</p>
4188     </d:desc>
4189 wakaba 1.27 </d:cat>
4190    
4191     <d:cat name="Error level i">
4192 wakaba 1.36 <d:text xml:lang="en"><a href="../error-description#Error-level-i" rel="help">Information</a></d:text>
4193     <d:text xml:lang="ja"><a href="../error-description#Error-level-i" rel="help">情報</a></d:text>
4194     <d:desc xml:lang="en">
4195     <p>An informational message just provides an additional information
4196     on the feature used in the document or the status of the retrieval
4197     or so on.
4198     It does not affect to the conformance of the document.</p>
4199     </d:desc>
4200 wakaba 1.27 </d:cat>
4201    
4202     <d:cat name="Error level u">
4203 wakaba 1.36 <d:text xml:lang="en"><a href="../error-description#Error-level-u" rel="help">Not
4204 wakaba 1.27 supported</a></d:text>
4205 wakaba 1.36 <d:text xml:lang="ja"><a href="../error-description#Error-level-u" rel="help">未対応</a></d:text>
4206     <d:desc xml:lang="en">
4207     <p>Some feature that is not supported by the conformance checker
4208     is used in the document.</p>
4209     </d:desc>
4210 wakaba 1.27 </d:cat>
4211    
4212 wakaba 1.1 <section id="license">
4213     <h2>License of This Document</h2>
4214    
4215 wakaba 1.21 <p>Copyright <time>2007</time>‐<time>2008</time>
4216 wakaba 1.12 <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>
4217     <code class="mail">&lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></code>.</p>
4218    
4219 wakaba 1.9 <p>This document is free software; you can redistribute it
4220 wakaba 1.1 and/or modify it under the same terms as Perl itself.</p>
4221     </section>
4222    
4223 wakaba 1.45 <!-- $Date: 2008/09/11 09:13:57 $ -->
4224 wakaba 1.1 </body>
4225     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24