/[suikacvs]/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.30 by wakaba, Fri Aug 15 12:11:56 2008 UTC revision 1.43 by wakaba, Wed Sep 10 10:22:59 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">  <section id="character-encoding-layer">
57  <h2>Character Encoding Layer Errors</h2>  <h2>Character Encoding Layer Errors</h2>
58    
59  <d:item name="illegal-octets-error" class="error-category-charset" level="m">  <d:item name="fallback-char-error"
60    <d:message xml:lang="en">An illegal octet in the input stream.</d:message>      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>  </d:item>
99  </section>  </section>
100    
# Line 135  Web Document Conformance Checker (BETA)< Line 214  Web Document Conformance Checker (BETA)<
214    
215  <d:item name="chardecode:fallback"  <d:item name="chardecode:fallback"
216      modules="HTML::Parser">      modules="HTML::Parser">
217    <d:message xml:lang="en">Since no decoder for the document character    <d:message xml:lang="en">Results might be <em>wrong</em>, since the
218    encoding is found, decoder for the character encoding    conformance checker cannot find an appropriate decoder for the character
219    <code><var>{text}</var></code> is used.  Checking results might be    encoding used for the document.</d:message>
220    <em>wrong</em>.</d:message>    <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>  </d:item>
245    
246  <d:item name="chardecode:no error"  <d:item name="chardecode:no error"
# Line 156  Web Document Conformance Checker (BETA)< Line 258  Web Document Conformance Checker (BETA)<
258  </d:item>  </d:item>
259    
260  <d:item name="charset label detected"  <d:item name="charset label detected"
     class="format-charset warning"  
261      modules="HTML::Parser">      modules="HTML::Parser">
262    <d:message xml:lang="en">While parsing the document as    <d:message xml:lang="en">While parsing the document as
263    <code><var>{text}</var></code>, a character encoding declaration specifying    <code><var>{text}</var></code>, a character encoding declaration specifying
# Line 204  Web Document Conformance Checker (BETA)< Line 305  Web Document Conformance Checker (BETA)<
305  <section id="html5-tokenize-error">  <section id="html5-tokenize-error">
306  <h2>HTML5 Parse Errors in Tokenization Stage</h2>  <h2>HTML5 Parse Errors in Tokenization Stage</h2>
307    
 <d:item name="after html"  
     class="parse-error">  
   <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>  
   is not allowed after the end tag <code>&lt;/html></code>.</d:message>  
   <d:desc xml:lang="en">  
     <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>  
   
     <p>Any content of the document other than comments  
     must be put into the <code>html</code> element.</p>  
   </d:desc>  
 </d:item>  
   
 <d:item name="after body"  
     class="parse-error">  
   <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>  
   is not allowed after the end tag <code>&lt;/body></code>.</d:message>  
   <d:desc xml:lang="en">  
     <p>The start or end tag of an element appears after the  
     <code>body</code> element has been closed.  The document is  
     non-conforming.</p>  
   
     <p>Any content of the document other than <code>head</code>  
     contents and comments must be put into the <code>body</code>  
     element.</p>  
   </d:desc>  
 </d:item>  
   
308  <d:item name="bad attribute name"  <d:item name="bad attribute name"
     class="tokenize-error"  
309      modules="HTML::Parser">      modules="HTML::Parser">
310    <d:message xml:lang="en">Attribute name cannot contain characters    <d:message xml:lang="en">Attribute name cannot contain characters
311    <code>"</code>, <code>'</code>, and <code>=</code>.</d:message>    <code>"</code>, <code>'</code>, and <code>=</code>.</d:message>
312  </d:item>  </d:item>
313    
314  <d:item name="bad attribute value"  <d:item name="bad attribute value"
     class="tokenize-error"  
315      modules="HTML::Parser">      modules="HTML::Parser">
316    <d:message xml:lang="en">Attribute value must be quoted by <code>"</code>    <d:message xml:lang="en">Attribute value must be quoted by <code>"</code>
317    or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or    or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or
318    <code>=</code> character.</d:message>    <code>=</code> character.</d:message>
319      <d:desc xml:lang="en">
320        <p>In an unquoted attribute value, a character <code>"</code>
321        (<code>U+0022</code> <code class="charname">QUOTATION MARK</code>),
322        <code>'</code> (<code>U+0026</code>
323        <code class="charname">APOSTROPHE</code>), or <code>=</code>
324        (<code>U+003D</code> <code class="charname">EQUAL SIGN</code>)
325        is contained.  These characters are not allowed in unquoted attribute
326        values, since they are used to quote attribute values or to separate
327        attribute name and value.</p>
328    
329        <p>This error is also raised if one try to use empty attribute
330        value like <code class="html bad example">&lt;foo bar= baz=></code>;
331        in this example, <code class="html bad example">baz=</code> is
332        treated as an invalid attribute value for the attribute
333        <code class="html bad example">bar</code>, not as another attribute.</p>
334      </d:desc>
335  </d:item>  </d:item>
336    
337  <d:item name="bare ero"  <d:item name="bare ero"
     class="tokenize-error"  
338      modules="HTML::Parser">      modules="HTML::Parser">
339    <d:message xml:lang="en">The <code>&amp;</code> character must    <d:message xml:lang="en">The <code>&amp;</code> character must
340    be escaped as <code class="html example">&amp;amp;</code>.</d:message>    be escaped as <code class="html example">&amp;amp;</code>.</d:message>
# Line 287  Web Document Conformance Checker (BETA)< Line 372  Web Document Conformance Checker (BETA)<
372  </d:item>  </d:item>
373    
374  <d:item name="bare etago"  <d:item name="bare etago"
     class="tokenize-error"  
375      modules="HTML::Parser">      modules="HTML::Parser">
376    <d:message xml:lang="en">A <code>&lt;/</code> string is not followed    <d:message xml:lang="en">A <code>&lt;/</code> string is not followed
377    by a tag name.</d:message><!-- </ EOF -->    by a tag name.</d:message><!-- </ EOF -->
# Line 311  Web Document Conformance Checker (BETA)< Line 395  Web Document Conformance Checker (BETA)<
395  </d:item>  </d:item>
396    
397  <d:item name="bare stago"  <d:item name="bare stago"
     class="tokenize-error"  
398      modules="HTML::Parser">      modules="HTML::Parser">
399    <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
400    by tag name or by a <code>!</code> character.</d:message>    by tag name or by a <code>!</code> character.</d:message>
# Line 328  Web Document Conformance Checker (BETA)< Line 411  Web Document Conformance Checker (BETA)<
411  </d:item>  </d:item>
412    
413  <d:item name="bare nero"  <d:item name="bare nero"
     class="tokenize-error"  
414      modules="HTML::Parser">      modules="HTML::Parser">
415    <d:message xml:lang="en">The decimal representation of the code position    <d:message xml:lang="en">The decimal representation of the code position
416    of a character must be specified after <code>&amp;#</code>.</d:message>    of a character must be specified after <code>&amp;#</code>.</d:message>
# Line 362  Web Document Conformance Checker (BETA)< Line 444  Web Document Conformance Checker (BETA)<
444  </d:item>  </d:item>
445    
446  <d:item name="bare hcro"  <d:item name="bare hcro"
     class="tokenize-error"  
447      modules="HTML::Parser">      modules="HTML::Parser">
448    <d:message xml:lang="en">The hexadecimal representation of the code position    <d:message xml:lang="en">The hexadecimal representation of the code position
449    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>
# Line 385  Web Document Conformance Checker (BETA)< Line 466  Web Document Conformance Checker (BETA)<
466  </d:item>  </d:item>
467    
468  <d:item name="bogus comment"  <d:item name="bogus comment"
     class="tokenize-error"  
469      modules="HTML::Parser">      modules="HTML::Parser">
470    <d:message xml:lang="en">String <code>&lt;!</code> is not followed    <d:message xml:lang="en">String <code>&lt;!</code> is not followed
471    by <code>--</code>.</d:message>    by <code>--</code>.</d:message>
# Line 420  Web Document Conformance Checker (BETA)< Line 500  Web Document Conformance Checker (BETA)<
500  </d:item>  </d:item>
501    
502  <d:item name="bogus end tag"  <d:item name="bogus end tag"
     class="tokenize-error"  
503      modules="HTML::Parser">      modules="HTML::Parser">
504    <d:message xml:lang="en">String <code>&lt;/</code> is not followed    <d:message xml:lang="en">String <code>&lt;/</code> is not followed
505    by tag name.</d:message><!-- </ non-name-start-char-non-EOF -->    by tag name.</d:message><!-- </ non-name-start-char-non-EOF -->
# Line 443  Web Document Conformance Checker (BETA)< Line 522  Web Document Conformance Checker (BETA)<
522  </d:item>  </d:item>
523    
524  <d:item name="C1 character reference"  <d:item name="C1 character reference"
     class="tokenize-error"  
525      modules="HTML::Parser">      modules="HTML::Parser">
526    <d:message xml:lang="en">Character reference to    <d:message xml:lang="en">Character reference to
527    <code><var>{text}</var></code> is not allowed.</d:message>    <code><var>{text}</var></code> is not allowed.</d:message>
528  </d:item>  </d:item>
529    
530  <d:item name="CR character reference"  <d:item name="CR character reference"
     class="tokenize-error"  
531      modules="HTML::Parser">      modules="HTML::Parser">
532    <d:message xml:lang="en">Character reference to    <d:message xml:lang="en">Character reference to
533    <code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>)    <code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>)
# Line 458  Web Document Conformance Checker (BETA)< Line 535  Web Document Conformance Checker (BETA)<
535  </d:item>  </d:item>
536    
537  <d:item name="dash in comment"  <d:item name="dash in comment"
     class="tokenize-error"  
538      modules="HTML::Parser">      modules="HTML::Parser">
539    <d:message xml:lang="en">There is a <code>--</code> sequence    <d:message xml:lang="en">There is a <code>--</code> sequence
540    in a comment.</d:message>    in a comment.</d:message>
# Line 476  Web Document Conformance Checker (BETA)< Line 552  Web Document Conformance Checker (BETA)<
552  </d:item>  </d:item>
553    
554  <d:item name="duplicate attribute"  <d:item name="duplicate attribute"
     class="tokenize-error"  
555      modules="HTML::Parser">      modules="HTML::Parser">
556    <d:message xml:lang="en">There are two attributes with name    <d:message xml:lang="en">There are two attributes with name
557        <code><var>{text}</var></code>.</d:message>        <code><var>{text}</var></code>.</d:message>
# Line 490  Web Document Conformance Checker (BETA)< Line 565  Web Document Conformance Checker (BETA)<
565  </d:item>  </d:item>
566    
567  <d:item name="empty start tag"  <d:item name="empty start tag"
     class="tokenize-error"  
568      modules="HTML::Parser">      modules="HTML::Parser">
569    <d:message xml:lang="en">Empty start tag (<code>&lt;></code>) is not    <d:message xml:lang="en">Empty start tag (<code>&lt;></code>) is not
570    allowed.</d:message>    allowed.</d:message>
571  </d:item>  </d:item>
572    
573  <d:item name="empty end tag"  <d:item name="empty end tag"
     class="tokenize-error"  
574      modules="HTML::Parser">      modules="HTML::Parser">
575    <d:message xml:lang="en">Empty end tag (<code>&lt;/></code>) is not    <d:message xml:lang="en">Empty end tag (<code>&lt;/></code>) is not
576    allowed.</d:message>    allowed.</d:message>
577  </d:item>  </d:item>
578    
579  <d:item name="end tag attribute"  <d:item name="end tag attribute"
     class="tokenize-error"  
580      modules="HTML::Parser">      modules="HTML::Parser">
581    <d:message xml:lang="en">End tag cannot have attributes.</d:message>    <d:message xml:lang="en">End tag cannot have attributes.</d:message>
582      <d:message xml:lang="ja">終了タグに属性が指定されています。</d:message>
583    </d:item>
584    
585    <d:item name="empty unquoted attribute value"
586        modules="HTML::Parser">
587      <d:message xml:lang="en">Attribute value is not specified.</d:message>
588      <d:message xml:lang="ja">属性値が指定されていません。</d:message>
589      <d:desc xml:lang="en">
590        <p>The attribute value is not specified after the <code>=</code>
591        (<code>U+003C</code> <code class="charname">EQUAL SIGN</code>)
592        character.</p>
593    
594        <p>When an attribute value is empty, the <code>=</code> character after
595        the attribute name must be specified as:</p>
596    
597        <p><code class="html example">&lt;foo bar></code></p>
598    
599        <p>Instead, quotation marks can be used to explicitly represent that
600        the attribute value is empty, as:</p>
601    
602        <p><code class="html example">&lt;foo bar=""></code></p>
603    
604        <p>... or like:</p>
605    
606        <p><code class="html example">&lt;foo bar=''></code></p>
607      </d:desc>
608  </d:item>  </d:item>
609    
610  <d:item name="invalid character reference"  <d:item name="invalid character reference"
     class="tokenize-error"  
611      modules="HTML::Parser">      modules="HTML::Parser">
612    <d:message xml:lang="en">Character reference to    <d:message xml:lang="en">Character reference to
613    <code><var>{text}</var></code> is not allowed.</d:message>    <code><var>{text}</var></code> is not allowed.</d:message>
614  </d:item>  </d:item>
615    
616  <d:item name="nestc"  <d:item name="nestc"
     class="tokenize-error"  
617      modules="HTML::Parser">      modules="HTML::Parser">
618    <d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be    <d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be
619    used for this element.</d:message>    used for this element.</d:message>
# Line 565  Web Document Conformance Checker (BETA)< Line 661  Web Document Conformance Checker (BETA)<
661  </d:item>  </d:item>
662    
663  <d:item name="no DOCTYPE name"  <d:item name="no DOCTYPE name"
     class="tokenize-error"  
664      modules="HTML::Parser">      modules="HTML::Parser">
665    <d:message xml:lang="en">After the string <code>&lt;!DOCTYPE </code>, the    <d:message xml:lang="en">After the string <code>&lt;!DOCTYPE </code>, the
666    document type name must be specified.</d:message>    document type name must be specified.</d:message>
667  </d:item>  </d:item>
668    
669  <d:item name="no PUBLIC literal"  <d:item name="no PUBLIC literal"
     class="tokenize-error"  
670      modules="HTML::Parser">      modules="HTML::Parser">
671    <d:message xml:lang="en">After the keyword <code>PUBLIC</code>, no    <d:message xml:lang="en">After the keyword <code>PUBLIC</code>, no
672    oublic identifier is specified.</d:message>    oublic identifier is specified.</d:message>
673  </d:item>  </d:item>
674    
675  <d:item name="no refc"  <d:item name="no refc"
     class="tokenize-error"  
676      modules="HTML::Parser">      modules="HTML::Parser">
677    <d:message xml:lang="en">Character reference must be closed by a    <d:message xml:lang="en">Character reference must be closed by a
678    <code>;</code> character.</d:message>    <code>;</code> character.</d:message>
679  </d:item>  </d:item>
680    
681  <d:item name="no space before DOCTYPE name"  <d:item name="no space before DOCTYPE name"
     class="tokenize-error"  
682      modules="HTML::Parser">      modules="HTML::Parser">
683    <d:message xml:lang="en">After the string <code>&lt;!DOCTYPE</code>, there    <d:message xml:lang="en">After the string <code>&lt;!DOCTYPE</code>, there
684    must be at least a white space character before the document type    must be at least a white space character before the document type
# Line 594  Web Document Conformance Checker (BETA)< Line 686  Web Document Conformance Checker (BETA)<
686  </d:item>  </d:item>
687    
688  <d:item name="no space between attributes"  <d:item name="no space between attributes"
     class="tokenize-error"  
689      modules="HTML::Parser">      modules="HTML::Parser">
690    <d:message xml:lang="en">Attributes must be separeted by at least a    <d:message xml:lang="en">Attributes must be separeted by at least a
691    white space character.</d:message>    white space character.</d:message>
692  </d:item>  </d:item>
693    
694  <d:item name="no SYSTEM literal"  <d:item name="no SYSTEM literal"
     class="tokenize-error"  
695      modules="HTML::Parser">      modules="HTML::Parser">
696    <d:message xml:lang="en">After the keyword <code>SYSTEM</code>, no    <d:message xml:lang="en">After the keyword <code>SYSTEM</code>, no
697    system identifier is specified.</d:message>    system identifier is specified.</d:message>
698  </d:item>  </d:item>
699    
700  <d:item name="pio"  <d:item name="pio"
     class="tokenize-error"  
701      modules="HTML::Parser">      modules="HTML::Parser">
702    <d:message xml:lang="en">Processing instruction    <d:message xml:lang="en">Processing instruction
703    (<code>&lt;?<var>...</var>></code>) is not allowed in HTML    (<code>&lt;?<var>...</var>></code>) is not allowed in HTML
# Line 661  p { Line 750  p {
750  </d:item>  </d:item>
751    
752  <d:item name="string after DOCTYPE name"  <d:item name="string after DOCTYPE name"
     class="tokenize-error"  
753      modules="HTML::Parser">      modules="HTML::Parser">
754    <d:message xml:lang="en">There is a bogus string after the document type    <d:message xml:lang="en">There is a bogus string after the document type
755    name.</d:message>    name.</d:message>
756  </d:item>  </d:item>
757    
758  <d:item name="string after PUBLIC"  <d:item name="string after PUBLIC"
     class="tokenize-error"  
759      modules="HTML::Parser">      modules="HTML::Parser">
760    <d:message xml:lang="en">There is a bogus string after the keyword    <d:message xml:lang="en">There is a bogus string after the keyword
761    <code>PUBLIC</code>.</d:message>    <code>PUBLIC</code>.</d:message>
762  </d:item>  </d:item>
763    
764  <d:item name="string after PUBLIC literal"  <d:item name="string after PUBLIC literal"
     class="tokenize-error"  
765      modules="HTML::Parser">      modules="HTML::Parser">
766    <d:message xml:lang="en">There is a bogus string after the public    <d:message xml:lang="en">There is a bogus string after the public
767    identifier.</d:message>    identifier.</d:message>
768  </d:item>  </d:item>
769    
770  <d:item name="string after SYSTEM"  <d:item name="string after SYSTEM"
     class="tokenize-error"  
771      modules="HTML::Parser">      modules="HTML::Parser">
772    <d:message xml:lang="en">There is a bogus string after the keyword    <d:message xml:lang="en">There is a bogus string after the keyword
773    <code>SYSTEM</code>.</d:message>    <code>SYSTEM</code>.</d:message>
774  </d:item>  </d:item>
775    
776  <d:item name="string after SYSTEM literal"  <d:item name="string after SYSTEM literal"
     class="tokenize-error"  
777      modules="HTML::Parser">      modules="HTML::Parser">
778    <d:message xml:lang="en">There is a bogus string after the system    <d:message xml:lang="en">There is a bogus string after the system
779    identifier.</d:message>    identifier.</d:message>
780  </d:item>  </d:item>
781    
782  <d:item name="unclosed attribute value"  <d:item name="unclosed attribute value"
     class="tokenize-error"  
783      modules="HTML::Parser">      modules="HTML::Parser">
784    <d:message xml:lang="en">Attribute value is not closed by a quotation    <d:message xml:lang="en">Attribute value is not closed by a quotation
785    mark.</d:message>    mark.</d:message>
786  </d:item>  </d:item>
787    
788  <d:item name="unclosed comment"  <d:item name="unclosed comment"
     class="tokenize-error"  
789      modules="HTML::Parser">      modules="HTML::Parser">
790    <d:message xml:lang="en">Comment is not closed by a string    <d:message xml:lang="en">Comment is not closed by a string
791    <code>--></code>.</d:message>    <code>--></code>.</d:message>
792  </d:item>  </d:item>
793    
794  <d:item name="unclosed DOCTYPE"  <d:item name="unclosed DOCTYPE"
     class="tokenize-error"  
795      modules="HTML::Parser">      modules="HTML::Parser">
796    <d:message xml:lang="en">The <code>DOCTYPE</code> is not closed by a    <d:message xml:lang="en">The <code>DOCTYPE</code> is not closed by a
797    <code>></code> character.</d:message>    <code>></code> character.</d:message>
798  </d:item>  </d:item>
799    
800  <d:item name="unclosed PUBLIC literal"  <d:item name="unclosed PUBLIC literal"
     class="tokenize-error"  
801      modules="HTML::Parser">      modules="HTML::Parser">
802    <d:message xml:lang="en">The public identifier literal is not closed by a    <d:message xml:lang="en">The public identifier literal is not closed by a
803    quotation mark.</d:message>    quotation mark.</d:message>
804  </d:item>  </d:item>
805    
806  <d:item name="unclosed SYSTEM literal"  <d:item name="unclosed SYSTEM literal"
     class="tokenize-error"  
807      modules="HTML::Parser">      modules="HTML::Parser">
808    <d:message xml:lang="en">The system identifier literal is not closed by a    <d:message xml:lang="en">The system identifier literal is not closed by a
809    quotation mark.</d:message>    quotation mark.</d:message>
810  </d:item>  </d:item>
811    
812  <d:item name="unclosed tag"  <d:item name="unclosed tag"
     class="tokenize-error"  
813      modules="HTML::Parser">      modules="HTML::Parser">
814    <d:message xml:lang="en">Tag is not closed by a <code>></code>    <d:message xml:lang="en">Tag is not closed by a <code>></code>
815    character.</d:message>    character.</d:message>
# Line 742  p { Line 820  p {
820  <section id="html5-parse-errors">  <section id="html5-parse-errors">
821  <h2>HTML5 Parse Errors in Tree Construction Stage</h2>  <h2>HTML5 Parse Errors in Tree Construction Stage</h2>
822    
823    <d:item name="after after frameset"
824        modules="HTML::Parser">
825      <d:message xml:lang="en">There is a start tag
826      <code>&lt;<var>{text}</var>></code> is after the <code>html</code> element
827      is closed.</d:message>
828      <d:message xml:lang="ja"><code>html</code> 要素が閉じられた後に開始タグ
829      <code>&lt;<var>{text}</var>></code> があります。</d:message>
830    </d:item>
831    
832    <d:item name="after after frameset:/"
833        modules="HTML::Parser">
834      <d:message xml:lang="en">There is an end tag
835      <code>&lt;/<var>{text}</var>></code> is after the <code>html</code> element
836      is closed.</d:message>
837      <d:message xml:lang="ja"><code>html</code> 要素が閉じられた後に終了タグ
838      <code>&lt;/<var>{text}</var>></code> があります。</d:message>
839    </d:item>
840    
841  <d:item name="after body"  <d:item name="after body"
     class="parse-error"  
842      modules="HTML::Parser">      modules="HTML::Parser">
843    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
844    not allowed after the <code>body</code> is closed.</d:message>    not allowed after the <code>body</code> is closed.</d:message>
845  </d:item>  </d:item>
846    
847  <d:item name="after body:/"  <d:item name="after body:/"
     class="parse-error"  
848      modules="HTML::Parser">      modules="HTML::Parser">
849    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
850    not allowed after the <code>body</code> is closed.</d:message>    not allowed after the <code>body</code> is closed.</d:message>
851  </d:item>  </d:item>
852    
853  <d:item name="after body:#text"  <d:item name="after body:#text"
     class="parse-error"  
854      modules="HTML::Parser">      modules="HTML::Parser">
855    <d:message xml:lang="en">Non‐white‐space characters are not allowed    <d:message xml:lang="en">Non‐white‐space characters are not allowed
856    after the <code>body</code> is closed.</d:message>    after the <code>body</code> is closed.</d:message>
857  </d:item>  </d:item>
858    
859  <d:item name="after frameset"  <d:item name="after frameset"
     class="parse-error"  
860      modules="HTML::Parser">      modules="HTML::Parser">
861    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
862    not allowed after the <code>frameset</code> is closed.</d:message>    not allowed after the <code>frameset</code> is closed.</d:message>
863  </d:item>  </d:item>
864    
865  <d:item name="after frameset:/"  <d:item name="after frameset:/"
     class="parse-error"  
866      modules="HTML::Parser">      modules="HTML::Parser">
867    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
868    not allowed after the <code>frameset</code> is closed.</d:message>    not allowed after the <code>frameset</code> is closed.</d:message>
869  </d:item>  </d:item>
870    
871  <d:item name="after frameset:#text"  <d:item name="after frameset:#text"
     class="parse-error"  
872      modules="HTML::Parser">      modules="HTML::Parser">
873    <d:message xml:lang="en">Non‐white‐space characters are not allowed    <d:message xml:lang="en">Non‐white‐space characters are not allowed
874    after the <code>frame</code> is closed.</d:message>    after the <code>frame</code> is closed.</d:message>
875  </d:item>  </d:item>
876    
877  <d:item name="after head"  <d:item name="after head"
878      class="parse-error">      modules="HTML::Parser">
879    <d:message xml:lang="en">The <code><var>{text}</var></code> element cannot be    <d:message xml:lang="en">The <code><var>{text}</var></code> element cannot be
880    inserted between <code>head</code> and <code>body</code>    inserted between <code>head</code> and <code>body</code>
881    elements.</d:message>    elements.</d:message>
# Line 797  p { Line 887  p {
887  </d:item>  </d:item>
888    
889  <d:item name="after html"  <d:item name="after html"
     class="parse-error"  
890      modules="HTML::Parser">      modules="HTML::Parser">
891    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
892    not allowed after the <code>html</code> is closed.</d:message>    not allowed after the <code>html</code> is closed.</d:message>
893      <d:desc xml:lang="en">
894        <p>The start tag of an element appears after the
895        <code>body</code> element has been closed.  The document is
896        non-conforming.</p>
897    
898        <p>Any content of the document other than <code>head</code>
899        contents and comments must be put into the <code>body</code>
900        element.</p>
901      </d:desc>
902  </d:item>  </d:item>
903    
904  <d:item name="after html:/"  <d:item name="after html:/"
     class="parse-error"  
905      modules="HTML::Parser">      modules="HTML::Parser">
906    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
907    not allowed after the <code>html</code> is closed.</d:message>    not allowed after the <code>html</code> is closed.</d:message>
908      <d:desc xml:lang="en">
909        <p>The end tag of an element appears after the
910        <code>body</code> element has been closed.  The document is
911        non-conforming.</p>
912    
913        <p>Any content of the document other than <code>head</code>
914        contents and comments must be put into the <code>body</code>
915        element.</p>
916      </d:desc>
917  </d:item>  </d:item>
918    
919  <d:item name="after html:#text"  <d:item name="after html:#text"
     class="parse-error"  
920      modules="HTML::Parser">      modules="HTML::Parser">
921    <d:message xml:lang="en">Non‐white‐space characters are not allowed    <d:message xml:lang="en">Non‐white‐space characters are not allowed
922    after the <code>html</code> is closed.</d:message>    after the <code>html</code> is closed.</d:message>
923  </d:item>  </d:item>
924    
925  <d:item name="image"  <d:item name="image"
     class="parse-error"  
926      modules="HTML::Parser">      modules="HTML::Parser">
927    <d:message xml:lang="en">The <code>image</code> element is    <d:message xml:lang="en">The <code>image</code> element is
928    obsolete.</d:message>    obsolete.</d:message>
929  </d:item>  </d:item>
930    
931  <d:item name="in a:a"  <d:item name="in a:a"
     class="parse-error"  
932      modules="HTML::Parser">      modules="HTML::Parser">
933    <d:message xml:lang="en">Anchor cannot be nested.</d:message>    <d:message xml:lang="en">Anchor cannot be nested.</d:message>
934    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 838  p { Line 941  p {
941  </d:item>  </d:item>
942    
943  <d:item name="in body"  <d:item name="in body"
     class="parse-error"  
944      modules="HTML::Parser">      modules="HTML::Parser">
945    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
946    is not allowed in the <code>body</code> element.</d:message>    is not allowed in the <code>body</code> element.</d:message>
# Line 851  p { Line 953  p {
953  </d:item>  </d:item>
954    
955  <d:item name="in body:#eof"  <d:item name="in body:#eof"
     class="parse-error"  
956      modules="HTML::Parser">      modules="HTML::Parser">
957    <d:message xml:lang="en">Some element is not closed before the end of    <d:message xml:lang="en">Some element is not closed before the end of
958    file.</d:message>    file.</d:message>
959  </d:item>  </d:item>
960    
961  <d:item name="in button:button"  <d:item name="in button:button"
     class="parse-error"  
962      modules="HTML::Parser">      modules="HTML::Parser">
963    <d:message xml:lang="en">The <code>button</code> element cannot be    <d:message xml:lang="en">The <code>button</code> element cannot be
964    nested.</d:message>    nested.</d:message>
965  </d:item>  </d:item>
966    
967  <d:item name="in CDATA:#eof"  <d:item name="in CDATA:#eof"
     class="parse-error"  
968      modules="HTML::Parser">      modules="HTML::Parser">
969    <d:message xml:lang="en">Element is not closed before the end of    <d:message xml:lang="en">Element is not closed before the end of
970    file.</d:message>    file.</d:message>
971  </d:item>  </d:item>
972    
973  <d:item name="in form:form"  <d:item name="in form:form"
     class="parse-error"  
974      modules="HTML::Parser">      modules="HTML::Parser">
975    <d:message xml:lang="en">Start tag <code>&lt;form></code> is    <d:message xml:lang="en">Start tag <code>&lt;form></code> is
976    not allowed in a <code>form</code> element.</d:message>    not allowed in a <code>form</code> element.</d:message>
977  </d:item>  </d:item>
978    
979  <d:item name="in frameset"  <d:item name="in frameset"
     class="parse-error"  
980      modules="HTML::Parser">      modules="HTML::Parser">
981    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
982    not allowed in a <code>framset</code> element.</d:message>    not allowed in a <code>framset</code> element.</d:message>
983  </d:item>  </d:item>
984    
985  <d:item name="in frameset:/"  <d:item name="in frameset:/"
     class="parse-error"  
986      modules="HTML::Parser">      modules="HTML::Parser">
987    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
988    not allowed in a <code>frameset</code> element.</d:message>    not allowed in a <code>frameset</code> element.</d:message>
989  </d:item>  </d:item>
990    
991  <d:item name="in frameset:#text"  <d:item name="in frameset:#text"
     class="parse-error"  
992      modules="HTML::Parser">      modules="HTML::Parser">
993    <d:message xml:lang="en">Non‐white‐space characters are not allowed    <d:message xml:lang="en">Non‐white‐space characters are not allowed
994    in a <code>frameset</code> element.</d:message>    in a <code>frameset</code> element.</d:message>
995  </d:item>  </d:item>
996    
997  <d:item name="in head:head"  <d:item name="in head:head"
     class="parse-error"  
998      modules="HTML::Parser">      modules="HTML::Parser">
999    <d:message xml:lang="en">Start tag <code>&lt;head&gt;</code>    <d:message xml:lang="en">Start tag <code>&lt;head&gt;</code>
1000    is not allowed in the <code>head</code> element.</d:message>    is not allowed in the <code>head</code> element.</d:message>
# Line 915  p { Line 1009  p {
1009  </d:item>  </d:item>
1010    
1011  <d:item name="in html:#DOCTYPE"  <d:item name="in html:#DOCTYPE"
     class="parse-error"  
1012      modules="HTML::Parser">      modules="HTML::Parser">
1013    <d:message xml:lang="en">A <code>DOCTYPE</code> appears after any    <d:message xml:lang="en">A <code>DOCTYPE</code> appears after any
1014    element or data character has been seen.</d:message>    element or data character has been seen.</d:message>
# Line 932  p { Line 1025  p {
1025  </d:item>  </d:item>
1026    
1027  <d:item name="in nobr:nobr"  <d:item name="in nobr:nobr"
     class="parse-error"  
1028      modules="HTML::Parser">      modules="HTML::Parser">
1029    <d:message xml:lang="en">The <code>nobr</code> element cannot be    <d:message xml:lang="en">The <code>nobr</code> element cannot be
1030    nested.</d:message>    nested.</d:message>
1031  </d:item>  </d:item>
1032    
1033  <d:item name="in noscript"  <d:item name="in noscript"
     class="parse-error"  
1034      modules="HTML::Parser">      modules="HTML::Parser">
1035    <d:message xml:lang="en">The <code><var>{text}</var></code> element is not    <d:message xml:lang="en">The <code><var>{text}</var></code> element is not
1036    allowed in a <code>noscript</code> element in the    allowed in a <code>noscript</code> element in the
# Line 947  p { Line 1038  p {
1038  </d:item>  </d:item>
1039    
1040  <d:item name="in noscript:/"  <d:item name="in noscript:/"
     class="parse-error"  
1041      modules="HTML::Parser">      modules="HTML::Parser">
1042    <d:message xml:lang="en">An end tag <code>&lt;/<var>{text}</var>></code>    <d:message xml:lang="en">An end tag <code>&lt;/<var>{text}</var>></code>
1043    appers before the <code>noscript</code> element is closed.</d:message>    appers before the <code>noscript</code> element is closed.</d:message>
1044  </d:item>  </d:item>
1045    
1046  <d:item name="in noscript:#eof"  <d:item name="in noscript:#eof"
     class="parse-error"  
1047      modules="HTML::Parser">      modules="HTML::Parser">
1048    <d:message xml:lang="en">A <code>noscript</code> element is not closed    <d:message xml:lang="en">A <code>noscript</code> element is not closed
1049    before the end of file.</d:message>    before the end of file.</d:message>
1050  </d:item>  </d:item>
1051    
1052  <d:item name="in noscript:#text"  <d:item name="in noscript:#text"
     class="parse-error"  
1053      modules="HTML::Parser">      modules="HTML::Parser">
1054    <d:message xml:lang="en">Non‐white‐space characters are not allowed    <d:message xml:lang="en">Non‐white‐space characters are not allowed
1055    in a <code>noscript</code> element in the <code>head</code>    in a <code>noscript</code> element in the <code>head</code>
# Line 969  p { Line 1057  p {
1057  </d:item>  </d:item>
1058    
1059  <d:item name="in PCDATA:#eof"  <d:item name="in PCDATA:#eof"
     class="parse-error"  
1060      modules="HTML::Parser">      modules="HTML::Parser">
1061    <d:message xml:lang="en">Element is not closed before the end of    <d:message xml:lang="en">Element is not closed before the end of
1062    file.</d:message>    file.</d:message>
1063  </d:item>  </d:item>
1064    
1065  <d:item name="in select"  <d:item name="in select"
     class="parse-error"  
1066      modules="HTML::Parser">      modules="HTML::Parser">
1067    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
1068    is not allowed in a <code>select</code> element.</d:message>    is not allowed in a <code>select</code> element.</d:message>
1069  </d:item>  </d:item>
1070    
1071  <d:item name="in select:/"  <d:item name="in select:/"
     class="parse-error"  
1072      modules="HTML::Parser">      modules="HTML::Parser">
1073    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>&gt;</code>    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>&gt;</code>
1074    is not allowed in a <code>select</code> element.</d:message>    is not allowed in a <code>select</code> element.</d:message>
1075  </d:item>  </d:item>
1076    
1077  <d:item name="in table"  <d:item name="in table"
     class="parse-error"  
1078      modules="HTML::Parser">      modules="HTML::Parser">
1079    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
1080    is not allowed in a <code>table</code> element.</d:message>    is not allowed in a <code>table</code> element.</d:message>
# Line 1009  p { Line 1093  p {
1093  </d:item>  </d:item>
1094    
1095  <d:item name="in table:/"  <d:item name="in table:/"
     class="parse-error"  
1096      modules="HTML::Parser">      modules="HTML::Parser">
1097    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>&gt;</code>    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>&gt;</code>
1098    is not allowed in a <code>table</code> element.</d:message>    is not allowed in a <code>table</code> element.</d:message>
1099  </d:item>  </d:item>
1100    
1101  <d:item name="in table:#text"  <d:item name="in table:#text"
     class="parse-error"  
1102      modules="HTML::Parser">      modules="HTML::Parser">
1103    <d:message xml:lang="en">Non‐white‐space character is not allowed within    <d:message xml:lang="en">Non‐white‐space character is not allowed within
1104    the <code>table</code> element, outside of the caption and cells.</d:message>    the <code>table</code> element, outside of the caption and cells.</d:message>
# Line 1033  p { Line 1115  p {
1115  </d:item>  </d:item>
1116    
1117  <d:item name="isindex"  <d:item name="isindex"
     class="parse-error"  
1118      modules="HTML::Parser">      modules="HTML::Parser">
1119    <d:message xml:lang="en">The <code>isindex</code> element is    <d:message xml:lang="en">The <code>isindex</code> element is
1120    obsolete.</d:message>    obsolete.</d:message>
1121  </d:item>  </d:item>
1122    
1123  <d:item name="missing start tag:tr"  <d:item name="missing start tag:tr"
     class="parse-error"  
1124      modules="HTML::Parser">      modules="HTML::Parser">
1125    <d:message xml:lang="en">Start tag of <code>tr</code>    <d:message xml:lang="en">Start tag of <code>tr</code>
1126    element is missing.</d:message>    element is missing.</d:message>
# Line 1181  p { Line 1261  p {
1261    </d:desc>    </d:desc>
1262  </d:item>  </d:item>
1263    
1264    <d:item name="XSLT-compat"
1265        modules="HTML::Parser">
1266      <d:message xml:lang="en">The <code>DOCTYPE</code> legacy string is
1267      used.</d:message>
1268      <d:message xml:lang="ja"><code>DOCTYPE</code>
1269      遺物文字列が使われています。</d:message>
1270      <d:desc xml:lang="en">
1271        <p>The <code>DOCTYPE</code> with the <code>DOCTYPE</code> legacy
1272        string, i.e.
1273        <code class="html bad example">&lt;!DOCTYPE HTML PUBLIC "XSLT-compat"></code>
1274        is used.</p>
1275    
1276        <p>The <code>DOCTYPE</code> legacy string should not be used for documents
1277        generated from XSLT transformation process.  It is allowed only to enable
1278        to use XSLT style sheets with the HTML output mode, which does not
1279        support generation of the <code>DOCTYPE</code> with no <code>PUBLIC</code>
1280        identifier.  For other purposes, the <code>DOCTYPE</code> legacy
1281        string, i.e. <code class="html bad example">PUBLIC "XSLT-compat"</code>,
1282        is useless and should not be used.</p>
1283      </d:desc>
1284    </d:item>
1285    
1286  </section>  </section>
1287    
1288  <section id="element-content-model-errors">  <section id="element-content-model-errors">
# Line 1201  p { Line 1303  p {
1303  </d:item>  </d:item>
1304    
1305  <d:item name="character not allowed"  <d:item name="character not allowed"
1306      modules="ContentChecker::HTML">      modules="ContentChecker::HTML RDFXML">
1307    <d:message xml:lang="en">Data character is not allowed in this    <d:message xml:lang="en">Data character is not allowed in this
1308    context.</d:message>    context.</d:message>
1309    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 1233  p { Line 1335  p {
1335    an empty element.</d:message>    an empty element.</d:message>
1336  </d:item>  </d:item>
1337    
1338  <d:item name="child element missing"  <d:item name="character not allowed:atom|PersonConstruct"
1339      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
1340    <d:message xml:lang="en">There must be a <code><var>{text}</var></code>    <d:message xml:lang="en">Non‐white‐space characters are not allowed in
1341    element as a child of this element.</d:message>    Person construct.</d:message>
1342    </d:item>
1343    
1344    <d:item name="character not allowed:atom|TextConstruct"
1345        modules="ContentChecker::HTML">
1346      <d:message xml:lang="en">Non‐white‐space characters are not allowed in
1347      Text construct.</d:message>
1348    </d:item>
1349    
1350    <d:item name="child element missing"
1351        modules="ContentChecker::HTML ContentChecker::Atom">
1352      <d:message xml:lang="en">There must be an element
1353      <code><var>{text}</var></code> as a child of this element.</d:message>
1354    <d:desc xml:lang="en">    <d:desc xml:lang="en">
1355      <p>The content model of the element is so defined that it      <p>The content model of the element is so defined that it
1356      must contain a <code><var>$0</var></code> child element.      must contain a <code><var>$0</var></code> child element.
# Line 1266  p { Line 1380  p {
1380    </d:desc>    </d:desc>
1381  </d:item>  </d:item>
1382    
1383    <d:item name="child element missing:atom"
1384        modules="ContentChecker::HTML">
1385      <d:message xml:lang="en">There must be an element
1386      <code><var>{text}</var></code> in the Atom namespace as a child of this
1387      element.</d:message>
1388    </d:item>
1389    
1390    <d:item name="child element missing:atom:link:alternate"
1391        modules="ContentChecker::HTML">
1392      <d:message xml:lang="en">There must be an Atom <code>link</code> element
1393      whose <code>rel</code> attribute is set to <code>alternate</code> as a
1394      child of this element.</d:message>
1395    </d:item>
1396    
1397    <d:item name="child element missing:atom:link:self"
1398        modules="ContentChecker::HTML">
1399      <d:message xml:lang="en">There should be an Atom <code>link</code> element
1400      whose <code>rel</code> attribute is set to <code>self</code> as a
1401      child of this element.</d:message>
1402    </d:item>
1403    
1404  <d:item name="element missing:hn"  <d:item name="element missing:hn"
1405      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
1406    <d:message xml:lang="en">There must be at least one    <d:message xml:lang="en">There must be at least one
# Line 1273  p { Line 1408  p {
1408  </d:item>  </d:item>
1409    
1410  <d:item name="element not allowed"  <d:item name="element not allowed"
1411      class="content-model-error">      modules="ContentChecker::HTML ContentChecker::Atom RDFXML">
1412    <d:message xml:lang="en">This element is not allowed in this    <d:message xml:lang="en">This element is not allowed in this
1413    context.</d:message>    context.</d:message>
1414    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 1366  p { Line 1501  p {
1501  </d:item>  </d:item>
1502    
1503  <d:item name="element not allowed:empty"  <d:item name="element not allowed:empty"
1504      modules="ContentChecker::HTML">      modules="ContentChecker::HTML ContentChecker::Atom">
1505    <d:message xml:lang="en">Elements are not allowed in an empty    <d:message xml:lang="en">Elements are not allowed in an empty
1506    element.</d:message>    element.</d:message>
1507  </d:item>  </d:item>
# Line 1417  p { Line 1552  p {
1552    
1553  <d:item name="element not allowed:meta charset"  <d:item name="element not allowed:meta charset"
1554      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
1555    <d:message xml:lang="en">The character encoding declaration must be the    <d:message xml:lang="en">The character encoding declaration is not the
1556    first element in the <code>head</code> element.</d:message>    first child element in the <code>head</code> element.</d:message>
1557      <d:message xml:lang="ja">文字符号化宣言が <code>head</code>
1558      要素の最初の子要素ではありません。</d:message>
1559      <d:desc xml:lang="en">
1560        <p>The character encoding declaration
1561        (<code class="html example">&lt;meta charset="<var>...</var>"></code> or
1562        <code class="html example">&lt;meta http-equiv=Content-Type content="text/html; charset=<var>...</var>"></code>
1563        must be the first child element in the <code>head</code> element.</p>
1564    
1565        <p>The character encoding declaration have to occur near the beginning
1566        of the document to ensure that Web browsers can be determine the
1567        character encoding of the document.</p>
1568    
1569        <p>The <code>title</code> element and other metadata elements must
1570        appear after any character encoding declaration is processed.</p>
1571      </d:desc>
1572  </d:item>  </d:item>
1573    
1574  <d:item name="element not allowed:metadata"  <d:item name="element not allowed:metadata"
# Line 1481  p { Line 1631  p {
1631    context.</d:message>    context.</d:message>
1632  </d:item>  </d:item>
1633    
1634    <d:item name="element not allowed:atom|content"
1635        modules="ContentChecker::Atom">
1636      <d:message xml:lang="en">This element is not allowed in an Atom
1637      <code>content</code> element.</d:message>
1638    </d:item>
1639    
1640    <d:item name="element not allowed:atom|PersonConstruct"
1641        modules="ContentChecker::Atom">
1642      <d:message xml:lang="en">This element is not allowed in Person
1643      construct.</d:message>
1644    </d:item>
1645    
1646    <d:item name="element not allowed:atom|TextConstruct"
1647        modules="ContentChecker::Atom">
1648      <d:message xml:lang="en">This element is not allowed in Text
1649      construct.</d:message>
1650    </d:item>
1651    
1652  <d:item name="element not defined"  <d:item name="element not defined"
1653      modules="ContentChecker">      modules="ContentChecker">
1654    <d:message xml:lang="en">This element is not defined.</d:message>    <d:message xml:lang="en">This element is not defined.</d:message>
1655      <d:message xml:lang="ja">この要素は定義されていません。</d:message>
1656      <d:desc xml:lang="en">
1657        <p>The element is not one of elements allowed
1658        in the latest version of relevant specifications.</p>
1659    
1660        <p>The element cannot be used.</p>
1661    
1662        <dl class="switch">
1663        <dt><code>event-source</code> element</dt>
1664            <dd>The element was renamed as <em><code>eventsource</code>
1665            element</em> (no hyphen).</dd>
1666        <dt><code>m</code> element</dt>
1667            <dd>The element was renamed as <em><code>mark</code>
1668            element</em>.</dd>
1669        </dl>
1670      </d:desc>
1671  </d:item>  </d:item>
1672    
1673  <d:item name="no significant content"  <d:item name="no significant content"
# Line 1582  p { Line 1766  p {
1766  </d:item>  </d:item>
1767    
1768  <d:item name="attribute not allowed"  <d:item name="attribute not allowed"
1769      modules="ContentChecker::HTML">      modules="ContentChecker::HTML RDFXML">
1770    <d:message xml:lang="en">Attribute    <d:message xml:lang="en">Attribute
1771    <code><var>{local-name}</var></code> is not allowed for    <code><var>{local-name}</var></code> is not allowed for
1772    <code><var>{element-local-name}</var></code> element.</d:message>    <code><var>{element-local-name}</var></code> element.</d:message>
# Line 1608  p { Line 1792  p {
1792  <d:item name="attribute not defined"  <d:item name="attribute not defined"
1793      modules="ContentChecker">      modules="ContentChecker">
1794    <d:message xml:lang="en">This attribute is not defined.</d:message>    <d:message xml:lang="en">This attribute is not defined.</d:message>
1795      <d:message xml:lang="ja">この属性は定義されていません。</d:message>
1796      <d:desc xml:lang="en">
1797        <p>The attribute is not one of attributes allowed for the element
1798        in the latest version of relevant specifications.</p>
1799    
1800        <p>The attribute cannot be used.</p>
1801    
1802        <dl class="switch">
1803        <dt><code>align</code> attribute (various HTML elements)</dt>
1804        <dt><code>border</code> attribute (various HTML elements)</dt>
1805          <dd>These attributes are no longer part of HTML.  You can use CSS
1806          properties to control the presentation of the element.</dd>
1807        <dt><code>autosubmit</code> attribute (<code>menu</code> element)</dt>
1808          <dd>The attribute was part of HTML5 draft but then dropped.
1809          Similar functionality can be implemented by scripts.</dd>
1810        <dt><code>language</code> attribute (<code>script</code> element)</dt>
1811          <dd>The attribute is no longer the standard way to specify the
1812          scripting language.  If you are using JavaScript, then no explicit
1813          specification of the scripting language is necessary, so you can
1814          write the element like:
1815            <p><code class="html example code">&lt;script><br/><!--
1816            --> /* JavaScript code */<br/><!--
1817            -->&lt;/script></code></p>
1818          If you are using different scripting language from JavaScript, or
1819          you want to declare the scripting language explicitly, you should
1820          use the <code>type</code> attribute, as follows:
1821            <dl class="switch">
1822            <dt>JavaScript</dt>
1823              <dd>Use
1824              <code class="html example">&lt;script type="text/javascript"></code>.</dd>
1825            <dt>VBScript</dt>
1826              <dd>Use
1827              <code class="html example">&lt;script type="text/vbscript"></code>.</dd>
1828            </dl>
1829          </dd>
1830        </dl>
1831      </d:desc>
1832  </d:item>  </d:item>
1833    
1834  <d:item name="in HTML:xml:lang"  <d:item name="in HTML:xml:lang"
     class="attribute-error"  
1835      modules="ContentChecker::XML">      modules="ContentChecker::XML">
1836    <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
1837    allowed in HTML document.</d:message>    document is ignored.</d:message>
1838    <d:desc xml:lang="en">    <d:desc xml:lang="en">
1839      <p>The <code>xml:lang</code> attribute is not allowed in      <p>The <code>xml:lang</code> attribute does not have an effect in
1840      HTML document.  The document is non-conforming.</p>      HTML document.</p>
1841    
1842      <p>Use of the <code>xml:lang</code> attribute is conforming      <p>The <code>xml:lang</code> attribute is only applicable to XML
1843      <em>only</em> in XML documents.</p>      documents.  In HTML document, it is only allowed to ease migration
1844        from XML.</p>
1845    
1846      <p>To specify natural language information in HTML document,      <p>To specify natural language information in HTML document,
1847      use <code>lang</code> attribute instead.</p>      use <code>lang</code> attribute instead.</p>
# Line 1652  p { Line 1873  p {
1873    </d:desc>    </d:desc>
1874  </d:item>  </d:item>
1875    
 <d:item name="in XML:lang"  
     modules="ContentChecker::HTML">  
   <d:message xml:lang="en">The <code>lang</code> attribute is not  
   allowed in XML document.</d:message>  
   <d:desc>  
     <p>The HTML <code>lang</code> attribute is not allowed in  
     XML document.  The document is non-conforming.</p>  
   
     <p>The <code>lang</code> attribute in <code>null</code>  
     namespace for HTML elements is conforming <em>only</em> in  
     HTML documents.</p>  
   
     <p>To specify natural language information in XML document,  
     use <code>xml:lang</code> attribute instead.</p>  
   </d:desc>  
 </d:item>  
   
1876  <d:item name="in XML:noscript"  <d:item name="in XML:noscript"
1877      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
1878    <d:message xml:lang="en">A <code>noscript</code> element cannot be    <d:message xml:lang="en">A <code>noscript</code> element cannot be
1879    used in XML document.</d:message>    used in XML document.</d:message>
1880  </d:item>  </d:item>
1881    
1882    <d:item name="in XML:xml:lang"
1883        modules="ContentChecker::HTML">
1884      <d:message xml:lang="en">The <code>xml:lang</code> attribute in no namespace
1885      is only allowed in HTML document.</d:message>
1886      <d:message xml:lang="ja">名前空間に属さない <code>xml:lang</code>
1887      属性が認められているのは HTML 文書中だけです。</d:message>
1888    </d:item>
1889    
1890  <d:item name="in XML:xmlns"  <d:item name="in XML:xmlns"
1891      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
1892    <d:message xml:lang="en">The <code>xmlns</code> attribute    <d:message xml:lang="en">The <code>xmlns</code> attribute
# Line 1689  p { Line 1901  p {
1901    </d:desc>    </d:desc>
1902  </d:item>  </d:item>
1903    
1904    <d:item name="xml:lang not allowed"
1905        modules="ContentChecker::HTML">
1906      <d:message xml:lang="en">The <code>xml:lang</code> attribute is only allowed
1907      when the <code>lang</code> attribute is specified.</d:message>
1908      <d:message xml:lang="ja"><code>xml:lang</code> 属性を指定できるのは
1909      <code>lang</code> 属性が指定されている時だけです。</d:message>
1910    </d:item>
1911    
1912  </section>  </section>
1913    
1914  <section id="attribute-value-errors">  <section id="attribute-value-errors">
# Line 1895  p { Line 2115  p {
2115    
2116  <d:item name="dateortime:syntax error"  <d:item name="dateortime:syntax error"
2117      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
2118    <d:message xml:lang="en">The attribute value is not a date or    <d:message xml:lang="en">The value is not a date or time.</d:message>
   time.</d:message>  
2119  </d:item>  </d:item>
2120    
2121  <d:item name="enumerated:invalid"  <d:item name="enumerated:invalid"
# Line 1967  p { Line 2186  p {
2186  </d:item>  </d:item>
2187    
2188  <d:item name="duplicate token"  <d:item name="duplicate token"
2189      modules="ContentChecker::HTML">      modules="ContentChecker::HTML HTML::Table">
2190    <d:message xml:lang="en">The token <code><var>{value}</var></code>    <d:message xml:lang="en">The token <code><var>{value}</var></code>
2191    appears in the attribute value twice.</d:message>    appears in the attribute value twice.</d:message>
2192  </d:item>  </d:item>
2193    
2194  <d:item name="empty attribute value"  <d:item name="empty attribute value"
2195      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
2196    <d:message xml:lang="en">The attribute value must not be empty.</d:message>    <d:message xml:lang="en">The attribute value is empty.</d:message>
2197      <d:message xml:lang="ja">属性値が空です。</d:message>
2198    </d:item>
2199    
2200    <d:item name="empty style sheet title"
2201        modules="ContentChecker::HTML">
2202      <d:message xml:lang="en">The value of the <code>title</code> attribute
2203      is empty.</d:message>
2204      <d:message xml:lang="ja"><code>title</code> 属性の値が空です。</d:message>
2205      <d:desc xml:lang="en">
2206        <p>The <code>title</code> attribute value of the <code>link</code>
2207        element that defines an alternate style sheet is an empty value.</p>
2208    
2209        <p>A <code>link</code> element whose <code>rel</code> attribute
2210        is <code>alternate stylesheet</code> defines an alternate style sheet.
2211        An alternate style sheet must be associated with a name using the
2212        <code>title</code> attribute.  The name cannot be empty.</p>
2213      </d:desc>
2214  </d:item>  </d:item>
2215    
2216  <d:item name="float:out of range"  <d:item name="float:out of range"
# Line 2036  p { Line 2272  p {
2272    
2273  <d:item name="invalid attribute value"  <d:item name="invalid attribute value"
2274      class="attribute-value-error"      class="attribute-value-error"
2275      modules="ContentChecker::XML ContentChecker::HTML">      modules="ContentChecker::XML ContentChecker::HTML ContentChecker::Atom">
2276    <d:message xml:lang="en">Attribute value <code><var>{@}</var></code>    <d:message xml:lang="en">Attribute value <code><var>{@}</var></code>
2277    is not an allowed value.</d:message>    is not an allowed value.</d:message>
2278  </d:item>  </d:item>
# Line 2126  p { Line 2362  p {
2362    no menu.</d:message>    no menu.</d:message>
2363  </d:item>  </d:item>
2364    
2365    <d:item name="no referenced header cell"
2366        modules="ContentChecker">
2367      <d:message xml:lang="en">There is no table header cell whose <code>id</code>
2368      is <code><var>{value}</var></code> in the same table.</d:message>
2369    </d:item>
2370    
2371  <d:item name="refresh:syntax error"  <d:item name="refresh:syntax error"
2372      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
2373    <d:message xml:lang="en">the specified value is not a valid as part    <d:message xml:lang="en">the specified value is not a valid as part
# Line 2223  p { Line 2465  p {
2465    allowed in this attribute.</d:message>    allowed in this attribute.</d:message>
2466  </d:item>  </d:item>
2467    
2468    <d:item name="XML 1.0 NCName:syntax error"
2469        modules="RDFXML">
2470      <d:message xml:lang="en">The specified value is not a legal XML Namespaces
2471      1.0 <code>NCName</code>.</d:message>
2472    </d:item>
2473    
2474    <d:item name="xml:lang ne lang"
2475        modules="ContentChecker::XML ContentChecker::HTML">
2476      <d:message xml:lang="en">The value of the <code>xml:lang</code> attribute
2477      is different from the value of the <code>lang</code> attribute.</d:message>
2478      <d:message xml:lang="ja"><code>xml:lang</code> 属性の値が <code>lang</code>
2479      属性の値と異なります。</d:message>
2480      <d:desc xml:lang="en">
2481        <p>The value of the <code>xml:lang</code> attribute (either the
2482        <code>lang</code> attribute in the <code>xml</code> (i.e.
2483        <code>http://www.w3.org/XML/1998/namespace</code>) namespace, or
2484        the <code>xml:lang</code> attribute in no namespace) for the element has
2485        different value than that of the <code>lang</code> attribute in no
2486        namespace.</p>
2487    
2488        <p>For historical reason, there are two attributes applicable to HTML
2489        elements to specify language information of an element: <code>lang</code>
2490        and <code>xml:lang</code>.  In HTML documents, only <code>lang</code>
2491        attribute in no namespace is allowed and take effect; the
2492        <code>xml:lang</code> attribute in no namespace is ignored in HTML
2493        documents.  In XHTML documents, both <code>lang</code> and
2494        <code>xml:lang</code> attributes are allowed.</p>
2495    
2496        <p>In general, <em>only the <code>lang</code> attribute</em> need to be
2497        specified for an element.</p>
2498    
2499        <p>If both <code>lang</code> and <code>xml:lang</code> attributes are
2500        specified on the same element, their values must be the same value.</p>
2501      </d:desc>
2502      <d:desc xml:lang="ja">
2503        <p><code>xml:lang</code> 属性 (<code>xml</code> (=
2504        <code>http://www.w3.org/XML/1998/namespace</code>) 名前空間の
2505        <code>lang</code> 属性や名前空間に属さない
2506        <code>xml:lang</code> 属性) の値が同じ要素の名前空間に属さない
2507        <code>lang</code> 属性の値と異なっています。</p>
2508    
2509        <p>歴史的な理由により、 HTML 要素の言語指定のための属性は
2510        <code>lang</code> と <code>xml:lang</code> の2つがあります。 HTML
2511        文書では名前空間に属さない <code>lang</code> 属性だけが認められており、
2512        かつ効力があります。名前空間に属さない
2513        <code>xml:lang</code> 属性は HTML 文書では無視されます。 XHTML 文書では
2514        <code>lang</code> 属性も <code>xml:lang</code> 属性も認められています。</p>
2515    
2516        <p>通常、要素の言語情報は <em><code>lang</code>
2517        属性だけ</em>を使って指定すれば十分です。</p>
2518    
2519        <p><code>lang</code> 属性と <code>xml:lang</code>
2520        属性の両方を同じ要素に指定する場合、
2521        両者の値は同じでなければなりません。</p>
2522      </d:desc>
2523    </d:item>
2524    
2525  </section>  </section>
2526    
2527  <section id="table-model-errors">  <section id="table-model-errors">
2528  <h2>Table Model Errors</h2>  <h2>Table Model Errors</h2>
2529    
2530  <d:item name="table:colspan creates column with no anchored cell"  <d:item name="cell overlapping"
2531      class="table-model-error">      modules="HTML::Table">
2532      <d:message xml:lang="en">Cell slot (<var>{text}</var>) is filled by
2533      multiple cells.</d:message>
2534    </d:item>
2535    
2536    <d:item name="colspan creates column with no anchored cell"
2537        modules="HTML::Table">
2538    <d:message xml:lang="en">This <code>colspan</code> attribute    <d:message xml:lang="en">This <code>colspan</code> attribute
2539    results in creating a table column that does not contain    results in creating a table column that does not contain
2540    any cell anchored to it.</d:message>    any cell anchored to it.</d:message>
2541  </d:item>  </d:item>
2542    
2543    <d:item name="column with no anchored cell"
2544        modules="HTML::Table">
2545      <d:message xml:lang="en">This column has no anchored cell.</d:message>
2546    </d:item>
2547    
2548  <d:item name="table:no cell in last row"  <d:item name="table:no cell in last row"
2549      class="table-model-error">      class="table-model-error">
2550    <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 2263  p { Line 2573  p {
2573    </d:desc>    </d:desc>
2574  </d:item>  </d:item>
2575    
2576    <d:item name="row with no anchored cell"
2577        modules="HTML::Table">
2578      <d:message xml:lang="en">This row has no anchored cell.</d:message>
2579    </d:item>
2580    
2581    <d:item name="rowspan creates row with no anchored cell"
2582        modules="HTML::Table">
2583      <d:message xml:lang="en">This <code>rowspan</code> attribute
2584      results in creating a table row that does not contain
2585      any cell anchored to it.</d:message>
2586    </d:item>
2587    
2588    
2589  </section>  </section>
2590    
2591  <section id="imt-warnings">  <section id="imt-warnings">
2592  <h2>Internet Media Type Errors</h2>  <h2>Internet Media Type Errors</h2>
2593    
2594    <d:item name="boundary:syntax error"
2595        modules="IMTChecker">
2596      <d:message xml:lang="en">The specified value is not a valid value
2597      as a multipart boundary.</d:message>
2598    </d:item>
2599    
2600    <d:item name="e4x:syntax error"
2601        modules="IMTChecker">
2602      <d:message xml:lang="en">The specified value is not a valid value
2603      for the attribute <code>e4x</code>.</d:message>
2604    </d:item>
2605    
2606    <d:item name="IMT:attribute syntax error"
2607        modules="IMTChecker">
2608      <d:message xml:lang="en">The specified value,
2609      <code><var>{value}</var></code>, is syntactically not a valid
2610      attribute name.</d:message>
2611    </d:item>
2612    
2613    <d:item name="IMT:composite"
2614        modules="ContentChecker::Atom">
2615      <d:message xml:lang="en">The specified media type is a composite
2616      type, which is not allowed in this context.</d:message>
2617    </d:item>
2618    
2619    <d:item name="IMT:limited use subtype"
2620        modules="IMTChecker">
2621      <d:message xml:lang="en">An Internet Media Type whose intended usage
2622      is limited use, <code><var>{value}</var></code> is used.</d:message>
2623    </d:item>
2624    
2625  <d:item name="IMT:syntax error"  <d:item name="IMT:syntax error"
2626      modules="ContentChecker::HTML">      modules="ContentChecker::HTML ContentChecker::Atom">
2627    <d:message xml:lang="en">The specified value is not an Internet Media    <d:message xml:lang="en">The specified value is not an Internet Media
2628    Type.</d:message>    Type.</d:message>
2629  </d:item>  </d:item>
2630    
2631    <d:item name="IMT:obsolete parameter"
2632        modules="IMTChecker">
2633      <d:message xml:lang="en">An obsolete parameter
2634      <code><var>{value}</var></code> is used.</d:message>
2635    </d:item>
2636    
2637  <d:item name="IMT:obsolete subtype"  <d:item name="IMT:obsolete subtype"
2638      class="should" level="s">      modules="IMTChecker">
2639    <d:message xml:lang="en"><code><var>{@}</var></code>: An <em>obsolete</em>    <d:message xml:lang="en">An obsolete Internet Media Type
2640    subtype is used.</d:message>    <code><var>{value}</var></code> is used.</d:message>
2641    <d:item xml:lang="en">    <d:message xml:lang="ja">廃止されたインターネット媒体型
2642      <p>The specified Internet Media Type is registered with status    <code><var>{value}</var></code> が使われています。</d:message>
2643      of <i>OBSOLETE</i>.</p><!-- @@ SHOULD NOT? -->    <d:desc xml:lang="en">
2644        <p>The specified Internet Media Type is registered with its intended
2645        usage as <i>OBSOLETE</i>.</p>
2646            
2647      <dl class="swtich">      <dl class="swtich">
2648      <dt>Media type <code>text/ecmascript</code></dt>      <dt>Media type <code>text/ecmascript</code></dt>
2649        <dd>Media type <code>text/ecmascript</code> is obsoleted in        <dd>Media type <code>text/ecmascript</code> is obsoleted in
2650        favor of <code>application/ecmascript</code>.  Note that        favor of <code>application/ecmascript</code>.  Note that
2651        <code>text/javascript</code> would be better alternative        <em><code>text/javascript</code></em> would be the better alternative
2652        for many cases.</dd>        in many cases.</dd>
2653      <dt>Media type <code>text/javascript</code></dt>      <dt>Media type <code>text/javascript</code></dt>
2654        <dd>Media type <code>text/javascript</code> is obsoleted by        <dd>Media type <code>text/javascript</code> is obsoleted by
2655        <abbr>IETF</abbr> with backward incompatible alternate        <abbr>IETF</abbr> with backward incompatible alternate
2656        <code>application/javascript</code> for architectural        <code>application/javascript</code> for architectural
2657        purity.<!-- @@ ref? -->  Realist may ignore this warning.</dd>        purity.<!-- @@ ref? -->  Those who prefer reality to academic
2658          purity <em>may ignore</em> this warning.</dd>
2659      </dl>      </dl>
2660    </d:item>    </d:desc>
2661    </d:item>
2662    
2663    <d:item name="IMT:parameter missing"
2664        modules="IMTChecker">
2665      <d:message xml:lang="en">Parameter <code><var>{text}</var></code> have to
2666      be specified for the Internet Media Type
2667      <code><var>{value}</var></code>.</d:message>
2668    </d:item>
2669    
2670    <d:item name="IMT:parameter not allowed"
2671        modules="IMTChecker">
2672      <d:message xml:lang="en">Parameter <code><var>{value}</var></code> is not
2673      allowed for this Internet Media Type.</d:message>
2674  </d:item>  </d:item>
2675    
2676  <d:item name="IMT:private subtype"  <d:item name="IMT:private subtype"
2677      class="should" level="s">      modules="IMTChecker">
2678    <d:message xml:lang="en"><code><var>{@}</var></code>: A private    <d:message xml:lang="en">Use of a private Internet Media Type
2679    (<code>x-</code> or <code>x.</code>) subtype is used.</d:message>    <code><var>{value}</var></code> is not encouraged.</d:message>
2680    </d:item>
2681    
2682    <d:item name="IMT:private type"
2683        modules="IMTChecker">
2684      <d:message xml:lang="en">Use of a private type
2685      <code><var>{value}</var></code> is not encouraged.</d:message>
2686    </d:item>
2687    
2688    <d:item name="IMT:subtype syntax error"
2689        modules="IMTChecker">
2690      <d:message xml:lang="en">Value <code><var>{value}</var></code> is
2691      syntactically not a valid subtype value of an Internet Media Type.</d:message>
2692    </d:item>
2693    
2694    <d:item name="IMT:type syntax error"
2695        modules="IMTChecker">
2696      <d:message xml:lang="en">Value <code><var>{value}</var></code> is
2697      syntactically not a valid type.</d:message>
2698    </d:item>
2699    
2700    <d:item name="IMT:unknown parameter"
2701        modules="IMTChecker">
2702      <d:message xml:lang="en">An unknown parameter <code><var>{value}</var></code>
2703      is used.  The conformance checker cannot determine whether use of this
2704      parameter is valid or not.</d:message>
2705    </d:item>
2706    
2707    <d:item name="IMT:unknown subtype"
2708        modules="IMTChecker">
2709      <d:message xml:lang="en">An unknown Internet Media Type
2710      <code><var>{value}</var></code> is used.  At the time of the update of
2711      the conformance checker's Internet Media Type database, the subtype is
2712      not reigstered to the IANA registry.  The subtype, however, might be
2713      registerd to the IANA registry thereafter.  Please consult the IANA
2714      registry.</d:message>
2715  </d:item>  </d:item>
2716    
2717  <d:item name="IMT:unregistered subtype"  <d:item name="IMT:unregistered subtype"
2718      class="should" level="s">      modules="IMTChecker">
2719    <d:message xml:lang="en"><code><var>{@}</var></code>: The subtype is    <d:message xml:lang="en">Use of an Internet Media Type
2720    not registered to IANA.</d:message>    <code><var>{value}</var></code> is not encouraged since it is not
2721  <!-- TODO: Unknown message?? -->    part of the IANA registry.</d:message>
2722    </d:item>
2723    
2724    <d:item name="IMT:unregistered type"
2725        modules="IMTChecker">
2726      <d:message xml:lang="en">Use of a type
2727      <code><var>{value}</var></code> is not encouraged since it is not
2728      a standardized type.</d:message>
2729    </d:item>
2730    
2731    <d:item name="not IMT"
2732        modules="ContentChecker::Atom">
2733      <d:message xml:lang="en">A value that is not an Internet Media Type
2734      is not allowed here.</d:message>
2735  </d:item>  </d:item>
2736    
2737  </section>  </section>
2738    
2739  <section id="uri-errors">  <section id="uri-errors">
2740  <h2>URI (or IRI) Errors</h2>  <h2>URL Errors</h2>
2741    
2742    <d:item name="syntax error:iri3987"
2743        modules="URIChecker CacheManifest">
2744      <d:message xml:lang="en">The specified value is syntactically not an
2745      IRI.</d:message>
2746    </d:item>
2747    
2748  <d:item name="URI::syntax error"  <d:item name="syntax error:iriref3987"
2749      class="must" level="m">      modules="URIChecker">
2750    <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
2751    reference.</d:message>    reference.</d:message>
2752    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 2334  p { Line 2764  p {
2764    </d:desc>    </d:desc>
2765  </d:item>  </d:item>
2766    
2767  </section>  <d:item name="syntax error:rdfuriref"
2768        modules="URIChecker">
2769      <d:message xml:lang="en">The specified value is syntactically not an RDF
2770      URI reference.</d:message>
2771    </d:item>
2772    
2773    <d:item name="syntax error:uri2396"
2774        modules="URIChecker">
2775      <d:message xml:lang="en">The specified value is syntactically not a
2776      URI according to RFC 2396.</d:message>
2777    </d:item>
2778    
2779  <section id="uri-shoulds">  <d:item name="syntax error:uri3986"
2780  <h2>URI (or IRI) Should-level Errors</h2>      modules="URIChecker">
2781      <d:message xml:lang="en">The specified value is syntactically not a
2782      URI.</d:message>
2783    </d:item>
2784    
2785  <d:item name="URI::dot-segment"  <d:item name="URL:address format"
2786      class="should" level="s">      modules="URIChecker">
2787      <d:message xml:lang="en">URL host address format
2788      <code><var>{text}</var></code> is not defined.</d:message>
2789    </d:item>
2790    
2791    <d:item name="URL:default port"
2792        modules="URIChecker">
2793      <d:message xml:lang="en">Default port number should be omitted.</d:message>
2794    </d:item>
2795    
2796    <d:item name="URL:dot-segment"
2797        modules="URIChecker">
2798    <d:message xml:lang="en">A dot-segment (<code>.</code> or    <d:message xml:lang="en">A dot-segment (<code>.</code> or
2799    <code>..</code>) occurs in an absolute reference.</d:message>    <code>..</code>) occurs in an absolute reference.</d:message>
2800    <d:desc>    <d:desc>
# Line 2355  p { Line 2809  p {
2809    </d:desc>    </d:desc>
2810  </d:item>  </d:item>
2811    
2812  <d:item name="URI::empty path"  <d:item name="URL:empty host"
2813      class="should" level="s">      modules="URIChecker">
2814    <d:message xml:lang="en">This IRI does not end with    <d:message xml:lang="en">The host component of the URL is empty.</d:message>
2815    a <code>/</code>.</d:message>  </d:item>
2816    
2817    <d:item name="URL:empty path"
2818        modules="URIChecker">
2819      <d:message xml:lang="en">The URL does not end with
2820      a <code>/</code> character.</d:message>
2821    <d:item xml:lang="en">    <d:item xml:lang="en">
2822      <p>The IRI does not end with a <code>/</code>.  If there is an      <p>The IRI does not end with a <code>/</code>.  If there is an
2823      authority component in an IRI, a <code>/</code> should be present      authority component in an IRI, a <code>/</code> should be present
# Line 2369  p { Line 2828  p {
2828    </d:item>    </d:item>
2829  </d:item>  </d:item>
2830    
2831  <d:item name="URI::lowercase hexadecimal digit"  <d:item name="URL:empty port"
2832      class="should" level="s">      modules="URIChecker">
2833      <d:message xml:lang="en">The port component of the URL is empty.</d:message>
2834    </d:item>
2835    
2836    <d:item name="URL fragment not allowed"
2837        modules="CacheManifest">
2838      <d:message xml:lang="en">The fragment component of the URL is not
2839      allowed.</d:message>
2840    </d:item>
2841    
2842    <d:item name="URL:long host"
2843        modules="URIChecker">
2844      <d:message xml:lang="en">The host component of the URL
2845      is too long.</d:message>
2846    </d:item>
2847    
2848    <d:item name="URL:lowercase hexadecimal digit"
2849        modules="URIChecker">
2850    <d:message xml:lang="en">A lowercase hexadecimal digit is used    <d:message xml:lang="en">A lowercase hexadecimal digit is used
2851    in percent-encoding.</d:message>    in percent-encoding.</d:message>
2852    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 2380  p { Line 2856  p {
2856    </d:desc>    </d:desc>
2857  </d:item>  </d:item>
2858    
2859  <d:item name="URI::percent-encoded unreserved"  <d:item name="URL:non-DNS host"
2860      class="should" level="s">      modules="URIChecker">
2861      <d:message xml:lang="en">The host component of the URL
2862      is not a DNS host name.</d:message>
2863    </d:item>
2864    
2865    <d:item name="URL:non UTF-8 host"
2866        modules="URIChecker">
2867      <d:message xml:lang="en">The host component of the URL
2868      is not encoded in UTF-8.</d:message>
2869    </d:item>
2870    
2871    <d:item name="URL:password"
2872        modules="URIChecker">
2873      <d:message xml:lang="en">Password should not be included in a URL
2874      for the security.</d:message>
2875    </d:item>
2876    
2877    <d:item name="URL:percent-encoded unreserved"
2878        modules="URIChecker">
2879    <d:message xml:lang="en">An unreserved character is    <d:message xml:lang="en">An unreserved character is
2880    percent-encoded.</d:message>    percent-encoded.</d:message>
2881    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 2391  p { Line 2885  p {
2885    </d:desc>    </d:desc>
2886  </d:item>  </d:item>
2887    
2888  <d:item name="URI::uppercase scheme name"  <d:item name="URL:uppercase host"
2889      class="should" level="s">      modules="URIChecker">
2890    <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>
2891      should be spelt in lowercase.</d:message>
2892    </d:item>
2893    
2894    <d:item name="URL:uppercase scheme name"
2895        modules="URIChecker">
2896      <d:message xml:lang="en">URL scheme name is in uppercase.</d:message>
2897    <d:desc xml:lang="en">    <d:desc xml:lang="en">
2898      <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>
2899    
# Line 2413  p { Line 2913  p {
2913    
2914  </section>  </section>
2915    
2916    <section id="mq-errors">
2917    <h2>Media Query Errors</h2>
2918    
2919    <d:item name="mq syntax error"
2920        modules="CSS::MediaQueryParser">
2921      <d:message xml:lang="en">The specified value has a syntax error as a
2922      media query.</d:message>
2923    </d:item>
2924    
2925    <d:item name="unknown media type"
2926        modules="CSS::MediaQueryParser">
2927      <d:message xml:lang="en">Media type <code><var>{value}</var></code> is
2928      not supported by the conformance checker.</d:message>
2929    </d:item>
2930    
2931    </section>
2932    
2933    <section id="selectors-errors">
2934    <h2>Selectors Errors</h2>
2935    
2936    <d:item name="an+b not closed"
2937        modules="CSS::SelectorsParser">
2938      <d:message xml:lang="en">Argument list of the pseudo-class is
2939      not closed by a <code>)</code> character.</d:message>
2940    </d:item>
2941    
2942    <d:item name="ab+b not integer"
2943        modules="CSS::SelectorsParser">
2944      <d:message xml:lang="en">Numbers in the argument
2945      <code><var>a</var>n+<var>b</var></code> have to be integers.</d:message>
2946    </d:item>
2947    
2948    <d:item name="an+b syntax error"
2949        modules="CSS::SelectorsParser">
2950      <d:message xml:lang="en">Argument <code><var>a</var>n+<var>b</var></code> is
2951      syntactically incorrect.</d:message>
2952    </d:item>
2953    
2954    <d:item name="attr selector not closed"
2955        modules="CSS::SelectorsParser">
2956      <d:message xml:lang="en">Attribute selector is not closed by
2957      a <code>]</code> character.</d:message>
2958    </d:item>
2959    
2960    <d:item name="lang selector not closed"
2961        modules="CSS::SelectorsParser">
2962      <d:message xml:lang="en">Argument list of the <code>:lang</code>
2963      selector is not closed by a <code>)</code> character.</d:message>
2964    </d:item>
2965    
2966    <d:item name="namespace prefix:not declared"
2967        modules="CSS::SelectorsParser">
2968      <d:message xml:lang="en">Namespace prefix <code><var>{value}</var></code>
2969      is not declared.</d:message>
2970    </d:item>
2971    
2972    <d:item name="no attr local name"
2973        modules="CSS::SelectorsParser">
2974      <d:message xml:lang="en">Attribute local name is missing.</d:message>
2975    </d:item>
2976    
2977    <d:item name="no attr match"
2978        modules="CSS::SelectorsParser">
2979      <d:message xml:lang="en">Attribute matching operator (e.g.
2980      <code>=</code>) is missing.</d:message>
2981    </d:item>
2982    
2983    <d:item name="no attr name"
2984        modules="CSS::SelectorsParser">
2985      <d:message xml:lang="en">Attribute name is missing.</d:message>
2986    </d:item>
2987    
2988    <d:item name="no attr namespace separator"
2989        modules="CSS::SelectorsParser">
2990      <d:message xml:lang="en">Attribute namespace wildcard <code>*</code>
2991      is not followed by a <code>|</code> character.</d:message>
2992    </d:item>
2993    
2994    <d:item name="no attr value"
2995        modules="CSS::SelectorsParser">
2996      <d:message xml:lang="en">Attribute value is missing.</d:message>
2997    </d:item>
2998    
2999    <d:item name="no class name selector"
3000        modules="CSS::SelectorsParser">
3001      <d:message xml:lang="en">Class name is missing.</d:message>
3002      <!-- "." not followed by a class name -->
3003    </d:item>
3004    
3005    <d:item name="no combinator"
3006        modules="CSS::SelectorsParser">
3007      <d:message xml:lang="en">Combinator is missing.</d:message>
3008    </d:item>
3009    
3010    <d:item name="no contains string"
3011        modules="CSS::SelectorsParser">
3012      <d:message xml:lang="en">No string is specified in the argument
3013      list of the <code>:-manakai-contains</code> pseudo-class
3014      selector.</d:message>
3015    </d:item>
3016    
3017    <d:item name="no lang tag"
3018        modules="CSS::SelectorsParser">
3019      <d:message xml:lang="en">Language tag argument is missing.</d:message>
3020    </d:item>
3021    
3022    <d:item name="no local name selector"
3023        modules="CSS::SelectorsParser">
3024      <d:message xml:lang="en">Local name part of the type selector (or
3025      <code>*</code> for the universal selector) is missing.</d:message>
3026      <!-- "|" not followed by a name or "*" -->
3027    </d:item>
3028    
3029    <d:item name="no pseudo-class name"
3030        modules="CSS::SelectorsParser">
3031      <d:message xml:lang="en">Pseudo-class name is missing.</d:message>
3032    </d:item>
3033    
3034    <d:item name="no pseudo-element name"
3035        modules="CSS::SelectorsParser">
3036      <d:message xml:lang="en">Pseudo-element name is missing.</d:message>
3037    </d:item>
3038    
3039    <d:item name="no sss"
3040        modules="CSS::SelectorsParser">
3041      <d:message xml:lang="en">Sequence of simple selectors is
3042      expected.</d:message>
3043    </d:item>
3044    
3045    <d:item name="not not closed"
3046        modules="CSS::SelectorsParser">
3047      <d:message xml:lang="en">Argument list of the <code>:not</code> selector
3048      is not closed by a <code>)</code> character.</d:message>
3049    </d:item>
3050    
3051    <d:item name="ss after pseudo-element"
3052        modules="CSS::SelectorsParser">
3053      <d:message xml:lang="en">Simple selector is not allowed after a
3054      pseudo element.</d:message>
3055    </d:item>
3056    
3057    <d:item name="unknown pseudo-class"
3058        modules="CSS::SelectorsParser">
3059      <d:message xml:lang="en">Pseudo-class <code>:<var>{value}</var></code>
3060      is not supported by the conformance checker.</d:message>
3061    </d:item>
3062    
3063    <d:item name="unknown pseudo-element"
3064        modules="CSS::SelectorsParser">
3065      <d:message xml:lang="en">Pseudo-element <code>::<var>{value}</var></code>
3066      is not supported by the conformance checker.</d:message>
3067    </d:item>
3068    
3069    </section>
3070    
3071    <section id="css-errors">
3072    <h2>CSS Errors</h2>
3073    
3074    <d:item name="at-rule not allowed"
3075        modules="CSS::Parser">
3076      <d:message xml:lang="en">An <code>@<var>{text}</var></code> rule is not
3077      allowed here.</d:message>
3078    </d:item>
3079    
3080    <d:item name="at-rule syntax error"
3081        modules="CSS::Parser">
3082      <d:message xml:lang="en">The <code>@<var>{text}</var></code> rule is
3083      syntactically incorrect.</d:message>
3084    </d:item>
3085    
3086    <d:item name="block not closed"
3087        modules="CSS::Parser">
3088      <d:message xml:lang="en">Block is not closed before the end of
3089      file.</d:message>
3090    </d:item>
3091    
3092    <d:item name="CSS duplication"
3093        modules="CSS::Parser">
3094      <d:message xml:lang="en">Component <code>&lt;<var>{text}</var>></code> is
3095      already specified.</d:message>
3096    </d:item>
3097    
3098    <d:item name="CSS cursor hand"
3099        modules="CSS::Parser">
3100      <d:message xml:lang="en">Value <code>hand</code> is not valid as
3101      <code>&lt;'cursor'></code>.</d:message>
3102    </d:item>
3103    
3104    <d:item name="CSS syntax error"
3105        modules="CSS::Parser">
3106      <d:message xml:lang="en">Specified value is syntactically not a correct
3107      <code>&lt;<var>{text}</var>></code>.</d:message>
3108    </d:item>
3109    
3110    <d:item name="no declaration block"
3111        modules="CSS::Parser">
3112      <d:message xml:lang="en">No declaration block is found after a group of
3113      selectors.</d:message>
3114    </d:item>
3115    
3116    <d:item name="no property colon"
3117        modules="CSS::Parser">
3118      <d:message xml:lang="en">A <code>:</code> character is missing after
3119      a property name.</d:message>
3120    </d:item>
3121    
3122    <d:item name="no property name"
3123       modules="CSS::Parser">
3124      <d:message xml:lang="en">Property name is expected.</d:message>
3125    </d:item>
3126    
3127    <d:item name="no property semicolon"
3128       modules="CSS::Parser">
3129      <d:message xml:lang="en">A <code>;</code> character is missing at the
3130      end of the property.</d:message>
3131    </d:item>
3132    
3133    <d:item name="priority syntax error"
3134        modules="CSS::Parser">
3135      <d:message xml:lang="en">Priority part of the declaration is syntactically
3136      incorrect.</d:message>
3137    </d:item>
3138    
3139    <d:item name="unknown at-rule"
3140        modules="CSS::Parser">
3141      <d:message xml:lang="en">The <code>@<var>{value}</var></code> rule is
3142      not supported by the conformance checker.</d:message>
3143    </d:item>
3144    
3145    <d:item name="unknown property"
3146        modules="CSS::Parser">
3147      <d:message xml:lang="en">Property <code><var>{value}</var></code> is
3148      not supported by the conformance checker.</d:message>
3149    </d:item>
3150    
3151    </section>
3152    
3153  <section id="cache-manifest-errors">  <section id="cache-manifest-errors">
3154  <h2>Cache Manifest Errors</h2>  <h2>Cache Manifest Errors</h2>
3155    
3156  <d:item name="not manifest" class="must" level="m">  <d:item name="both in entries and whitelist"
3157        modules="CacheManifest">
3158      <d:message xml:lang="en">This URL is found both in the explicit or
3159      fallback entries and in the online whitelist.</d:message>
3160    </d:item>
3161    
3162    <d:item name="different origin from manifest"
3163        modules="CacheManifest">
3164      <d:message xml:lang="en">The specified URL has different origin from
3165      the manifest.</d:message>
3166    </d:item>
3167    
3168    <d:item name="different scheme from manifest"
3169        modules="CacheManifest">
3170      <d:message xml:lang="en">The scheme component of the URL is
3171      different from that of the manifest URL.  The URL is ignored.</d:message>
3172    </d:item>
3173    
3174    <d:item name="duplicate oc namespace"
3175        modules="CacheManifest">
3176      <d:message xml:lang="en">This oppotunistic caching namespace is already
3177      specified.</d:message>
3178    </d:item>
3179    
3180    <d:item name="no fallback entry URL"
3181        modules="CacheManifest">
3182      <d:message xml:lang="en">Fallback entry URL is missing.</d:message>
3183    </d:item>
3184    
3185    <d:item name="not manifest"
3186        modules="CacheManifest">
3187    <d:message xml:lang="en">This document is not a cache manifest.</d:message>    <d:message xml:lang="en">This document is not a cache manifest.</d:message>
3188    <d:desc xml:lang="en">    <d:desc xml:lang="en">
3189      <p>The specified document is <em>not</em> a cache manifest.      <p>The specified document is <em>not</em> a cache manifest.
# Line 2431  p { Line 3198  p {
3198      <code>CACHE</code> and <code>MANIFEST</code>).</p>      <code>CACHE</code> and <code>MANIFEST</code>).</p>
3199    </d:desc>    </d:desc>
3200  </d:item>  </d:item>
3201    
3202    <d:item name="same as manifest URL"
3203        modules="CacheManifest">
3204      <d:message xml:lang="en">This URL is same as the manifest URL.</d:message>
3205    </d:item>
3206    
3207  </section>  </section>
3208    
3209  <section id="information">  <section id="information">
# Line 2567  p { Line 3340  p {
3340  </d:item>  </d:item>
3341  </section>  </section>
3342    
3343    <section id="langtag-errors">
3344    <h2>Language Tag Errors</h2>
3345    
3346    <d:item name="langtag:extension:duplication"
3347        modules="LangTag">
3348      <d:message xml:lang="en">There is another extension subtag
3349      <code><var>{value}</var></code>.</d:message>
3350    </d:item>
3351    
3352    <d:item name="langtag:illegal"
3353        modules="LangTag">
3354      <d:message xml:lang="en">Subtag <code><var>{value}</var></code> is
3355      syntactically invalid.</d:message>
3356    </d:item>
3357    
3358    <d:item name="langtag:language:case"
3359        modules="LangTag">
3360      <d:message xml:lang="en">It is a good practice to represent ISO 639-1
3361      language code <code><var>{value}</var></code> in lowercase.</d:message>
3362    </d:item>
3363    
3364    <d:item name="langtag:language:mul"
3365        modules="LangTag">
3366      <d:message xml:lang="en">Langauge tag <code>mul</code> should not be
3367      used.</d:message>
3368    </d:item>
3369    
3370    <d:item name="langtag:language:nosemantics"
3371        modules="LangTag">
3372      <d:message xml:lang="en">No semantics is defined for language subtag
3373      <code><var>{value}</var></code>.</d:message>
3374    </d:item>
3375    
3376    <d:item name="langtag:language:syntax"
3377        modules="LangTag">
3378      <d:message xml:lang="en">The language subtag <code><var>{value}</var></code>
3379      is syntactically invalid.</d:message>
3380    </d:item>
3381    
3382    <d:item name="langtag:language:und"
3383        modules="LangTag">
3384      <d:message xml:lang="en">Langauge tag <code>und</code> should not be
3385      used.</d:message>
3386    </d:item>
3387    
3388    <d:item name="langtag:private"
3389        modules="LangTag">
3390      <d:message xml:lang="en">It would be better if a private use language
3391      tag (<code><var>{value}</var></code>) is not used.</d:message>
3392    </d:item>
3393    
3394    <d:item name="langtag:privateuse:syntax"
3395        modules="LangTag">
3396      <d:message xml:lang="en">Private use subtag <code><var>{value}</var></code>
3397      is syntactically invalid.</d:message>
3398    </d:item>
3399    
3400    <d:item name="langtag:region:case"
3401        modules="LangTag">
3402      <d:message xml:lang="en">It is a good practice to represent ISO 3166
3403      country code <code><var>{value}</var></code> in uppercase.</d:message>
3404    </d:item>
3405    
3406    <d:item name="langtag:region:nosemantics"
3407        modules="LangTag">
3408      <d:message xml:lang="en">No semantics is defined for region subtag
3409      <code><var>{value}</var></code>.</d:message>
3410    </d:item>
3411    
3412    <d:item name="langtag:region:private"
3413        modules="LangTag">
3414      <d:message xml:lang="en">Use of private use country code
3415      <code><var>{value}</var></code> is not allowed.</d:message>
3416    </d:item>
3417    
3418    </section>
3419    
3420    <section id="rdfxml-errors">
3421    <h2>RDF/XML Errors</h2>
3422    
3423    <d:item name="bad rdf namespace"
3424        modules="RDFXML">
3425      <d:message xml:lang="en">The namespace URI of an element that
3426      represents an RDF concept must be
3427      <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>.</d:message>
3428    </d:item>
3429    
3430    <d:item name="duplicate rdf id"
3431        modules="RDFXML">
3432      <d:message xml:lang="en">The specified value is already used as an
3433      ID.</d:message>
3434    </d:item>
3435    
3436    <d:item name="duplicate unqualified attr"
3437        modules="RDFXML">
3438      <d:message xml:lang="en">Both unqualified attribute and namespace‐qualified
3439      RDF attribute are specified, which is not allowed.</d:message>
3440    </d:item>
3441    
3442    <d:item name="parse type other"
3443        modules="RDFXML">
3444      <d:message xml:lang="en">An invalid value is specified to
3445      the <code>parseType</code> attribute.</d:message>
3446    </d:item>
3447    
3448    <d:item name="second node element"
3449        modules="RDFXML">
3450      <d:message xml:lang="en">There is another element, such that
3451      this element is not allowed.</d:message>
3452    </d:item>
3453    
3454    <d:item name="unqualified attr"
3455        modules="RDFXML">
3456      <d:message xml:lang="en">Unqualified attribute is not allowed.</d:message>
3457    </d:item>
3458    
3459    <d:item name="unqualified rdf attr"
3460        modules="RDFXML">
3461      <d:message xml:lang="en">RDF attribute should be
3462      namespace‐qualified.</d:message>
3463    </d:item>
3464    
3465    </section>
3466    
3467  <section id="unsupported-messages">  <section id="unsupported-messages">
3468  <h2><i>Unsupported</i> Messages</h2>  <h2><i>Unsupported</i> Messages</h2>
3469    
# Line 2582  p { Line 3479  p {
3479  </d:item>  </d:item>
3480    
3481  <d:item name="unknown attribute"  <d:item name="unknown attribute"
3482      modules="ContentChecker ContentChecker::HTML">      modules="ContentChecker ContentChecker::HTML ContentChecker::Atom">
3483    <d:message xml:lang="en">Conformance checking for attribute    <d:message xml:lang="en">Conformance checking for attribute
3484    <code><var>{local-name}</var></code> of element    <code><var>{local-name}</var></code> of element
3485    <code><var>{element-local-name}</var></code> is not supported;    <code><var>{element-local-name}</var></code> is not supported;
# Line 2631  p { Line 3528  p {
3528    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>
3529  </d:item>  </d:item>
3530    
3531    <d:item name="addr-spec not supported"
3532        modules="ContentChecker::Atom">
3533      <d:message xml:lang="en">Conformance checking for an <code>addr-spec</code>
3534      is not supported; <em>it might or might not be conforming.</em></d:message>
3535    </d:item>
3536    
3537  <d:item name="XML script lang"  <d:item name="XML script lang"
3538      modules="ContentChecker::HTML">      modules="ContentChecker::HTML">
3539    <d:message xml:lang="en">Conformance checking for script    <d:message xml:lang="en">Conformance checking for script
# Line 2645  p { Line 3548  p {
3548    <em>it might or might not be conforming.</em></d:message>    <em>it might or might not be conforming.</em></d:message>
3549  </d:item>  </d:item>
3550    
3551  </section>  <d:item name="atom|content not supported"
3552        modules="ContentChecker::Atom">
3553  <d:cat name="WebHACC:Title">    <d:message xml:lang="en">Conformance checking for an Atom
3554    <d:text xml:lang="en">WebHACC (β)</d:text>    <code>content</code> element with <code>type</code>
3555  </d:cat>    <code><var>{text}</var></code> is not supported.</d:message>
3556    </d:item>
3557    
3558    <d:item name="help not available"
3559        modules="cc-script">
3560      <d:message xml:lang="en">No more information is available.</d:message>
3561      <d:message xml:lang="ja">これ以上の詳しい情報はありません。</d:message>
3562      <d:desc xml:lang="en">
3563        <p>No more information is available for this topic.</p>
3564      </d:desc>
3565      <d:desc xml:lang="ja">
3566        <p>これについての詳しい情報はありません。</p>
3567      </d:desc>
3568    </d:item>
3569    
3570  <d:cat name="WebHACC:Heading">  </section>
   <d:text xml:lang="en">  
     <a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a>  
   </d:text>  
   <d:text xml:lang="ja">  
     <a href="../cc-about"><abbr title="Web ハイパーテキスト応用適合性検査器 (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a>  
   </d:text>  
 </d:cat>  
3571    
3572  <d:cat name="Input">  <d:cat name="Input">
3573    <d:text xml:lang="en">Input</d:text>    <d:text xml:lang="en">Input</d:text>
# Line 2812  p { Line 3721  p {
3721    <d:text xml:lang="ja">再整形</d:text>    <d:text xml:lang="ja">再整形</d:text>
3722  </d:cat>  </d:cat>
3723    
3724    <d:cat name="RDF Triples">
3725      <d:text xml:lang="en"><abbr>RDF</abbr> Triples</d:text>
3726      <d:text xml:lang="ja"><abbr lang="en">RDF</abbr> 三項組</d:text>
3727    </d:cat>
3728    
3729    <d:cat name="RDF">
3730      <d:text xml:lang="en"><abbr>RDF</abbr></d:text>
3731      <d:text xml:lang="ja"><abbr lang="en">RDF</abbr></d:text>
3732    </d:cat>
3733    
3734  <d:cat name="Structural Errors">  <d:cat name="Structural Errors">
3735    <d:text xml:lang="en">Structural Errors</d:text>    <d:text xml:lang="en">Structural Errors</d:text>
3736    <d:text xml:lang="ja">構造的誤り</d:text>    <d:text xml:lang="ja">構造的誤り</d:text>
# Line 2964  p { Line 3883  p {
3883    <d:text xml:lang="ja">バイト</d:text>    <d:text xml:lang="ja">バイト</d:text>
3884  </d:cat>  </d:cat>
3885    
3886    <d:cat name="Explicit entries">
3887      <d:text xml:lang="en">Explicit entries</d:text>
3888      <d:text xml:lang="ja">明示的項目</d:text>
3889    </d:cat>
3890    
3891    <d:cat name="Fallback entries">
3892      <d:text xml:lang="en">Fallback entries</d:text>
3893      <d:text xml:lang="ja">滑り止め項目</d:text>
3894    </d:cat>
3895    
3896    <d:cat name="Opportunistic caching namespace">
3897      <d:text xml:lang="en">Opportunistic caching namespace</d:text>
3898      <d:text xml:lang="ja">日和見的キャッシュ化名前空間</d:text>
3899    </d:cat>
3900    
3901    <d:cat name="Fallback entry">
3902      <d:text xml:lang="en">Fallback entry</d:text>
3903      <d:text xml:lang="ja">滑り止め項目</d:text>
3904    </d:cat>
3905    
3906    <d:cat name="Online whitelist">
3907      <d:text xml:lang="en">Online whitelist</d:text>
3908      <d:text xml:lang="ja">オンライン・ホワイトリスト</d:text>
3909    </d:cat>
3910    
3911    <d:cat name="No entry">
3912      <d:text xml:lang="en">No entry</d:text>
3913      <d:text xml:lang="ja">項目なし</d:text>
3914    </d:cat>
3915    
3916    <d:cat name="Subject">
3917      <d:text xml:lang="en">Subject</d:text>
3918      <d:text xml:lang="ja">主語</d:text>
3919    </d:cat>
3920    
3921    <d:cat name="Predicate">
3922      <d:text xml:lang="en">Predicate</d:text>
3923      <d:text xml:lang="ja">述語</d:text>
3924    </d:cat>
3925    
3926    <d:cat name="Object">
3927      <d:text xml:lang="en">Object</d:text>
3928      <d:text xml:lang="ja">目的語</d:text>
3929    </d:cat>
3930    
3931  <d:cat name="character">  <d:cat name="character">
3932    <d:text xml:lang="en">character</d:text>    <d:text xml:lang="en">character</d:text>
3933    <d:text xml:lang="ja">文字</d:text>    <d:text xml:lang="ja">文字</d:text>
# Line 2994  p { Line 3958  p {
3958    <d:text xml:lang="ja">位置不明</d:text>    <d:text xml:lang="ja">位置不明</d:text>
3959  </d:cat>  </d:cat>
3960    
3961    <d:cat name="(unknown)">
3962      <d:text xml:lang="en">(Unknown)</d:text>
3963      <d:text xml:lang="ja">(不明)</d:text>
3964    </d:cat>
3965    
3966    <d:cat name="Description">
3967      <d:text xml:lang="en">Description</d:text>
3968      <d:text xml:lang="ja">説明</d:text>
3969    </d:cat>
3970    
3971  <d:cat name="Table #">  <d:cat name="Table #">
3972    <d:text xml:lang="en">Structure of Table #<var>{text}</var></d:text>    <d:text xml:lang="en">Structure of Table #<var>{text}</var></d:text>
3973    <d:text xml:lang="ja">表 #<var>{text}</var> の構造</d:text>    <d:text xml:lang="ja">表 #<var>{text}</var> の構造</d:text>
# Line 3137  p { Line 4111  p {
4111  </d:cat>  </d:cat>
4112    
4113  <d:cat name="Error level m">  <d:cat name="Error level m">
4114    <d:text xml:lang="en"><a href="../error-description#level-m"><em class="rfc2119">MUST</em>‐level    <d:text xml:lang="en"><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119">MUST</em>‐level
4115          error</a></d:text>          error</a></d:text>
4116    <d:text xml:lang="ja"><a href="../error-description#level-m"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></d:text>    <d:text xml:lang="ja"><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></d:text>
4117      <d:desc xml:lang="en">
4118        <p>A violation to a hard requirement of the specification.
4119        The document is non‐conforming.</p>
4120      </d:desc>
4121  </d:cat>  </d:cat>
4122    
4123  <d:cat name="Error level s">  <d:cat name="Error level s">
4124    <d:text xml:lang="en"><a href="../error-description#level-s"><em class="rfc2119">SHOULD</em>‐level    <d:text xml:lang="en"><a href="../error-description#Error-level-s" rel="help"><em class="rfc2119">SHOULD</em>‐level
4125          error</a></d:text>          error</a></d:text>
4126    <d:text xml:lang="ja"><a href="../error-description#level-s"><em class="rfc2119" title="RECOMMENDED">推奨</em>級の誤り</a></d:text>    <d:text xml:lang="ja"><a href="../error-description#Error-level-s" rel="help"><em class="rfc2119" title="RECOMMENDED">推奨</em>級の誤り</a></d:text>
4127      <d:desc xml:lang="en">
4128        <p>A violation to a requirement of the specification.
4129        The violation might be legitimize in some case.  Otherwise,
4130        the document is non‐conforming.</p>
4131      </d:desc>
4132  </d:cat>  </d:cat>
4133    
4134  <d:cat name="Error level w">  <d:cat name="Error level w">
4135    <d:text xml:lang="en"><a href="../error-description#level-w">Warning</a></d:text>    <d:text xml:lang="en"><a href="../error-description#Error-level-w" rel="help">Warning</a></d:text>
4136    <d:text xml:lang="ja"><a href="../error-description#level-w">警告</a></d:text>    <d:text xml:lang="ja"><a href="../error-description#Error-level-w" rel="help">警告</a></d:text>
4137      <d:desc xml:lang="en">
4138        <p>A warning is an advice from the conformance checker
4139        to avoid solving a problem in a confusing or possibly wrong way.
4140        It does not affect to the conformance of the document, and
4141        may sometimes be inappropriate.</p>
4142      </d:desc>
4143  </d:cat>  </d:cat>
4144    
4145  <d:cat name="Error level i">  <d:cat name="Error level i">
4146    <d:text xml:lang="en"><a href="../error-description#level-i">Information</a></d:text>    <d:text xml:lang="en"><a href="../error-description#Error-level-i" rel="help">Information</a></d:text>
4147    <d:text xml:lang="ja"><a href="../error-description#level-i">情報</a></d:text>    <d:text xml:lang="ja"><a href="../error-description#Error-level-i" rel="help">情報</a></d:text>
4148      <d:desc xml:lang="en">
4149        <p>An informational message just provides an additional information
4150        on the feature used in the document or the status of the retrieval
4151        or so on.
4152        It does not affect to the conformance of the document.</p>
4153      </d:desc>
4154  </d:cat>  </d:cat>
4155    
4156  <d:cat name="Error level u">  <d:cat name="Error level u">
4157    <d:text xml:lang="en"><a href="../error-description#level-u">Not    <d:text xml:lang="en"><a href="../error-description#Error-level-u" rel="help">Not
4158        supported</a></d:text>        supported</a></d:text>
4159    <d:text xml:lang="ja"><a href="../error-description#level-u">未対応</a></d:text>    <d:text xml:lang="ja"><a href="../error-description#Error-level-u" rel="help">未対応</a></d:text>
4160      <d:desc xml:lang="en">
4161        <p>Some feature that is not supported by the conformance checker
4162        is used in the document.</p>
4163      </d:desc>
4164  </d:cat>  </d:cat>
4165    
 <section id="levels">  
 <h2>Error Levels</h2>  
   
 <table id="levels-table">  
 <thead>  
 <tr><th scope="col">Level</th>  
 <th scope="col">Conforming?</th>  
 <th scope="col">Description</th>  
 </tr>  
 </thead>  
 <tbody>  
 <tr id="level-m" class="level-m">  
 <th scope="row"><em class="rfc2119">MUST</em>‐level error</th>  
 <td>Non‐conforming.</td>  
 <td>A violation to a hard requirement of the specification.  
 The document is non‐conforming.</td>  
 </tr>  
 <tr id="level-s" class="level-s">  
 <th scope="row"><em class="rfc2119">SHOULD</em>‐level error</th>  
 <td>Non‐conforming, but <em>in some case</em>  
 conforming.</td>  
 <td>A violation to a requirement of the specification.  
 The violation might be legitimize in some case.  Otherwise,  
 the document is non‐conforming.</td>  
 </tr>  
 <tr id="level-w" class="level-w">  
 <th scope="row">Warning</th>  
 <td>Conforming.</td>  
 <td>A warning is an advice from the conformance checker to avoid  
 to solve a problem in a confusing or possibly wrong way.  
 It does not affect to the conformance of the document, and  
 may sometimes be inappropriate.</td>  
 </tr>  
 <tr id="level-i" class="level-i">  
 <th scope="row">Information</th>  
 <td>Conforming.</td>  
 <td>An informational message just provides an additional information  
 on the feature used in the document or the status of the retrieval  
 or so on.  
 It does not affect to the conformance of the document.</td>  
 </tr>  
 <tr id="level-u" class="level-u">  
 <th scope="row">Not supported</th>  
 <td><em>Unknown</em>.</td>  
 <td>Some feature that is not supported by the conformance checker  
 is used in the document.</td>  
 </tr>  
 </tbody>  
 </table>  
 </section>  
   
4166  <section id="license">  <section id="license">
4167  <h2>License of This Document</h2>  <h2>License of This Document</h2>
4168    

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.43

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24