/[pub]/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.41 - (hide annotations) (download) (as text)
Sat Aug 30 16:10:07 2008 UTC (16 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.40: +130 -27 lines
File MIME type: text/xml
++ ChangeLog	30 Aug 2008 16:10:05 -0000
	* error-description-source.xml: Descriptions for new error
	types are added.

2008-08-30  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24