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

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.45

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24