/[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.49 - (hide annotations) (download) (as text)
Sat Sep 20 04:47:35 2008 UTC (16 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.48: +207 -13 lines
File MIME type: text/xml
++ ChangeLog	20 Sep 2008 04:47:25 -0000
2008-09-20  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: New error for accept-charset="".
	New errors for RFC 4646 errors.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24