/[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.44 - (hide annotations) (download) (as text)
Thu Sep 11 09:13:57 2008 UTC (16 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.43: +46 -1 lines
File MIME type: text/xml
++ ChangeLog	11 Sep 2008 09:13:08 -0000
2008-09-11  Wakaba  <wakaba@suika.fam.cx>

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

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

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

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

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24