/[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.42 - (hide annotations) (download) (as text)
Sun Aug 31 13:28:12 2008 UTC (16 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.41: +107 -13 lines
File MIME type: text/xml
++ ChangeLog	31 Aug 2008 13:28:00 -0000
2008-08-31  Wakaba  <wakaba@suika.fam.cx>

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24