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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.50

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24