/[suikacvs]/test/html-webhacc/error-description.en.html.u8
Suika

Diff of /test/html-webhacc/error-description.en.html.u8

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

revision 1.13 by wakaba, Wed Nov 7 11:29:46 2007 UTC revision 1.38 by wakaba, Thu Sep 11 09:13:57 2008 UTC
# Line 1  Line 1 
1  <!DOCTYPE html><html id="error-description" lang="en" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml">  <!DOCTYPE html><html id="error-description" lang="en" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml">
2  <head>  <head>
3  <title xml:lang="en">Description of Errors —  <base href="cc/">
4  Web Document Conformance Checker (BETA)</title>  
5  <link href="cc-style" rel="stylesheet">  
6    <link href="../cc-style" rel="stylesheet">
7  <link href="#license" rel="license">  <link href="#license" rel="license">
8  </head>  <title xml:lang="en">Description of Errors — WebHACC (β)</title></head>
9  <body>  <body>
10  <h1>Description of Errors</h1>  <header>
11    <h1><a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img alt="WebHACC" src="../icons/title"></abbr></a></h1>
12    <h2>Description of Errors</h2>
13    </header>
14    
 <section id="html5-tokenize-error">  
 <h2>HTML5 Parse Errors in Tokenization Stage</h2>  
15    
 <div class="section parse-error" id="after-html"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>  
   is not allowed after the end tag <code>&lt;/html&gt;</code>.</h3>  
     <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>  
16    
17      <p>Any content of the document other than comments  <div class="section" id="WebHACC:Heading"><h3>
18      must be put into the <code>html</code> element.</p>      
19      </h3>
20        <p><a href="./#input"><abbr title="Web Hypertext Application Conformance Checker">WebHACC</abbr></a>
21        is a <em>conformance checker</em> (or validator) for Web documents,
22        supporting <a href="../standards">latest Web standards</a> including
23        <a href="http://whatwg.org/html5"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>,
24        <a href="urn:ietf:rfc:4287">Atom 1.0</a>,
25        <a href="http://www.w3.org/Style/CSS/current-work"><abbr title="Cascading Style Sheets">CSS</abbr>3</a>.</p>
26    
27        <p><strong><a href="./#input">Check your document</a></strong>, or
28        <a href="../cc-about">learn more about
29        <abbr title="Web Hypertext Application Conformance Checker">WebHACC</abbr></a>.</p>
30    </div>    </div>
31    
32  <div class="section parse-error" id="after-body"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>  <section id="character-encoding-layer">
33    is not allowed after the end tag <code>&lt;/body&gt;</code>.</h3>  <h2>Character Encoding Layer Errors</h2>
     <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>  
34    
35      <p>Any content of the document other than <code>head</code>  <div class="section" id="fallback-char-error"><h3>Octet sequence <code><var>{octets}</var></code>
36      contents and comments must be put into the <code>body</code>    is not an allowed representation of the character
37      element.</p>    <code><var>{char}</var></code> — character reference
38      <code><var>{char:hexref}</var></code> should be used instead.</h3></div>
39    
40    <div class="section" id="fallback-unassigned-error"><h3>No character is assigned to octet sequence
41      <code><var>{octets}</var></code>.</h3></div>
42    
43    <div class="section" id="illegal-octets-error"><h3>Octet sequence <code><var>{octets}</var></code>
44      is illegal.</h3></div>
45    
46    <div class="section" id="invalid-state-error"><h3>The input stream is broken.</h3>
47        <p>The input stream is encoded in <code>ISO-2022-JP</code>
48        or its variant but is partially broken.</p>
49    
50        <p>Note that an <code>ISO-2022-JP</code> stream must end in the ASCII
51        state.</p>
52    </div>    </div>
53    
54  <div class="section tokenize-error" id="bare-ero"><h3>The <code>&amp;</code> character must  <div class="section" id="unassigned-code-point-error"><h3>No character is assigned to octet sequence
55    introduce a reference.</h3>    <code><var>{octets}</var></code>.</h3></div>
56      <p>An <code>&amp;</code> (<code>U+0026</code>  </section>
57      <code class="charname">AMPERSAND</code>) character which  
58    <section id="html5-character-encoding">
59    <h2>HTML5 Character Encoding Errors</h2>
60    
61    <div class="section" id="disallowed-character-encoding"><h3>Character encoding <code><var>{text}</var></code>
62      is not allowed for <abbr>HTML</abbr> document.</h3>
63        <p>The character encoding used for the document is not allowed
64        for <abbr>HTML</abbr> document.  The document is non‐conforming.</p>
65      </div>
66    
67    <div class="section" id="bad-character-encoding"><h3>Character encoding <code><var>{text}</var></code>
68      should not be used for <abbr>HTML</abbr> document.</h3>
69        <p>The character encoding used for the document is not recommended
70        for <abbr>HTML</abbr> document.  The document is non‐conforming
71        unless there is any good reason to use that encoding.</p>
72      </div>
73    
74    <div class="section" id="non-utf-8-character-encoding"><h3>Use of UTF-8 is encouraged (this document
75      is encoded in <code><var>{text}</var></code>).</h3>
76        <p>Use of UTF-8 as the character encoding of the document is encouraged,
77        though the use of another character encoding is still conforming.</p>
78      </div>
79    
80    <div class="section" id="character-encoding-unchecked"><h3>Conformance for character encoding requirements
81      cannot be checked, since the input is not a byte stream.</h3>
82        <p>The conformance checker cannot detect whether the input document
83        met the requirements on character encoding, since the document
84        is not inputed as a serialized byte sequence.  The document is
85        not conforming if it is not encoded in an appropriate character
86        encoding with appropriate labeling.</p>
87      </div>
88    
89    <div class="section" id="no-character-encoding-declaration"><h3>There is no character encoding
90      declaration.</h3>
91        <p>The document does not contain a character encoding
92        declaration.  Unless the character encoding is explicitly
93        specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>,
94        or is implied by <abbr>BOM</abbr>, there must be a character
95        encoding declaration.  The document is non‐conforming.</p>
96    
97        <p>The long character encoding declaration syntax
98        <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
99        is obsolete.  The new syntax is:</p>
100        <pre class="html example">
101    <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
102    
103        <p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr>
104        declaration has no effect for <abbr>HTML</abbr> document.</p>
105      </div>
106    
107    <div class="section" id="non-ascii-superset"><h3>No character encoding metadata is found
108      in lower‐level protocol nor is there <abbr>BOM</abbr>, while
109      character encoding <code><var>{text}</var></code>
110      is not a superset of <abbr>ASCII</abbr>.</h3>
111        <p>The document is not labeled with character encoding name
112        in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and
113        the document is not begin with <abbr>BOM</abbr>.  In addition,
114        the character encoding of the document is not a superset of
115        <abbr>ASCII</abbr>.  The document is non‐conforming.</p>
116    
117        <p>Unless there is a <abbr>BOM</abbr>, the character encoding
118        for the document must be specified in e.g. <abbr>HTTP</abbr>‐level,
119        as:</p>
120        <pre class="http example">
121    <code>Content-Type: text/html; charset=<var>charset-name</var></code></pre>
122    
123        <p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e.
124        <code class="html example">&lt;meta charset="<var>charset-name</var>"&gt;</code>,
125        does not allow to omit <code>charset</code> parameter
126        for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr>
127        compatible encoding.</p>
128    
129        <p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>,
130        and <code>ISO-2022-JP</code> are <em>not</em> a superset of
131        <abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p>
132      </div>
133    
134    <div class="section" id="sniffing:chardet"><h3>Character encoding of this document is sniffed
135      as <code><var>{text}</var></code> (Sniffed because no explicit specification
136      for the character encoding of this document is found in the transfer
137      procotol headers).</h3></div>
138    
139    <div class="section" id="sniffing:default"><h3>Character encoding of this document is defaulted
140      to <code><var>{text}</var></code> because no explicit specification
141      for the character encoding of this document is found in the transfer
142      procotol headers.</h3></div>
143    
144    <div class="section" id="chardecode:fallback"><h3>Results might be <em>wrong</em>, since the
145      conformance checker cannot find an appropriate decoder for the character
146      encoding used for the document.</h3>
147        <p>The conformance checker cannot find an appropriate decoder for
148        the character encoding used to encode characters in the document.</p>
149    
150        <p>This error is raised if:</p>
151        <ul>
152        <li>the conformance checker cannot find any decoder for the character
153        encoding in use, but it knows that the encoding is similar to another
154        character encoding, such that it uses the decoder for that character
155        encoding, and therefore some octets might be interpreted incorrectly,
156        or,</li>
157        <li>the conformance checker find a decoder for the character encoding
158        in use, but it does not know whether the decoder is conforming to the
159        relevant specification or not, and therefore some octets might be
160        interpreted incorrectly.</li>
161        </ul>
162    
163        <p>In either case, the result shown by the conformance checker might
164        contain wrong errors caused by errorneous decoder or might not contain
165        errors that should be raised if an appropriate decoder is used.</p>
166    
167        <!-- TODO: add advise that either install relevant modules or
168             join the developmenet of the modules... -->
169      </div>
170    
171    <div class="section" id="chardecode:no-error"><h3>Conformance error checking for the character
172      encoding <code><var>{text}</var></code> is not supported.</h3></div>
173    
174    <div class="section" id="charset-label:matching"><h3>Sniffed character encoding
175      <code><var>{text}</var></code> is same as the character encoding specified
176      in the character encoding declaration.  This is <em>not</em> an
177      error.</h3></div>
178    
179    <div class="section" id="charset-label-detected"><h3>While parsing the document as
180      <code><var>{text}</var></code>, a character encoding declaration specifying
181      a different character encoding is found.  The document
182      is reparsed.</h3>
183        <p>While parsing a document in a character encoding,
184        a character encoding declaration which declares the character
185        encoding of the document as another character encoding is found.
186        The occurence of this warning itself does not make the document
187        non‐conforming.  However, the failure of the first attempt to
188        to detect the character encoding might be a result of non‐conformance
189        of the document.</p>
190    
191        <p>The document will be reparsed from the beginning.  Some error
192        or warning might be reported again.</p>
193    
194        <p>These are suggestions to avoid this warning:</p>
195        <ul>
196        <li>Specify <code>charset</code> parameter in the <code>Content-Type</code>
197        field in the <abbr>HTTP</abbr> header, as:
198        <pre class="HTTP example">
199    <code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li>
200        <li>Put the character encoding declaration
201        (<code class="html example">&lt;meta charset="<var>charset-name</var>"&gt;</code>)
202        just after <code class="html example">&lt;head&gt;</code> start tag.</li>
203        <li>Use <code>UTF-8</code>.</li>
204        </ul>
205      </div>
206    </section>
207    
208    <section id="character-set-layer">
209    <h2>Coded Character Set Layer Errors</h2>
210    
211    <div class="section" id="NULL"><h3>The <code class="charname">NULL</code> character
212      is not allowed.</h3></div>
213    
214    <div class="section" id="control-char"><h3>Code point <code><var>{text}</var></code> is
215      not allowed.</h3></div>
216    
217    <div class="section" id="nonchar"><h3>Noncharacter <code><var>{text}</var></code>
218      is found in the input stream.</h3>
219        <p>Noncharacter code points are used in the input stream.</p>
220    
221        <p>Noncharacter code points are reserved for internal processings.
222        Their use for information interchanges are forbidden.</p>
223    
224        <p>In addition, they are not allowed in HTML document.</p>
225        <!-- "permanently undefined Unicode characters" in HTML5. -->
226      </div>
227    
228    <div class="section" id="unicode-deprecated"><h3>Use of character <code><var>{text}</var></code>
229      is deprecated.</h3></div>
230    
231    <div class="section" id="unicode-discouraged"><h3>Use of character <code><var>{text}</var></code>
232      is discouraged.</h3></div>
233    
234    <div class="section" id="unicode-not-preferred"><h3>Code point <code><var>{text}</var></code>
235      is not the preferred representation of that character.</h3></div>
236    
237    <div class="section" id="unicode-should"><h3>Character <code><var>{text}</var></code>
238      should not be used in many cases.</h3></div>
239    
240    </section>
241    
242    <section id="html5-tokenize-error">
243    <h2>HTML5 Parse Errors in Tokenization Stage</h2>
244    
245    <div class="section" id="bad-attribute-name"><h3>Attribute name cannot contain characters
246      <code>"</code>, <code>'</code>, and <code>=</code>.</h3></div>
247    
248    <div class="section" id="bad-attribute-value"><h3>Attribute value must be quoted by <code>"</code>
249      or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or
250      <code>=</code> character.</h3>
251        <p>In an unquoted attribute value, a character <code>"</code>
252        (<code>U+0022</code> <code class="charname">QUOTATION MARK</code>),
253        <code>'</code> (<code>U+0026</code>
254        <code class="charname">APOSTROPHE</code>), or <code>=</code>
255        (<code>U+003D</code> <code class="charname">EQUAL SIGN</code>)
256        is contained.  These characters are not allowed in unquoted attribute
257        values, since they are used to quote attribute values or to separate
258        attribute name and value.</p>
259    
260        <p>This error is also raised if one try to use empty attribute
261        value like <code class="html bad example">&lt;foo bar= baz=&gt;</code>;
262        in this example, <code class="html bad example">baz=</code> is
263        treated as an invalid attribute value for the attribute
264        <code class="html bad example">bar</code>, not as another attribute.</p>
265      </div>
266    
267    <div class="section" id="bare-ero"><h3>The <code>&amp;</code> character must
268      be escaped as <code class="html example">&amp;amp;</code>.</h3>
269        <p>An <code>&amp;</code> character which
270      is not part of any reference appears in the input stream.      is not part of any reference appears in the input stream.
271      The document is non-conforming.</p>      The document is non‐conforming.</p>
272    
273      <p><strong>Any <code>&amp;</code> character in URI (or IRI)      <p><em>Any <code>&amp;</code> character in URI (or IRI)
274      must be escaped as <code>&amp;amp;</code>.</strong></p>      must be escaped as <code class="example">&amp;amp;</code>.</em></p>
275    
276      <p>The <code>&amp;</code> character must      <p>The <code>&amp;</code> character must
277      be the first character of a reference:      be the first character of a reference:
278        <dl>        <dl class="switch">
279        <dt>Named entity reference</dt>        <dt>Named entity reference</dt>
280            <dd><pre class="html example">            <dd><pre class="html example">
281  <code>&amp;<var>entity-name</var>;</code></pre>  <code>&amp;<var>entity-name</var>;</code></pre>
# Line 70  Web Document Conformance Checker (BETA)< Line 301  Web Document Conformance Checker (BETA)<
301      </p>      </p>
302    </div>    </div>
303    
304  <div class="section tokenize-error" id="bare-etago"><h3>A <code>&lt;/</code> string is not followed  <div class="section" id="bare-etago"><h3>A <code>&lt;/</code> string is not followed
305    by a tag name.</h3>    by a tag name.</h3>
306      <p>There is a <code>&lt;</code> (<code>U+003C</code>      <p>There is a <code>&lt;</code> (<code>U+003C</code>
307      <code class="charname">LESS-THAN SIGN</code>) character      <code class="charname">LESS-THAN SIGN</code>) character
# Line 90  Web Document Conformance Checker (BETA)< Line 321  Web Document Conformance Checker (BETA)<
321      </p>      </p>
322    </div>    </div>
323    
324  <div class="section tokenize-error" id="bare-stago"><h3>A <code>&lt;</code> character is not followed  <div class="section" id="bare-stago"><h3>A <code>&lt;</code> character is not followed
325    by tag name or by a <code>!</code> character.</h3>    by tag name or by a <code>!</code> character.</h3>
326      <p>A <code>&lt;</code> (<code>U+003C</code>      <p>A <code>&lt;</code> (<code>U+003C</code>
327      <code class="charname">LESS-THAN SIGN</code>) character which is not part      <code class="charname">LESS-THAN SIGN</code>) character which is not part
# Line 103  Web Document Conformance Checker (BETA)< Line 334  Web Document Conformance Checker (BETA)<
334      </p>      </p>
335    </div>    </div>
336    
337  <div class="section tokenize-error" id="bare-nero"><h3>The decimal representation of the code position  <div class="section" id="bare-nero"><h3>The decimal representation of the code position
338    of a character must be specified after <code>&amp;#</code>.</h3>    of a character must be specified after <code>&amp;#</code>.</h3>
339      <p>An <code>&amp;</code> (<code>U+0026</code>      <p>An <code>&amp;</code> (<code>U+0026</code>
340      <code class="charname">AMPERSAND</code>) character immediately      <code class="charname">AMPERSAND</code>) character immediately
# Line 114  Web Document Conformance Checker (BETA)< Line 345  Web Document Conformance Checker (BETA)<
345    
346      <p>The string <code>&amp;#</code> must be the first two characters      <p>The string <code>&amp;#</code> must be the first two characters
347      of a reference:      of a reference:
348        <dl>        <dl class="switch">
349        <dt>Numeric character reference</dt>        <dt>Numeric character reference</dt>
350            <dd><pre class="html example">            <dd><pre class="html example">
351  <code>&amp;#<var>d</var>;</code></pre>  <code>&amp;#<var>d</var>;</code></pre>
# Line 135  Web Document Conformance Checker (BETA)< Line 366  Web Document Conformance Checker (BETA)<
366      </p>      </p>
367    </div>    </div>
368    
369  <div class="section tokenize-error" id="bare-hcro"><h3>The hexadecimal representation of the code position  <div class="section" id="bare-hcro"><h3>The hexadecimal representation of the code position
370    of a character must be specified after <code>&amp;#x</code>.</h3>    of a character must be specified after <code>&amp;#x</code>.</h3>
371     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> which     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> which
372     is not part of any reference appears in the input stream.     is not part of any reference appears in the input stream.
# Line 155  Web Document Conformance Checker (BETA)< Line 386  Web Document Conformance Checker (BETA)<
386      </p>      </p>
387    </div>    </div>
388    
389  <div class="section tokenize-error" id="bogus-comment"><h3>String <code>&lt;!</code> is not followed  <div class="section" id="bogus-comment"><h3>String <code>&lt;!</code> is not followed
390    by <code>--</code>.</h3>    by <code>--</code>.</h3>
391      <p>There is a <code>&lt;</code> (<code>U+003C</code>      <p>There is a <code>&lt;</code> (<code>U+003C</code>
392      <code class="charname">LESS-THAN SIGN</code>) character      <code class="charname">LESS-THAN SIGN</code>) character
# Line 166  Web Document Conformance Checker (BETA)< Line 397  Web Document Conformance Checker (BETA)<
397    
398      <dl class="switch">      <dl class="switch">
399      <dt>Comments</dt>      <dt>Comments</dt>
400        <dd>In HTML documents, comments must be introduced by        <dd>In HTML document, comments must be introduced by
401        <code>&lt;!--</code> (<code>&lt;!</code> <em>immediately</em> followed        <code class="example">&lt;!--</code> (<code>&lt;!</code>
402          <em>immediately</em> followed
403        by <em>two</em> <code>-</code>s) and must be terminated by        by <em>two</em> <code>-</code>s) and must be terminated by
404        <code>--&gt;</code>.  Strings <code>&lt;!</code> not followed        <code class="example">--&gt;</code>.
405          Strings <code>&lt;!</code> not followed
406        by <code>--</code> and <code>&lt;!-</code> not followed by        by <code>--</code> and <code>&lt;!-</code> not followed by
407        <code>-</code> are not valid open delimiters for comments.</dd>        <code>-</code> are not valid open delimiters for comments.</dd>
408      <dt>Marked sections, including <code>CDATA</code> sections</dt>      <dt>Marked sections, including <code>CDATA</code> sections</dt>
409        <dd>Marked sections are not allowed in HTML documents.</dd>        <dd>Marked sections are not allowed in HTML document.</dd>
410      <dt>Markup declarations</dt>      <dt>Markup declarations</dt>
411        <dd>Markup declarations, except <code>DOCTYPE</code>        <dd>Markup declarations, except for <code>DOCTYPE</code>
412        and comment declarations, are not allowed in HTML documents.</dd>        and comment declarations, are not allowed in HTML document.</dd>
413      <dt>String <code>&lt;!</code></dt>      <dt>String <code>&lt;!</code></dt>
414        <dd>String <code>&lt;!</code> must be escaped as        <dd>String <code>&lt;!</code> must be escaped as
415        <code>&amp;lt;!</code>.</dd>        <code class="example">&amp;lt;!</code>.</dd>
416      </dl>      </dl>
417    </div>    </div>
418    
419  <div class="section tokenize-error" id="bogus-end-tag"><h3>String <code>&lt;/</code> is not followed  <div class="section" id="bogus-end-tag"><h3>String <code>&lt;/</code> is not followed
420    by tag name.</h3>    by tag name.</h3>
421      <p>There is a <code>&lt;</code> (<code>U+003C</code>      <p>There is a <code>&lt;</code> (<code>U+003C</code>
422      <code class="charname">LESS-THAN SIGN</code>) character      <code class="charname">LESS-THAN SIGN</code>) character
# Line 202  Web Document Conformance Checker (BETA)< Line 435  Web Document Conformance Checker (BETA)<
435      </p>      </p>
436    </div>    </div>
437    
438  <div class="section tokenize-error" id="dash-in-comment"><h3>There is a <code>--</code> sequence  <div class="section" id="C1-character-reference"><h3>Character reference to
439      <code><var>{text}</var></code> is not allowed.</h3></div>
440    
441    <div class="section" id="CR-character-reference"><h3>Character reference to
442      <code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>)
443      is not allowed.</h3></div>
444    
445    <div class="section" id="dash-in-comment"><h3>There is a <code>--</code> sequence
446    in a comment.</h3>    in a comment.</h3>
447      <p>There is a <code>-</code> (<code>U+002D</code>      <p>There is a <code>-</code> (<code>U+002D</code>
448      <code class="charname">HYPHEN-MINUS</code>) character      <code class="charname">HYPHEN-MINUS</code>) character
# Line 215  Web Document Conformance Checker (BETA)< Line 455  Web Document Conformance Checker (BETA)<
455      declaration.</p>      declaration.</p>
456    </div>    </div>
457    
458  <div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with name  <div class="section" id="duplicate-attribute"><h3>There are two attributes with name
459        <code><var>$0</var></code>.</h3>        <code><var>{text}</var></code>.</h3>
460      <p>There are more than one attributes with the same      <p>There are more than one attributes with the same
461      name in a tag.  The document is non-conforming.</p>      name in a tag.  The document is non-conforming.</p>
462    
# Line 224  Web Document Conformance Checker (BETA)< Line 464  Web Document Conformance Checker (BETA)<
464      Use <code>img</code> element with animation GIF instead.</p>      Use <code>img</code> element with animation GIF instead.</p>
465    </div>    </div>
466    
467  <div class="section tokenize-error" id="nestc"><h3>Polytheistic slash (<code>/&gt;</code>) cannot be  <div class="section" id="empty-start-tag"><h3>Empty start tag (<code>&lt;&gt;</code>) is not
468      allowed.</h3></div>
469    
470    <div class="section" id="empty-end-tag"><h3>Empty end tag (<code>&lt;/&gt;</code>) is not
471      allowed.</h3></div>
472    
473    <div class="section" id="end-tag-attribute"><h3>End tag cannot have attributes.</h3></div>
474    
475    <div class="section" id="empty-unquoted-attribute-value"><h3>Attribute value is not specified.</h3>
476        <p>The attribute value is not specified after the <code>=</code>
477        (<code>U+003C</code> <code class="charname">EQUAL SIGN</code>)
478        character.</p>
479    
480        <p>When an attribute value is empty, the <code>=</code> character after
481        the attribute name must be specified as:</p>
482    
483        <p><code class="html example">&lt;foo bar&gt;</code></p>
484    
485        <p>Instead, quotation marks can be used to explicitly represent that
486        the attribute value is empty, as:</p>
487    
488        <p><code class="html example">&lt;foo bar=""&gt;</code></p>
489    
490        <p>... or like:</p>
491    
492        <p><code class="html example">&lt;foo bar=''&gt;</code></p>
493      </div>
494    
495    <div class="section" id="invalid-character-reference"><h3>Character reference to
496      <code><var>{text}</var></code> is not allowed.</h3></div>
497    
498    <div class="section" id="nestc"><h3>Polytheistic slash (<code>/&gt;</code>) cannot be
499    used for this element.</h3>    used for this element.</h3>
500      <p>Polytheistic slash (<code>/&gt;</code>) must not be used      <p>Polytheistic slash (<code>/&gt;</code>) must not be used
501      for the element.  The document is non-conforming.</p>      for the element.  The document is non-conforming.</p>
# Line 239  Web Document Conformance Checker (BETA)< Line 510  Web Document Conformance Checker (BETA)<
510      <dt><code>&lt;script/&gt;</code></dt>      <dt><code>&lt;script/&gt;</code></dt>
511          <dd><p>The polytheistic slash cannot be used for <code>script</code>          <dd><p>The polytheistic slash cannot be used for <code>script</code>
512          element.  Even for an empty <code>script</code> element,          element.  Even for an empty <code>script</code> element,
513          there must be an explicit end tag <code>&lt;/script&gt;</code>.</p>          there must be an explicit end tag
514            <code class="html example">&lt;/script&gt;</code>.</p>
515    
516          <p><strong>NOTE</strong>: Though some user agents interpret          <p><strong>NOTE</strong>: Though some user agents interpret
517          polytheistic slash for <code>script</code> element as the          polytheistic slash for <code>script</code> element as the
# Line 256  Web Document Conformance Checker (BETA)< Line 528  Web Document Conformance Checker (BETA)<
528          to allow polytheistic slash for these elements.</dd>          to allow polytheistic slash for these elements.</dd>
529      <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>      <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>
530          <dd>These elements are not always empty and therefore          <dd>These elements are not always empty and therefore
531          polytheistic slash is not allowed.</dd>          polytheistic slash is not allowed.  Use explicit end tag
532            to represent empty element as:
533              <pre class="example html">
534    <code>&lt;p&gt;&lt;/p&gt;</code></pre>
535            </dd>
536      </dl>      </dl>
537    
538      <p>Note that, unlike in XML, the polytheistic slash has      <p>Note that, unlike in XML, the polytheistic slash has
539      no effect in HTML.</p>      no effect in HTML.</p>
540    </div>    </div>
541    
542    <div class="section" id="no-DOCTYPE-name"><h3>After the string <code>&lt;!DOCTYPE </code>, the
543      document type name must be specified.</h3></div>
544    
545    <div class="section" id="no-PUBLIC-literal"><h3>After the keyword <code>PUBLIC</code>, no
546      oublic identifier is specified.</h3></div>
547    
548    <div class="section" id="no-refc"><h3>Character reference must be closed by a
549      <code>;</code> character.</h3></div>
550    
551  <div class="section tokenize-error" id="pio"><h3>Processing instruction  <div class="section" id="no-space-before-DOCTYPE-name"><h3>After the string <code>&lt;!DOCTYPE</code>, there
552    (<code>&lt;?<var>...</var>&gt;</code>) cannot be used.</h3>    must be at least a white space character before the document type
553      name.</h3></div>
554    
555    <div class="section" id="no-space-between-attributes"><h3>Attributes must be separeted by at least a
556      white space character.</h3></div>
557    
558    <div class="section" id="no-SYSTEM-literal"><h3>After the keyword <code>SYSTEM</code>, no
559      system identifier is specified.</h3></div>
560    
561    <div class="section" id="pio"><h3>Processing instruction
562      (<code>&lt;?<var>...</var>&gt;</code>) is not allowed in HTML
563      document.</h3>
564      <p>Processing instructions (<code>&lt;?<var>...</var>?&gt;</code>),      <p>Processing instructions (<code>&lt;?<var>...</var>?&gt;</code>),
565      including XML declaration (<code>&lt;?xml <var>...</var>?&gt;</code>)      including XML declaration (<code>&lt;?xml <var>...</var>?&gt;</code>)
566      and XML style sheet <abbr title="processing instruction">PI</abbr>      and XML style sheet <abbr title="processing instruction">PI</abbr>
# Line 277  Web Document Conformance Checker (BETA)< Line 572  Web Document Conformance Checker (BETA)<
572        <dd>An <abbr>XBL</abbr> binding cannot be associated by        <dd>An <abbr>XBL</abbr> binding cannot be associated by
573        <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>        <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>
574        document.  Use <code>binding</code> property in <abbr>CSS</abbr>        document.  Use <code>binding</code> property in <abbr>CSS</abbr>
575        style sheet.</dd>        style sheet as:
576            <pre class="html example">
577    <code>&lt;style&gt;
578    p {
579      binding: url(binding.xbl);
580    }
581    &lt;/style&gt;</code></pre>
582          </dd>
583      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
584          <dd>XML declaration is unnecessary for HTML documents.</dd>          <dd>XML declaration is unnecessary for HTML documents.</dd>
585      <dt><code>&lt;?xml-stylesheet?&gt;</code> (XML style sheet      <dt><code>&lt;?xml-stylesheet?&gt;</code> (XML style sheet
# Line 285  Web Document Conformance Checker (BETA)< Line 587  Web Document Conformance Checker (BETA)<
587          <dd>Use HTML <code>link</code> element with <code>rel</code>          <dd>Use HTML <code>link</code> element with <code>rel</code>
588          attribute set to <code>stylesheet</code> (or,          attribute set to <code>stylesheet</code> (or,
589          <code>alternate stylesheet</code> for an alternate style          <code>alternate stylesheet</code> for an alternate style
590          sheet).</dd>          sheet).
591              <pre class="example html">
592    <code>&lt;link rel=stylesheet href="path/to/stylesheet.css"&gt;</code></pre>
593            </dd>
594      <dt><code>&lt;?php?&gt;</code> or      <dt><code>&lt;?php?&gt;</code> or
595      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
596      (<abbr>PHP</abbr> code)</dt>      (<abbr>PHP</abbr> code)</dt>
# Line 303  Web Document Conformance Checker (BETA)< Line 608  Web Document Conformance Checker (BETA)<
608      as string.</p>      as string.</p>
609    </div>    </div>
610    
611    <div class="section" id="string-after-DOCTYPE-name"><h3>There is a bogus string after the document type
612      name.</h3></div>
613    
614    <div class="section" id="string-after-PUBLIC"><h3>There is a bogus string after the keyword
615      <code>PUBLIC</code>.</h3></div>
616    
617    <div class="section" id="string-after-PUBLIC-literal"><h3>There is a bogus string after the public
618      identifier.</h3></div>
619    
620    <div class="section" id="string-after-SYSTEM"><h3>There is a bogus string after the keyword
621      <code>SYSTEM</code>.</h3></div>
622    
623    <div class="section" id="string-after-SYSTEM-literal"><h3>There is a bogus string after the system
624      identifier.</h3></div>
625    
626    <div class="section" id="unclosed-attribute-value"><h3>Attribute value is not closed by a quotation
627      mark.</h3></div>
628    
629    <div class="section" id="unclosed-comment"><h3>Comment is not closed by a string
630      <code>--&gt;</code>.</h3></div>
631    
632    <div class="section" id="unclosed-DOCTYPE"><h3>The <code>DOCTYPE</code> is not closed by a
633      <code>&gt;</code> character.</h3></div>
634    
635    <div class="section" id="unclosed-PUBLIC-literal"><h3>The public identifier literal is not closed by a
636      quotation mark.</h3></div>
637    
638    <div class="section" id="unclosed-SYSTEM-literal"><h3>The system identifier literal is not closed by a
639      quotation mark.</h3></div>
640    
641    <div class="section" id="unclosed-tag"><h3>Tag is not closed by a <code>&gt;</code>
642      character.</h3></div>
643    
644  </section>  </section>
645    
646  <section id="html5-parse-errors">  <section id="html5-parse-errors">
647  <h2>HTML5 Parse Errors in Tree Construction Stage</h2>  <h2>HTML5 Parse Errors in Tree Construction Stage</h2>
648    
649  <div class="section parse-error" id="after-head"><h3>The <code><var>$0</var></code> element cannot be  <div class="section" id="after-after-frameset"><h3>There is a start tag
650    inserted between <code>head</code> and <code>body</code> elements.</h3>    <code>&lt;<var>{text}</var>&gt;</code> is after the <code>html</code> element
651      is closed.</h3></div>
652    
653    <div class="section" id="after-after-frameset:/"><h3>There is an end tag
654      <code>&lt;/<var>{text}</var>&gt;</code> is after the <code>html</code> element
655      is closed.</h3></div>
656    
657    <div class="section" id="after-body"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
658      not allowed after the <code>body</code> is closed.</h3></div>
659    
660    <div class="section" id="after-body:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
661      not allowed after the <code>body</code> is closed.</h3></div>
662    
663    <div class="section" id="after-body:#text"><h3>Non‐white‐space characters are not allowed
664      after the <code>body</code> is closed.</h3></div>
665    
666    <div class="section" id="after-frameset"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
667      not allowed after the <code>frameset</code> is closed.</h3></div>
668    
669    <div class="section" id="after-frameset:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
670      not allowed after the <code>frameset</code> is closed.</h3></div>
671    
672    <div class="section" id="after-frameset:#text"><h3>Non‐white‐space characters are not allowed
673      after the <code>frame</code> is closed.</h3></div>
674    
675    <div class="section" id="after-head"><h3>The <code><var>{text}</var></code> element cannot be
676      inserted between <code>head</code> and <code>body</code>
677      elements.</h3>
678      <p>A start tag appears after the <code>head</code> element is closed      <p>A start tag appears after the <code>head</code> element is closed
679      but before the <code>body</code> element is opened.      but before the <code>body</code> element is opened.
680      The document is non-conforming.</p>      The document is non-conforming.</p>
681    </div>    </div>
682    
683  <div class="section parse-error" id="DOCTYPE-in-the-middle"><h3>A <code>DOCTYPE</code> appears after any  <div class="section" id="after-html"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
684    element or data character has been seen.</h3>    not allowed after the <code>html</code> is closed.</h3>
685      <p>A <code>DOCTYPE</code> appears after any element or data character      <p>The start tag of an element appears after the
686      has been seen.  The document is non-conforming.</p>      <code>body</code> element has been closed.  The document is
687            non-conforming.</p>
688      <p>The <code>DOCTYPE</code> must be placed before any  
689      tag, reference, or data character.  Only white space characters      <p>Any content of the document other than <code>head</code>
690      and comments can be inserted before the <code>DOCTYPE</code>.</p>      contents and comments must be put into the <code>body</code>
691        element.</p>
692      </div>
693    
694    <div class="section" id="after-html:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
695      not allowed after the <code>html</code> is closed.</h3>
696        <p>The end tag of an element appears after the
697        <code>body</code> element has been closed.  The document is
698        non-conforming.</p>
699    
700        <p>Any content of the document other than <code>head</code>
701        contents and comments must be put into the <code>body</code>
702        element.</p>
703    </div>    </div>
704    
705  <div class="section parse-error" id="in-a:a"><h3>Anchor cannot be nested.</h3>  <div class="section" id="after-html:#text"><h3>Non‐white‐space characters are not allowed
706      after the <code>html</code> is closed.</h3></div>
707    
708    <div class="section" id="image"><h3>The <code>image</code> element is
709      obsolete.</h3></div>
710    
711    <div class="section" id="in-a:a"><h3>Anchor cannot be nested.</h3>
712      <p>HTML <code>a</code> elements cannot be nested.      <p>HTML <code>a</code> elements cannot be nested.
713      The document is non-conforming.</p>      The document is non-conforming.</p>
714    
# Line 333  Web Document Conformance Checker (BETA)< Line 716  Web Document Conformance Checker (BETA)<
716      implies the end tag of any opening <code>a</code> element.</p>      implies the end tag of any opening <code>a</code> element.</p>
717    </div>    </div>
718    
719  <div class="section parse-error" id="in-body"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>  <div class="section" id="in-body"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
720    is not allowed in the <code>body</code> element.</h3>    is not allowed in the <code>body</code> element.</h3>
721      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
722      cannot be a descendant of <code>body</code> element, appears      cannot be a descendant of <code>body</code> element, appears
# Line 341  Web Document Conformance Checker (BETA)< Line 724  Web Document Conformance Checker (BETA)<
724      The document is non-conforming.</p>      The document is non-conforming.</p>
725    </div>    </div>
726    
727  <div class="section parse-error" id="in-head:head"><h3>Start tag <code>&lt;head&gt;</code>  <div class="section" id="in-body:#eof"><h3>Some element is not closed before the end of
728      file.</h3></div>
729    
730    <div class="section" id="in-button:button"><h3>The <code>button</code> element cannot be
731      nested.</h3></div>
732    
733    <div class="section" id="in-CDATA:#eof"><h3>Element is not closed before the end of
734      file.</h3></div>
735    
736    <div class="section" id="in-form:form"><h3>Start tag <code>&lt;form&gt;</code> is
737      not allowed in a <code>form</code> element.</h3></div>
738    
739    <div class="section" id="in-frameset"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
740      not allowed in a <code>framset</code> element.</h3></div>
741    
742    <div class="section" id="in-frameset:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code> is
743      not allowed in a <code>frameset</code> element.</h3></div>
744    
745    <div class="section" id="in-frameset:#text"><h3>Non‐white‐space characters are not allowed
746      in a <code>frameset</code> element.</h3></div>
747    
748    <div class="section" id="in-head:head"><h3>Start tag <code>&lt;head&gt;</code>
749    is not allowed in the <code>head</code> element.</h3>    is not allowed in the <code>head</code> element.</h3>
750      <p>There is a start tag <code>&lt;head&gt;</code> in the      <p>There is a start tag <code>&lt;head&gt;</code> in the
751      <code>&lt;head&gt;</code> element.  The document is non-conforming.</p>      <code>&lt;head&gt;</code> element.  The document is non-conforming.</p>
# Line 351  Web Document Conformance Checker (BETA)< Line 755  Web Document Conformance Checker (BETA)<
755      start tag <code>&lt;head&gt;</code> can appear in the input stream.</p>      start tag <code>&lt;head&gt;</code> can appear in the input stream.</p>
756    </div>    </div>
757    
758  <div class="section parse-error" id="in-table"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>  <div class="section" id="in-html:#DOCTYPE"><h3>A <code>DOCTYPE</code> appears after any
759      element or data character has been seen.</h3>
760        <p>A <code>DOCTYPE</code> appears after any element or data character
761        has been seen.  The document is non-conforming.</p>
762        
763        <p>The <code>DOCTYPE</code> must be placed before any
764        tag, reference, or data character.  Only white space characters
765        and comments can be inserted before the <code>DOCTYPE</code>.</p>
766      </div>
767    
768    <div class="section" id="in-nobr:nobr"><h3>The <code>nobr</code> element cannot be
769      nested.</h3></div>
770    
771    <div class="section" id="in-noscript"><h3>The <code><var>{text}</var></code> element is not
772      allowed in a <code>noscript</code> element in the
773      <code>head</code> element.</h3></div>
774    
775    <div class="section" id="in-noscript:/"><h3>An end tag <code>&lt;/<var>{text}</var>&gt;</code>
776      appers before the <code>noscript</code> element is closed.</h3></div>
777    
778    <div class="section" id="in-noscript:#eof"><h3>A <code>noscript</code> element is not closed
779      before the end of file.</h3></div>
780    
781    <div class="section" id="in-noscript:#text"><h3>Non‐white‐space characters are not allowed
782      in a <code>noscript</code> element in the <code>head</code>
783      element.</h3></div>
784    
785    <div class="section" id="in-PCDATA:#eof"><h3>Element is not closed before the end of
786      file.</h3></div>
787    
788    <div class="section" id="in-select"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
789      is not allowed in a <code>select</code> element.</h3></div>
790    
791    <div class="section" id="in-select:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code>
792      is not allowed in a <code>select</code> element.</h3></div>
793    
794    <div class="section" id="in-table"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code>
795    is not allowed in a <code>table</code> element.</h3>    is not allowed in a <code>table</code> element.</h3>
796      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
797      cannot be a child of <code>table</code> element, appears      cannot be a child of <code>table</code> element, appears
# Line 365  Web Document Conformance Checker (BETA)< Line 805  Web Document Conformance Checker (BETA)<
805      a table caption.</p>      a table caption.</p>
806    </div>    </div>
807    
808  <div class="section parse-error" id="in-table:#character"><h3>Data character is not allowed in  <div class="section" id="in-table:/"><h3>End tag <code>&lt;/<var>{text}</var>&gt;</code>
809    <code>table</code>.</h3>    is not allowed in a <code>table</code> element.</h3></div>
810      <p>A data character appears in <code>table</code>.  The document  
811      is non-conforming.</p>  <div class="section" id="in-table:#text"><h3>Non‐white‐space character is not allowed within
812      the <code>table</code> element, outside of the caption and cells.</h3>
813        <p>A non‐white‐space character appears in <code>table</code>.
814        The document is non-conforming.</p>
815    
816      <p>In <code>table</code>, only table related elements      <p>In <code>table</code>, only table related elements
817      are allowed; any other element and data character must be contained in      are allowed; any other element and data character must be contained in
# Line 377  Web Document Conformance Checker (BETA)< Line 820  Web Document Conformance Checker (BETA)<
820      a table caption.</p>      a table caption.</p>
821    </div>    </div>
822    
823  <div class="section parse-error" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code>  <div class="section" id="isindex"><h3>The <code>isindex</code> element is
824      obsolete.</h3></div>
825    
826    <div class="section" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code>
827    element is missing.</h3>    element is missing.</h3>
828      <p>Start tag of a <code>tr</code> element, which is <em>not</em>      <p>Start tag of a <code>tr</code> element, which is <em>not</em>
829      optional, is missing.  The document is non-conforming.</p>      optional, is missing.  The document is non-conforming.</p>
# Line 389  Web Document Conformance Checker (BETA)< Line 835  Web Document Conformance Checker (BETA)<
835      these start tags, it must be explicitly specified.</p>      these start tags, it must be explicitly specified.</p>
836    </div>    </div>
837    
838  <div class="section parse-error" id="no-DOCTYPE"><h3>This document does not start with a  <div class="section" id="no-DOCTYPE"><h3>This document does not start with a
839    <code>DOCTYPE</code>.</h3>    <code>DOCTYPE</code>.</h3>
840      <p>The document does not start with a <code>DOCTYPE</code>.      <p>The document does not start with a <code>DOCTYPE</code>.
841      The document is non-conforming.</p>      The document is non-conforming.</p>
# Line 404  Web Document Conformance Checker (BETA)< Line 850  Web Document Conformance Checker (BETA)<
850      allowed in HTML document.</p>      allowed in HTML document.</p>
851    </div>    </div>
852    
853  <div class="section parse-error" id="not-closed"><h3>Element <code><var>$0</var></code> is not  <div class="section" id="not-closed"><h3>Element <code><var>{text}</var></code> is not
854    closed.</h3>    closed.</h3>
855      <p>End tag of an element is not found before, for example,      <p>End tag of an element is not found before, for example,
856      an end tag of another element appears or      an end tag of another element appears or
# Line 425  Web Document Conformance Checker (BETA)< Line 871  Web Document Conformance Checker (BETA)<
871        <dd>Though the element is void in earlier versions of Safari,        <dd>Though the element is void in earlier versions of Safari,
872        the <code>canvas</code> element is <em>no</em> longer        the <code>canvas</code> element is <em>no</em> longer
873        defined as empty.  There must be an end tag        defined as empty.  There must be an end tag
874        <code>&lt;/canvas&gt;</code>.</dd>        <code class="html example">&lt;/canvas&gt;</code>.</dd>
875      </dl>      </dl>
876    
877      <p>Note that misnesting tags, such as      <p>Note that misnesting tags, such as
# Line 433  Web Document Conformance Checker (BETA)< Line 879  Web Document Conformance Checker (BETA)<
879      allowed and they also cause this error.</p>      allowed and they also cause this error.</p>
880    </div>    </div>
881    
882  <div class="section parse-error" id="not-first-start-tag"><h3>This <code>&lt;html&gt;</code> tag is not  <div class="section" id="not-first-start-tag"><h3>This <code>&lt;html&gt;</code> tag is not
883    the first start tag.</h3>    the first start tag.</h3>
884      <p>There is a start tag of the <code>html</code> element      <p>There is a start tag of the <code>html</code> element
885      that it not the first start tag in the input stream.      that it not the first start tag in the input stream.
# Line 447  Web Document Conformance Checker (BETA)< Line 893  Web Document Conformance Checker (BETA)<
893      and comments.</p>      and comments.</p>
894    </div>    </div>
895    
896  <div class="section parse-error" id="not-HTML5"><h3>This document is written in an old version of  <div class="section" id="not-HTML5"><h3>This document is written in an old version of
897    HTML.</h3>    HTML.</h3>
898      <p>The document contains a <code>DOCTYPE</code> declaration      <p>The document contains a <code>DOCTYPE</code> declaration
899      that is different from HTML5 <code>DOCTYPE</code> (i.e.      that is different from HTML5 <code>DOCTYPE</code> (i.e.
900      <code>&lt;!DOCTYPE HTML&gt;</code>).  The document is non-conforming.</p>      <code class="example html">&lt;!DOCTYPE HTML&gt;</code>).
901        The document is non‐conforming.</p>
902    
903      <p>The document might or might not be conformant to      <p>The document might or might not be conformant to
904      some version of HTML.  However, conformance to any HTML      some version of HTML.  However, conformance to any HTML
# Line 460  Web Document Conformance Checker (BETA)< Line 907  Web Document Conformance Checker (BETA)<
907      HTML document (roughly) as defined in HTML5.</p>      HTML document (roughly) as defined in HTML5.</p>
908    </div>    </div>
909    
910  <div class="section parse-error" id="unmatched-end-tag"><h3>Element <code><var>$0</var></code> is not  <div class="section" id="start-tag-not-allowed"><h3>Start tag <code>&lt;<var>{text}</var>&gt;</code> is
911      not allowed here.</h3></div>
912    
913    <div class="section" id="unmatched-end-tag"><h3>Element <code><var>{text}</var></code> is not
914    opened.</h3>    opened.</h3>
915      <p>An end tag appears though no element with the same name      <p>An end tag appears though no element with the same name
916      has been opened.  The document is non-conforming.</p>      has been opened.  The document is non-conforming.</p>
# Line 482  Web Document Conformance Checker (BETA)< Line 932  Web Document Conformance Checker (BETA)<
932      </dl>      </dl>
933    </div>    </div>
934    
935    <div class="section" id="XSLT-compat"><h3>The <code>DOCTYPE</code> legacy string is
936      used.</h3>
937        <p>The <code>DOCTYPE</code> with the <code>DOCTYPE</code> legacy
938        string, i.e.
939        <code class="html bad example">&lt;!DOCTYPE HTML PUBLIC "XSLT-compat"&gt;</code>
940        is used.</p>
941    
942        <p>The <code>DOCTYPE</code> legacy string should not be used for documents
943        generated from XSLT transformation process.  It is allowed only to enable
944        to use XSLT style sheets with the HTML output mode, which does not
945        support generation of the <code>DOCTYPE</code> with no <code>PUBLIC</code>
946        identifier.  For other purposes, the <code>DOCTYPE</code> legacy
947        string, i.e. <code class="html bad example">PUBLIC "XSLT-compat"</code>,
948        is useless and should not be used.</p>
949      </div>
950    
951  </section>  </section>
952    
953  <section id="element-content-model-errors">  <section id="element-content-model-errors">
954  <h2>Element Content Model Errors</h2>  <h2>Element Content Model Errors</h2>
955    
956  <div class="section content-model-error" id="character-not-allowed"><h3>Data character is not allowed in this  <div class="section" id="basehref-after-URL-attribute"><h3>The <code>base</code> element with the
957      <code>href</code> attribute specified cannot be placed after
958      any attribute with a URL.</h3></div>
959    
960    <div class="section" id="basetarget-after-hyperlink"><h3>The <code>base</code> element with the
961      <code>target</code> attribute specified cannot be placed after
962      any element that defines a hyperlink.</h3></div>
963    
964    <div class="section" id="character-not-allowed"><h3>Data character is not allowed in this
965    context.</h3>    context.</h3>
966      <p>A data character appears where it is not allowed in this      <p>A data character appears where it is not allowed in this
967      context.  The document is non-conforming.</p>      context.  The document is non-conforming.</p>
# Line 510  Web Document Conformance Checker (BETA)< Line 984  Web Document Conformance Checker (BETA)<
984      </p>      </p>
985    </div>    </div>
986    
987  <div class="section content-model-error" id="child-element-missing"><h3>There must be a <code><var>$0</var></code>  <div class="section" id="character-not-allowed:empty"><h3>Non‐white‐space characters are not allowed in
988    element as a child of this element.</h3>    an empty element.</h3></div>
989    
990    <div class="section" id="character-not-allowed:atom|PersonConstruct"><h3>Non‐white‐space characters are not allowed in
991      Person construct.</h3></div>
992    
993    <div class="section" id="character-not-allowed:atom|TextConstruct"><h3>Non‐white‐space characters are not allowed in
994      Text construct.</h3></div>
995    
996    <div class="section" id="child-element-missing"><h3>There must be an element
997      <code><var>{text}</var></code> as a child of this element.</h3>
998      <p>The content model of the element is so defined that it      <p>The content model of the element is so defined that it
999      must contain a <code><var>$0</var></code> child element.      must contain a <code><var>$0</var></code> child element.
1000      The document is non-conforming.</p>      The document is non-conforming.</p>
# Line 528  Web Document Conformance Checker (BETA)< Line 1011  Web Document Conformance Checker (BETA)<
1011      </dl>      </dl>
1012    </div>    </div>
1013    
1014  <div class="section content-model-error" id="child-element-missing:td|th"><h3>There must be a <code>td</code>  <div class="section" id="child-element-missing:td|th"><h3>There must be a <code>td</code>
1015    or <code>th</code> element as a child of this element.</h3>    or <code>th</code> element as a child of this element.</h3>
1016      <p>The <code>tr</code> element must contain at least one      <p>The <code>tr</code> element must contain at least one
1017      <code>td</code> or <code>th</code> child element.  The document      <code>td</code> or <code>th</code> child element.  The document
1018      is non-conforming.</p>      is non-conforming.</p>
1019    </div>    </div>
1020    
1021  <div class="section content-model-error" id="element-not-allowed"><h3>This element is not allowed in this  <div class="section" id="child-element-missing:atom"><h3>There must be an element
1022      <code><var>{text}</var></code> in the Atom namespace as a child of this
1023      element.</h3></div>
1024    
1025    <div class="section" id="child-element-missing:atom:link:alternate"><h3>There must be an Atom <code>link</code> element
1026      whose <code>rel</code> attribute is set to <code>alternate</code> as a
1027      child of this element.</h3></div>
1028    
1029    <div class="section" id="child-element-missing:atom:link:self"><h3>There should be an Atom <code>link</code> element
1030      whose <code>rel</code> attribute is set to <code>self</code> as a
1031      child of this element.</h3></div>
1032    
1033    <div class="section" id="element-missing:hn"><h3>There must be at least one
1034      <code>h<var>n</var></code> element descendant.</h3></div>
1035    
1036    <div class="section" id="element-not-allowed"><h3>This element is not allowed in this
1037    context.</h3>    context.</h3>
1038      <p>An element appears where it is not allowed.  The document      <p>An element appears where it is not allowed.  The document
1039      is non-conforming.</p>      is non-conforming.</p>
# Line 563  Web Document Conformance Checker (BETA)< Line 1061  Web Document Conformance Checker (BETA)<
1061                    block-level content, any inline-level content must be                    block-level content, any inline-level content must be
1062                    put in e.g. paragraph element such as <code>p</code>.</p>                    put in e.g. paragraph element such as <code>p</code>.</p>
1063                    <p>For example, an HTML document fragment                    <p>For example, an HTML document fragment
1064                    <code class="bad example">&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; World!&lt;/div&gt;</code>                    <code class="html bad example">&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; World!&lt;/div&gt;</code>
1065                    is non-conforming, since a word <q>World!</q> does not belong                    is non-conforming, since a word <q>World!</q> does not belong
1066                    to any paragraph.  (If not part of any paragraph, what is                    to any paragraph.  (If not part of any paragraph, what is
1067                    it!?)  A conforming example would be:                    it!?)  A conforming example would be:
1068                      <pre class="example">                      <pre class="html example">
1069  <code>&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; &lt;p&gt;World!&lt;/p&gt;&lt;/div&gt;</code></pre>  <code>&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; &lt;p&gt;World!&lt;/p&gt;&lt;/div&gt;</code></pre>
1070                    </p></dd>                    </p></dd>
1071                <dt>If the parent element does <em>not</em> allow                <dt>If the parent element does <em>not</em> allow
# Line 600  Web Document Conformance Checker (BETA)< Line 1098  Web Document Conformance Checker (BETA)<
1098      </p>      </p>
1099    </div>    </div>
1100    
1101  <div class="section content-model-error" id="element-not-allowed:root"><h3>This element is not allowed as a root  <div class="section" id="element-not-allowed:area"><h3>An <code>area</code> element cannot be used
1102    element.</h3>    outside of a <code>map</code> element.</h3></div>
1103    
1104    <div class="section" id="element-not-allowed:base"><h3>There is another <code>base</code>
1105      element.</h3></div>
1106    
1107    <div class="section" id="element-not-allowed:datatemplate"><h3>In a <code>datatemplate</code> element, only
1108      <code>rule</code> elements are allowed.</h3></div>
1109    
1110    <div class="section" id="element-not-allowed:details-legend"><h3>In a <code>details</code> element, only at the
1111      beginning of the element a <code>lengend</code> element
1112      may be used.</h3></div>
1113    
1114    <div class="section" id="element-not-allowed:empty"><h3>Elements are not allowed in an empty
1115      element.</h3></div>
1116    
1117    <div class="section" id="element-not-allowed:figure-legend"><h3>In a <code>figure</code> element, only at the
1118      beginning or only at the end of the element a <code>lengend</code> element
1119      may be used.</h3></div>
1120    
1121    <div class="section" id="element-not-allowed:flow"><h3>This element is not allowed where flow
1122      content is expected.</h3></div>
1123    
1124    <div class="section" id="element-not-allowed:flow-style"><h3>A <code>style</code> element without
1125      <code>scoped</code> attribute is not allowed in this context.</h3></div>
1126    
1127    <div class="section" id="element-not-allowed:head-noscript"><h3>This element is not allowed in a
1128      <code>noscript</code> element in the <code>head</code> element.</h3></div>
1129    
1130    <div class="section" id="element-not-allowed:head-style"><h3>A <code>style</code> element with
1131      <code>scoped</code> attribute is not allowed in the <code>head</code>
1132      element.</h3></div>
1133    
1134    <div class="section" id="element-not-allowed:head-title"><h3>There is another <code>title</code>
1135      element.</h3></div>
1136    
1137    <div class="section" id="element-not-allowed:minus"><h3>This element is not allowed in this
1138      context.</h3></div>
1139    
1140    <div class="section" id="element-not-allowed:meta-charset"><h3>The character encoding declaration is not the
1141      first child element in the <code>head</code> element.</h3>
1142        <p>The character encoding declaration
1143        (<code class="html example">&lt;meta charset="<var>...</var>"&gt;</code> or
1144        <code class="html example">&lt;meta http-equiv=Content-Type content="text/html; charset=<var>...</var>"&gt;</code>
1145        must be the first child element in the <code>head</code> element.</p>
1146    
1147        <p>The character encoding declaration have to occur near the beginning
1148        of the document to ensure that Web browsers can be determine the
1149        character encoding of the document.</p>
1150    
1151        <p>The <code>title</code> element and other metadata elements must
1152        appear after any character encoding declaration is processed.</p>
1153      </div>
1154    
1155    <div class="section" id="element-not-allowed:metadata"><h3>This element is not allowed where metadata
1156      content is expected.</h3></div>
1157    
1158    <div class="section" id="element-not-allowed:phrasing"><h3>This element is not allowed where phrasing
1159      content is expected.</h3></div>
1160    
1161    <div class="section" id="element-not-allowed:root"><h3>This element is not allowed as the root
1162      element of a document.</h3>
1163      <p>An element that is not allowed as the root element      <p>An element that is not allowed as the root element
1164      is used as the root element of the document.  The document is      is used as the root element of the document.  The document is
1165      non-conforming, as far as the conformance checker can tell.</p>      non-conforming, as far as the conformance checker can tell.</p>
1166    
1167      <dl class="switch">      <dl class="switch">
1168      <dt><code>html</code> element in an XHTML document</dt>      <dt><code>html</code> element in an XHTML document</dt>
1169          <dd><p>In an XHTML document, the root <code>html</code>          <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
1170          element must have an <code>xmlns</code> attribute          element must have an <code>xmlns</code> attribute as:
1171          whose value is set to            <pre class="xml example">
1172          <code>http://www.w3.org/1999/xhtml</code>.</p></dd>  <code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</code></pre></p></dd>
1173      <dt><code>rss</code> element</dt>      <dt><code>rss</code> element</dt>
1174          <dd><p>The document is written in some version of RSS.</p>          <dd><p>The document is written in some version of RSS.</p>
1175          <p>The conformance checker does not support any version          <p>The conformance checker does not support any version
1176          of RSS.  Use Atom 1.0 for feed documents.</p></dd>          of RSS.  Use Atom 1.0 for feed documents.</p></dd>
1177      <dt><code>feed</code> element</dt>      <dt><code>feed</code> element</dt>
1178          <dd><p>The Atom <code>feed</code> element must be          <dd><p>The Atom <code>feed</code> element must be
1179          in the <code>http://www.w3.org/2004/Atom</code>          in the <code>http://www.w3.org/2005/Atom</code>
1180          namespace.</p>          namespace as:
1181              <pre class="xml example">
1182    <code>&lt;feed xmlns="http://www.w3.org/2005/Atom"&gt;</code></pre>
1183            </p>
1184          <p>The conformance checker does not support Atom 0.3.          <p>The conformance checker does not support Atom 0.3.
1185          Use Atom 1.0 for feed documents.</p></dd>          Use Atom 1.0 for feed documents.</p></dd>
1186      </dl>      </dl>
1187    </div>    </div>
1188    
1189  <div class="section content-model-error" id="ps-element-missing"><h3>There is no <code><var>$0</var></code>  <div class="section" id="element-not-allowed:root:xml"><h3>This element is not allowed as the root element
1190      of an XML document.</h3></div>
1191    
1192    <div class="section" id="element-not-allowed:ruby-base"><h3>This element is not allowed in the <code>ruby</code>
1193      element.</h3></div>
1194    
1195    <div class="section" id="element-not-allowed:text"><h3>This element is not allowed in this
1196      context.</h3></div>
1197    
1198    <div class="section" id="element-not-allowed:atom|content"><h3>This element is not allowed in an Atom
1199      <code>content</code> element.</h3></div>
1200    
1201    <div class="section" id="element-not-allowed:atom|PersonConstruct"><h3>This element is not allowed in Person
1202      construct.</h3></div>
1203    
1204    <div class="section" id="element-not-allowed:atom|TextConstruct"><h3>This element is not allowed in Text
1205      construct.</h3></div>
1206    
1207    <div class="section" id="element-not-defined"><h3>This element is not defined.</h3>
1208        <p>The element is not one of elements allowed
1209        in the latest version of relevant specifications.</p>
1210    
1211        <p>The element cannot be used.</p>
1212    
1213        <dl class="switch">
1214        <dt><code>event-source</code> element</dt>
1215            <dd>The element was renamed as <em><code>eventsource</code>
1216            element</em> (no hyphen).</dd>
1217        <dt><code>m</code> element</dt>
1218            <dd>The element was renamed as <em><code>mark</code>
1219            element</em>.</dd>
1220        </dl>
1221      </div>
1222    
1223    <div class="section" id="no-significant-content"><h3>No significant content is contained
1224      in this element.</h3></div>
1225    
1226    <div class="section" id="no-significant-content-before"><h3>There is no significant content
1227      before this element.</h3></div>
1228    
1229    <div class="section" id="no-significant-content-at-the-end"><h3>No significant content is contained
1230      at the end of this element.</h3></div>
1231    
1232    <div class="section" id="ps-element-missing"><h3>There is no <code><var>{text}</var></code>
1233    element before this element.</h3>    element before this element.</h3>
1234      <p>There must be an element before another element, but there      <p>There must be an element before another element, but there
1235      is not.  The document is non-conforming.</p>      is not.  The document is non-conforming.</p>
# Line 634  Web Document Conformance Checker (BETA)< Line 1238  Web Document Conformance Checker (BETA)<
1238      before any <code>dd</code> element.</p>      before any <code>dd</code> element.</p>
1239    </div>    </div>
1240    
1241    <div class="section" id="rp:syntax-error"><h3>The content of a <code>rp</code> element must
1242      be a parenthesis.</h3></div>
1243    
1244  </section>  </section>
1245    
1246  <section id="attribute-errors">  <section id="attribute-errors">
1247  <h2>Attribute Errors</h2>  <h2>Attribute Errors</h2>
1248    
1249  <div class="section attribute-error" id="attribute-missing"><h3>Required attribute <code><var>$0</var></code>  <div class="section" id="attribute-missing"><h3>Required attribute <code><var>{text}</var></code>
1250    is not specified.</h3>    is not specified.</h3>
1251      <p>A required attribute is not specified.  The document      <p>A required attribute is not specified.  The document
1252      is non-conforming.</p>      is non-conforming.</p>
# Line 659  Web Document Conformance Checker (BETA)< Line 1266  Web Document Conformance Checker (BETA)<
1266      </dl>      </dl>
1267    </div>    </div>
1268    
1269  <div class="section attribute-error" id="attribute-not-allowed"><h3>Attribute  <div class="section" id="attribute-missing:data|type"><h3>For an <code>object</code> at least one of
1270      <code>data</code> and <code>type</code> attributes must be
1271      specified.</h3></div>
1272    
1273    <div class="section" id="attribute-missing:href|target"><h3>For a <code>base</code> element, at least one of
1274      <code>href</code> and <code>target</code> attributes must be
1275      specified.</h3></div>
1276    
1277    <div class="section" id="attribute-missing:name|http-equiv"><h3>For a <code>meta</code> element with the
1278      <code>content</code> attribute specified, exactly one of
1279      <code>name</code> and <code>http-equiv</code> attributes must be
1280      specified.</h3></div>
1281    
1282    <div class="section" id="attribute-missing:name|http-equiv|charset"><h3>For a <code>meta</code> element, exactly one of
1283      <code>name</code>, <code>http-equiv</code>, and <code>charset</code>
1284      attributes must be specified.</h3></div>
1285    
1286    <div class="section" id="attribute-not-allowed"><h3>Attribute
1287    <code><var>{local-name}</var></code> is not allowed for    <code><var>{local-name}</var></code> is not allowed for
1288    <code><var>{element-local-name}</var></code> element.</h3>    <code><var>{element-local-name}</var></code> element.</h3>
1289      <p>An attribute is specified where it is not allowed.      <p>An attribute is specified where it is not allowed.
# Line 673  Web Document Conformance Checker (BETA)< Line 1297  Web Document Conformance Checker (BETA)<
1297      </dl>      </dl>
1298    </div>    </div>
1299    
1300  <div class="section attribute-error" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute is not  <div class="section" id="attribute-not-allowed:ismap"><h3>The <code>ismap</code> attribute may only be
1301    allowed in HTML document.</h3>    used for the image contained in an <code>a</code> element.</h3></div>
1302      <p>The <code>xml:lang</code> attribute is not allowed in  
1303      HTML document.  The document is non-conforming.</p>  <div class="section" id="attribute-not-defined"><h3>This attribute is not defined.</h3>
1304        <p>The attribute is not one of attributes allowed for the element
1305        in the latest version of relevant specifications.</p>
1306    
1307      <p>Use of the <code>xml:lang</code> attribute is conforming      <p>The attribute cannot be used.</p>
1308      <em>only</em> in XML documents.</p>  
1309        <dl class="switch">
1310        <dt><code>align</code> attribute (various HTML elements)</dt>
1311        <dt><code>border</code> attribute (various HTML elements)</dt>
1312          <dd>These attributes are no longer part of HTML.  You can use CSS
1313          properties to control the presentation of the element.</dd>
1314        <dt><code>autosubmit</code> attribute (<code>menu</code> element)</dt>
1315          <dd>The attribute was part of HTML5 draft but then dropped.
1316          Similar functionality can be implemented by scripts.</dd>
1317        <dt><code>language</code> attribute (<code>script</code> element)</dt>
1318          <dd>The attribute is no longer the standard way to specify the
1319          scripting language.  If you are using JavaScript, then no explicit
1320          specification of the scripting language is necessary, so you can
1321          write the element like:
1322            <p><code class="html example code">&lt;script&gt;<br><!--
1323            --> /* JavaScript code */<br><!--
1324            -->&lt;/script&gt;</code></p>
1325          If you are using different scripting language from JavaScript, or
1326          you want to declare the scripting language explicitly, you should
1327          use the <code>type</code> attribute, as follows:
1328            <dl class="switch">
1329            <dt>JavaScript</dt>
1330              <dd>Use
1331              <code class="html example">&lt;script type="text/javascript"&gt;</code>.</dd>
1332            <dt>VBScript</dt>
1333              <dd>Use
1334              <code class="html example">&lt;script type="text/vbscript"&gt;</code>.</dd>
1335            </dl>
1336          </dd>
1337        </dl>
1338      </div>
1339    
1340    <div class="section" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute in HTML
1341      document is ignored.</h3>
1342        <p>The <code>xml:lang</code> attribute does not have an effect in
1343        HTML document.</p>
1344    
1345        <p>The <code>xml:lang</code> attribute is only applicable to XML
1346        documents.  In HTML document, it is only allowed to ease migration
1347        from XML.</p>
1348    
1349      <p>To specify natural language information in HTML document,      <p>To specify natural language information in HTML document,
1350      use <code>lang</code> attribute instead.</p>      use <code>lang</code> attribute instead.</p>
# Line 694  Web Document Conformance Checker (BETA)< Line 1359  Web Document Conformance Checker (BETA)<
1359           from an HTML document? -->           from an HTML document? -->
1360    </div>    </div>
1361    
1362  <div class="section attribute-error" id="in-XML:charset"><h3>The <code>charset</code> attribute is not  <div class="section" id="in-XML:charset"><h3>The <code>charset</code> attribute is not
1363    allowed in XML document.</h3>    allowed in XML document.</h3>
1364      <p>The <code>charset</code> attribute of a      <p>The <code>charset</code> attribute of a
1365      <code>meta</code> element is not allowed in XML document.      <code>meta</code> element is not allowed in XML document.
# Line 703  Web Document Conformance Checker (BETA)< Line 1368  Web Document Conformance Checker (BETA)<
1368      <p>To specify the character encoding used for serialization,      <p>To specify the character encoding used for serialization,
1369      if necessary, use XML declaration instead:      if necessary, use XML declaration instead:
1370        <pre class="xml example">        <pre class="xml example">
1371  <code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;<var>encoding-name</var>&quot;?&gt;</code></pre>  <code>&lt;?xml version="1.0" encoding="<var>encoding-name</var>"?&gt;</code></pre>
1372      </p>      </p>
1373    </div>    </div>
1374    
1375  <div class="section attribute-error" id="in-XML:lang"><h3>The <code>lang</code> attribute is not  <div class="section" id="in-XML:noscript"><h3>A <code>noscript</code> element cannot be
1376    allowed in XML document.</h3>    used in XML document.</h3></div>
     <p>The HTML <code>lang</code> attribute is not allowed in  
     XML document.  The document is non-conforming.</p>  
1377    
1378      <p>The <code>lang</code> attribute in <code>null</code>  <div class="section" id="in-XML:xml:lang"><h3>The <code>xml:lang</code> attribute in no namespace
1379      namespace for HTML elements is conforming <em>only</em> in    is only allowed in HTML document.</h3></div>
     HTML documents.</p>  
1380    
1381      <p>To specify natural language information in XML document,  <div class="section" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute
     use <code>xml:lang</code> attribute instead.</p>  
   </div>  
   
 <div class="section attribute-error" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute  
1382    in the <code>null</code> namespace is not allowed in    in the <code>null</code> namespace is not allowed in
1383    XHTML document.  The document is non-conforming.</h3>    XHTML document.  The document is non-conforming.</h3>
1384      <p>The <code>xmlns</code> attribute in the <code>null</code>      <p>The <code>xmlns</code> attribute in the <code>null</code>
# Line 730  Web Document Conformance Checker (BETA)< Line 1388  Web Document Conformance Checker (BETA)<
1388      static documents.</p>      static documents.</p>
1389    </div>    </div>
1390    
1391    <div class="section" id="xml:lang-not-allowed"><h3>The <code>xml:lang</code> attribute is only allowed
1392      when the <code>lang</code> attribute is specified.</h3></div>
1393    
1394  </section>  </section>
1395    
1396  <section id="attribute-value-errors">  <section id="attribute-value-errors">
1397  <h2>Attribute Value Errors</h2>  <h2>Attribute Value Errors</h2>
1398    
1399  <div class="section attribute-value-error" id="enumerated:invalid"><h3>This attribute only allow a limited set of  <div class="section" id="boolean:invalid"><h3>Attribute value <code><var>{@}</var></code>
1400      is not allowed.  It must be an empty string or a string
1401      <code><var>{local-name}</var></code>.</h3></div>
1402    
1403    <div class="section" id="char:syntax-error"><h3>The attribute value must be exactly one
1404      character.</h3></div>
1405    
1406    <div class="section" id="charref-in-charset"><h3>A character reference cannot be used to
1407      represent a character encoding name.</h3></div>
1408    
1409    <div class="section" id="charset:not-preferred"><h3>Character encoding name
1410      <code><var>{value}</var></code> is not the preferred name of that
1411      character encoding.</h3></div>
1412    
1413    <div class="section" id="charset:not-registered"><h3>Character encoding name
1414      <code><var>{value}</var></code> is not a registered name.</h3>
1415        <p>The specified character encoding name is not registered to
1416        <abbr>IANA</abbr>.  Use of registered character encoding name
1417        is a good practice to facilitate interoperability.</p>
1418    
1419        <dl class="switch">
1420        <dt><code>EUC-TW</code></dt>
1421          <dd><code>EUC-TW</code> is not registered.  Unfortunately, there
1422          is no registered name for that character encoding.  Use
1423          Big5 encoding with character encoding name <code>Big5</code>
1424          if it is enough to represent the document.</dd>
1425        <dt><code>ISO-2022-JP-1</code></dt>
1426          <dd><code>ISO-2022-JP-1</code> is not registered, nevertheless
1427          this character encoding name is documented in
1428          <a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>.  Use
1429          <code>ISO-2022-JP-2</code> instead, since that character encoding
1430          is a superset of ISO-2022-JP-1.</dd>
1431        <dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt>
1432          <dd>These names are not registered and obsoleted in favor of
1433          <code>ISO-2022-JP-2004</code> and
1434          <code>ISO-2022-JP-2004-plane1</code>.</dd>
1435        <dt><code>ISO-2022-JP-2003</code>,
1436        <code>ISO-2022-JP-2003-plane1</code></dt>
1437          <dd>These names are not registered and corrected to
1438          <code>ISO-2022-JP-2004</code> and
1439          <code>ISO-2022-JP-2004-plane1</code>.</dd>
1440        <dt><code>ISO-2022-JP-2004</code>,
1441        <code>ISO-2022-JP-2004-plane1</code></dt>
1442          <dd>These names are not registered.  Unfortunately, there is
1443          no registered name for these character encodings.</dd>
1444        <dt><code>UTF-8N</code></dt>
1445          <dd><code>UTF-8N</code> is not registered.  Character encoding
1446          name <code>UTF-8</code> represents UTF-8 encoding with or
1447          without <abbr>BOM</abbr>.</dd>
1448        </dl>
1449    
1450        <p><strong>WARNING</strong>: This error might be raised for
1451        a registered character encoding name, since the character encoding
1452        name database of the conformance checker is not complete yet.</p>
1453      </div>
1454    
1455    <div class="section" id="charset:private"><h3>Character encoding name
1456      <code><var>{value}</var></code> is a private name.</h3>
1457        <p>The specified character encoding name is a private name and
1458        not registered to <abbr>IANA</abbr>.  Use of registered character
1459        encoding name is a good practice to facilitate interoperability.</p>
1460    
1461        <dl class="switch">
1462        <dt><code>x-euc-jp</code></dt>
1463          <dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr>
1464          character encoding.</dd>
1465        <dt><code>x-sjis</code></dt>
1466          <dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of
1467          <abbr>JIS</abbr> coded character set, or <code>Windows-31J</code>
1468          for Microsoft standard character set as implemented by
1469          Microsoft Windows.</dd>
1470        </dl>
1471      </div>
1472    
1473    <div class="section" id="charset:syntax-error"><h3>The specified value <code><var>{value}</var></code>
1474      is syntactically not a character encoding name.</h3>
1475        <p>The attribute value must be a character encoding name.  However,
1476        the specified value is not a character encoding name syntactically.
1477        The document is non‐conforming.</p>
1478        <p>Character encoding name is a string of <abbr>ASCII</abbr>
1479        printable characters, up to 40 characters.</p>
1480      </div>
1481    
1482    <div class="section" id="color:syntax-error"><h3>The specified value is not a color
1483      name or hexadecimal color number.</h3></div>
1484    
1485    <div class="section" id="coords:number-not-3"><h3>The <code>coords</code> attribute have to
1486      contain three (3) numbers (specified:
1487      <code><var>{text}</var></code>).</h3></div>
1488    
1489    <div class="section" id="coords:number-not-4"><h3>The <code>coords</code> attribute have to
1490      contain four (4) numbers (specified:
1491      <code><var>{text}</var></code>).</h3></div>
1492    
1493    <div class="section" id="coords:number-lt-6"><h3>The <code>coords</code> attribute have to
1494      contain more than or equal to six (6) numbers (specified:
1495      <code><var>{text}</var></code>).</h3></div>
1496    
1497    <div class="section" id="coords:number-not-even"><h3>The <code>coords</code> attribute have to
1498      contain even number of numbers (specified:
1499      <code><var>{text}</var></code>).</h3></div>
1500    
1501    <div class="section" id="coords:out-of-range"><h3>The specified value <code><var>{value}</var></code>
1502      is out of range.</h3></div>
1503    
1504    <div class="section" id="coords:syntax-error"><h3>The specified value is not valid.</h3></div>
1505    
1506    <div class="section" id="datetime:bad-year"><h3>Year number is out of range.</h3></div>
1507    
1508    <div class="section" id="datetime:bad-month"><h3>Month number is out of range.</h3></div>
1509    
1510    <div class="section" id="datetime:bad-day"><h3>Day number is out of range.</h3></div>
1511    
1512    <div class="section" id="datetime:bad-hour"><h3>Hour number is out of range.</h3></div>
1513    
1514    <div class="section" id="datetime:bad-minute"><h3>Minute number is out of range.</h3></div>
1515    
1516    <div class="section" id="datetime:bad-second"><h3>Second number is out of range.</h3></div>
1517    
1518    <div class="section" id="datetime:bad-timezone-hour"><h3>Hour number of the timezone component is out of
1519      range.</h3></div>
1520    
1521    <div class="section" id="datetime:bad-timezone-minute"><h3>Minute number of the timezone component is out of
1522      range.</h3></div>
1523    
1524    <div class="section" id="datetime:syntax-error"><h3>The attribute value is not a datetime.</h3></div>
1525    
1526    <div class="section" id="dateortime:syntax-error"><h3>The value is not a date or time.</h3></div>
1527    
1528    <div class="section" id="enumerated:invalid"><h3>This attribute only allow a limited set of
1529    values and the specified value <code><var>{@}</var></code> is not one    values and the specified value <code><var>{@}</var></code> is not one
1530    of them.</h3>    of them.</h3>
1531      <p>For this attribute only several values are allowed and the      <p>For this attribute only several values are allowed and the
# Line 744  Web Document Conformance Checker (BETA)< Line 1534  Web Document Conformance Checker (BETA)<
1534    
1535      <dl>      <dl>
1536      <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>      <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
1537          <dd><p>Only <code>Default-Style</code> and <code>Refresh</code>          <dd><p>Only values <code>Default-Style</code> and <code>Refresh</code>
1538          is allowed.</p>          are allowed.</p>
1539          <p>Value <code>Content-Type</code> is obsolete; for charset          <p>Value <code>Content-Type</code> is obsolete; for charset
1540          declaration, the <code>charset</code> attribute can be used as:          declaration, the <code>charset</code> attribute can be used as:
1541          <pre class="html example">          <pre class="html example">
1542  <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>  <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
1543          ... where <var>charset-name</var> is a name of the character encoding          ... where <var>charset-name</var> is a name of the character encoding
1544          of the document, such as <code>utf-8</code>.</p>          of the document, such as <code>utf-8</code>.</p>
1545          <p>Values <code>Content-Style-Type</code> and          <p>Values <code>Content-Style-Type</code> and
# Line 763  Web Document Conformance Checker (BETA)< Line 1553  Web Document Conformance Checker (BETA)<
1553      </dl>      </dl>
1554    </div>    </div>
1555    
1556  <div class="section attribute-value-error" id="enumerated:invalid:http-equiv:content-type"><h3>Charset declaration syntax  <div class="section" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax
1557    <code>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>    <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
1558    is obsolete.</h3>    is obsolete.</h3>
1559      <p>Old long charset declaration syntax      <p>Old long character encoding declaration syntax
1560      <code>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>      <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
1561      is in use.  The document is non‐conforming.</p>      is in use.  The document is non‐conforming.</p>
1562    
1563      <p>The new charset declaration syntax is:      <p>The new character encoding declaration syntax is:
1564        <pre>        <pre class="html example">
1565  <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>  <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
1566      </p>      </p>
1567    </div>    </div>
1568    
1569  <div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been  <div class="section" id="enumerated:non-conforming"><h3>Attribute value <code><var>{@}</var></code>
1570      is not allowed.</h3></div>
1571    
1572    <div class="section" id="duplicate-http-equiv"><h3>There is another pragma
1573      <code><var>{value}</var></code>.</h3></div>
1574    
1575    <div class="section" id="duplicate-ID"><h3>This identifier has already been
1576    assigned to another element.</h3></div>    assigned to another element.</h3></div>
1577    
1578  <div class="section attribute-value-error" id="link-type:bad-context"><h3>The link type <code><var>$0</var></code>  <div class="section" id="duplicate-token"><h3>The token <code><var>{value}</var></code>
1579      appears in the attribute value twice.</h3></div>
1580    
1581    <div class="section" id="empty-attribute-value"><h3>The attribute value is empty.</h3></div>
1582    
1583    <div class="section" id="empty-style-sheet-title"><h3>The value of the <code>title</code> attribute
1584      is empty.</h3>
1585        <p>The <code>title</code> attribute value of the <code>link</code>
1586        element that defines an alternate style sheet is an empty value.</p>
1587    
1588        <p>A <code>link</code> element whose <code>rel</code> attribute
1589        is <code>alternate stylesheet</code> defines an alternate style sheet.
1590        An alternate style sheet must be associated with a name using the
1591        <code>title</code> attribute.  The name cannot be empty.</p>
1592      </div>
1593    
1594    <div class="section" id="float:out-of-range"><h3>The specified value is out of range.</h3></div>
1595    
1596    <div class="section" id="float:syntax-error"><h3>The attribute value is not a real
1597      number.</h3></div>
1598    
1599    <div class="section" id="fragment-points-itself"><h3>A fragment identifier references the element
1600      itself.</h3></div>
1601    
1602    <div class="section" id="fragment-points-nothing"><h3>A fragment identifier references no
1603      node.</h3></div>
1604    
1605    <div class="section" id="hashref:syntax-error"><h3>A hash−name reference must start with a
1606      <code>#</code> character.</h3></div>
1607    
1608    <div class="section" id="id-ne-name"><h3>The <code>id</code> attribute value is
1609      different from the <code>name</code> attribute value.</h3></div>
1610    
1611    <div class="section" id="integer:syntax-error"><h3>The attribute value is not an integer.</h3></div>
1612    
1613    <div class="section" id="link-type:bad-context"><h3>The link type <code><var>{value}</var></code>
1614    cannot be specified for this element.</h3>    cannot be specified for this element.</h3>
1615      <p>The specified link type cannot be used for the element.      <p>The specified link type cannot be used for the element.
1616      The document is non-conforming.</p>      The document is non-conforming.</p>
# Line 792  Web Document Conformance Checker (BETA)< Line 1623  Web Document Conformance Checker (BETA)<
1623      while it cannot be used with <code>link</code> element.</p>      while it cannot be used with <code>link</code> element.</p>
1624    </div>    </div>
1625    
1626  <div class="section attribute-value-error" id="link-type:non-conforming"><h3>The link type <code><var>$0</var></code>  <div class="section" id="invalid-attribute-value"><h3>Attribute value <code><var>{@}</var></code>
1627      is not an allowed value.</h3></div>
1628    
1629    <div class="section" id="length:syntax-error"><h3>The attribute value is not a length
1630      value.</h3></div>
1631    
1632    <div class="section" id="link-type:non-conforming"><h3>The link type <code><var>{value}</var></code>
1633    is non-conforming.</h3>    is non-conforming.</h3>
1634      <p>The specified link type is non-conforming, and therefore      <p>The specified link type is non-conforming, and therefore
1635      the document is non-conforming.</p>      the document is non-conforming.</p>
# Line 813  Web Document Conformance Checker (BETA)< Line 1650  Web Document Conformance Checker (BETA)<
1650      </dl>      </dl>
1651    </div>    </div>
1652    
1653  <div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>Browsing context name  <div class="section" id="meta-content-type-syntax-error"><h3>The specified value is not a valid as a long
1654      character encoding declaration.</h3></div>
1655    
1656    <div class="section" id="mismatched-charset-name"><h3>The specified character encoding name
1657      <code><var>{value}</var></code> is different from the actual document
1658      character encoding <code><var>{text}</var></code>.</h3>
1659        <p>The specified character encoding name is different from
1660        the character encoding of the document.  The document
1661        is non‐conforming.</p>
1662      </div>
1663    
1664    <div class="section" id="mismatched-charset-name-not-checked"><h3>Whether the specified character encoding name
1665      <code><var>{value}</var></code> matches to the actual character encoding
1666      name cannot be checked since the input is not a byte stream.</h3></div>
1667    
1668    <div class="section" id="mode:syntax-error"><h3>The attribute value is not a valid mode
1669      name.</h3></div>
1670    
1671    <div class="section" id="nninteger:out-of-range"><h3>The specified value is out of range.</h3></div>
1672    
1673    <div class="section" id="nninteger:syntax-error"><h3>The attribute value is not a non‐negative
1674      integer.</h3></div>
1675    
1676    <div class="section" id="no-referenced-map"><h3>The <code>usemap</code> attribute references
1677      no image map.</h3></div>
1678    
1679    <div class="section" id="no-referenced-menu"><h3>The <code>contextmenu</code> attribute references
1680      no menu.</h3></div>
1681    
1682    <div class="section" id="no-referenced-header-cell"><h3>There is no table header cell whose <code>id</code>
1683      is <code><var>{value}</var></code> in the same table.</h3></div>
1684    
1685    <div class="section" id="refresh:syntax-error"><h3>the specified value is not a valid as part
1686      of a <code>Refresh</code> pragma.</h3></div>
1687    
1688    <div class="section" id="repeat:syntax-error"><h3>The attribute value is not an integer or
1689      a string <code>template</code>.</h3></div>
1690    
1691    <div class="section" id="reserved-browsing-context-name"><h3>Browsing context name
1692    <code><var>{@}</var></code> is reserved.</h3>    <code><var>{@}</var></code> is reserved.</h3>
1693      <p>The specified browsing context name is reserved.      <p>The specified browsing context name is reserved.
1694      The document is non-conforming.</p>      The document is non-conforming.</p>
# Line 829  Web Document Conformance Checker (BETA)< Line 1704  Web Document Conformance Checker (BETA)<
1704      However, they are <em>not</em> conforming attribute values.</p>      However, they are <em>not</em> conforming attribute values.</p>
1705    </div>    </div>
1706    
1707  </section>  <div class="section" id="Reserved-Prefixes-and-Namespace-Names:Name"><h3>Namespace name <code><var>{text}</var></code>
1708      is reserved and cannot be used for an arbitrary prefix.</h3></div>
1709    
1710  <section id="attribute-value-warnings">  <div class="section" id="Reserved-Prefixes-and-Namespace-Names:Prefix"><h3>Namespace prefix <code><var>{text}</var></code>
1711  <h2>Attribute Value Warnings</h2>    is reserved and cannot be used for an arbitrary namespace name.</h3></div>
1712    
1713  <div class="section attribute-value-warning should" id="s:link-type:proposed"><h3>Link type <code><var>$0</var></code>  <div class="section" id="link-type:proposed"><h3>Link type <code><var>{value}</var></code>
1714    is proposed but not accepted yet; it <em>should not</em> be    is proposed but not accepted yet; it <em>should not</em> be
1715    used until it has been accepted.</h3>    used until it has been accepted.</h3>
1716      <p>The link type is in the <i>proposed</i> status; it      <p>The link type is in the <i>proposed</i> status; it
# Line 848  Web Document Conformance Checker (BETA)< Line 1724  Web Document Conformance Checker (BETA)<
1724      for the latest information.</p>      for the latest information.</p>
1725    </div>    </div>
1726    
1727    <div class="section" id="sizes:syntax-error"><h3>The specified value <code><var>{value}</var></code>
1728      is not a valid value.</h3></div>
1729    
1730    <div class="section" id="space-in-ID"><h3>White space characters are not allowed
1731      in the <code>id</code> attribute.</h3></div>
1732    
1733    <div class="section" id="template:not-template"><h3>The node referenced by the <code>template</code>
1734      attribute is not a template.</h3></div>
1735    
1736    <div class="section" id="window-name:empty"><h3>Browsing context name must not be empty.</h3></div>
1737    
1738    <div class="section" id="window-name:reserved"><h3>Browsing context name
1739      <code><var>{value}</var></code> is reserved.</h3></div>
1740    
1741    <div class="section" id="word-not-allowed"><h3>The word <code><var>{value}</var></code> is not
1742      allowed in this attribute.</h3></div>
1743    
1744    <div class="section" id="XML-1.0-NCName:syntax-error"><h3>The specified value is not a legal XML Namespaces
1745      1.0 <code>NCName</code>.</h3></div>
1746    
1747    <div class="section" id="xml:lang-ne-lang"><h3>The value of the <code>xml:lang</code> attribute
1748      is different from the value of the <code>lang</code> attribute.</h3>
1749        <p>The value of the <code>xml:lang</code> attribute (either the
1750        <code>lang</code> attribute in the <code>xml</code> (i.e.
1751        <code>http://www.w3.org/XML/1998/namespace</code>) namespace, or
1752        the <code>xml:lang</code> attribute in no namespace) for the element has
1753        different value than that of the <code>lang</code> attribute in no
1754        namespace.</p>
1755    
1756        <p>For historical reason, there are two attributes applicable to HTML
1757        elements to specify language information of an element: <code>lang</code>
1758        and <code>xml:lang</code>.  In HTML documents, only <code>lang</code>
1759        attribute in no namespace is allowed and take effect; the
1760        <code>xml:lang</code> attribute in no namespace is ignored in HTML
1761        documents.  In XHTML documents, both <code>lang</code> and
1762        <code>xml:lang</code> attributes are allowed.</p>
1763    
1764        <p>In general, <em>only the <code>lang</code> attribute</em> need to be
1765        specified for an element.</p>
1766    
1767        <p>If both <code>lang</code> and <code>xml:lang</code> attributes are
1768        specified on the same element, their values must be the same value.</p>
1769      </div>
1770    
1771  </section>  </section>
1772    
1773  <section id="table-model-errors">  <section id="table-model-errors">
1774  <h2>Table Model Errors</h2>  <h2>Table Model Errors</h2>
1775    
1776  <div class="section table-model-error" id="table:colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute  <div class="section" id="cell-overlapping"><h3>Cell slot (<var>{text}</var>) is filled by
1777      multiple cells.</h3></div>
1778    
1779    <div class="section" id="colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute
1780    results in creating a table column that does not contain    results in creating a table column that does not contain
1781    any cell anchored to it.</h3></div>    any cell anchored to it.</h3></div>
1782    
1783  <div class="section table-model-error" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or  <div class="section" id="column-with-no-anchored-cell"><h3>This column has no anchored cell.</h3></div>
1784    
1785    <div class="section" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or
1786    <code>th</code>) in the last row.</h3></div>    <code>th</code>) in the last row.</h3></div>
1787    
1788  <div class="section table-model-error" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute  <div class="section" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute
1789    results in creating a table row that does not contain    results in creating a table row that does not contain
1790    any cell anchored to it.</h3>    any cell anchored to it.</h3>
1791      <p>The <code>rowspan</code> attribute value of the cell      <p>The <code>rowspan</code> attribute value of the cell
# Line 869  Web Document Conformance Checker (BETA)< Line 1794  Web Document Conformance Checker (BETA)<
1794      The document is non-conforming.</p>      The document is non-conforming.</p>
1795    
1796      <p>For example, the table below is non-conforming:      <p>For example, the table below is non-conforming:
1797        <pre class="html non-conforming example">        <pre class="html bad example">
1798  <code>&lt;table&gt;  <code>&lt;table&gt;
1799  &lt;tbody&gt;  &lt;tbody&gt;
1800  &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;
# Line 879  Web Document Conformance Checker (BETA)< Line 1804  Web Document Conformance Checker (BETA)<
1804      a cell that spans between first and second rows.</p>      a cell that spans between first and second rows.</p>
1805    </div>    </div>
1806    
1807    <div class="section" id="row-with-no-anchored-cell"><h3>This row has no anchored cell.</h3></div>
1808    
1809    <div class="section" id="rowspan-creates-row-with-no-anchored-cell"><h3>This <code>rowspan</code> attribute
1810      results in creating a table row that does not contain
1811      any cell anchored to it.</h3></div>
1812    
1813    
1814  </section>  </section>
1815    
1816  <section id="imt-warnings">  <section id="imt-warnings">
1817  <h2>Internet Media Type Warnings</h2>  <h2>Internet Media Type Errors</h2>
1818    
1819    <div class="section" id="boundary:syntax-error"><h3>The specified value is not a valid value
1820      as a multipart boundary.</h3></div>
1821    
1822    <div class="section" id="e4x:syntax-error"><h3>The specified value is not a valid value
1823      for the attribute <code>e4x</code>.</h3></div>
1824    
1825  <div class="section should" id="s:IMT:obsolete-subtype"><h3><code><var>{@}</var></code>: An <em>obsolete</em>  <div class="section" id="IMT:attribute-syntax-error"><h3>The specified value,
1826    subtype is used.</h3></div>    <code><var>{value}</var></code>, is syntactically not a valid
1827      attribute name.</h3></div>
1828    
1829  <div class="section should" id="s:IMT:private-subtype"><h3><code><var>{@}</var></code>: A private  <div class="section" id="IMT:composite"><h3>The specified media type is a composite
1830    (<code>x-</code> or <code>x.</code>) subtype is used.</h3></div>    type, which is not allowed in this context.</h3></div>
1831    
1832  <div class="section should" id="s:IMT:unregistered-subtype"><h3><code><var>{@}</var></code>: The subtype is  <div class="section" id="IMT:limited-use-subtype"><h3>An Internet Media Type whose intended usage
1833    not registered to IANA.</h3></div>    is limited use, <code><var>{value}</var></code> is used.</h3></div>
1834    
1835    <div class="section" id="IMT:syntax-error"><h3>The specified value is not an Internet Media
1836      Type.</h3></div>
1837    
1838    <div class="section" id="IMT:obsolete-parameter"><h3>An obsolete parameter
1839      <code><var>{value}</var></code> is used.</h3></div>
1840    
1841    <div class="section" id="IMT:obsolete-subtype"><h3>An obsolete Internet Media Type
1842      <code><var>{value}</var></code> is used.</h3>
1843        <p>The specified Internet Media Type is registered with its intended
1844        usage as <i>OBSOLETE</i>.</p>
1845        
1846        <dl class="swtich">
1847        <dt>Media type <code>text/ecmascript</code></dt>
1848          <dd>Media type <code>text/ecmascript</code> is obsoleted in
1849          favor of <code>application/ecmascript</code>.  Note that
1850          <em><code>text/javascript</code></em> would be the better alternative
1851          in many cases.</dd>
1852        <dt>Media type <code>text/javascript</code></dt>
1853          <dd>Media type <code>text/javascript</code> is obsoleted by
1854          <abbr>IETF</abbr> with backward incompatible alternate
1855          <code>application/javascript</code> for architectural
1856          purity.<!-- @@ ref? -->  Those who prefer reality to academic
1857          purity <em>may ignore</em> this warning.</dd>
1858        </dl>
1859      </div>
1860    
1861    <div class="section" id="IMT:parameter-missing"><h3>Parameter <code><var>{text}</var></code> have to
1862      be specified for the Internet Media Type
1863      <code><var>{value}</var></code>.</h3></div>
1864    
1865    <div class="section" id="IMT:parameter-not-allowed"><h3>Parameter <code><var>{value}</var></code> is not
1866      allowed for this Internet Media Type.</h3></div>
1867    
1868    <div class="section" id="IMT:private-subtype"><h3>Use of a private Internet Media Type
1869      <code><var>{value}</var></code> is not encouraged.</h3></div>
1870    
1871    <div class="section" id="IMT:private-type"><h3>Use of a private type
1872      <code><var>{value}</var></code> is not encouraged.</h3></div>
1873    
1874    <div class="section" id="IMT:subtype-syntax-error"><h3>Value <code><var>{value}</var></code> is
1875      syntactically not a valid subtype value of an Internet Media Type.</h3></div>
1876    
1877    <div class="section" id="IMT:type-syntax-error"><h3>Value <code><var>{value}</var></code> is
1878      syntactically not a valid type.</h3></div>
1879    
1880    <div class="section" id="IMT:unknown-parameter"><h3>An unknown parameter <code><var>{value}</var></code>
1881      is used.  The conformance checker cannot determine whether use of this
1882      parameter is valid or not.</h3></div>
1883    
1884    <div class="section" id="IMT:unknown-subtype"><h3>An unknown Internet Media Type
1885      <code><var>{value}</var></code> is used.  At the time of the update of
1886      the conformance checker's Internet Media Type database, the subtype is
1887      not reigstered to the IANA registry.  The subtype, however, might be
1888      registerd to the IANA registry thereafter.  Please consult the IANA
1889      registry.</h3></div>
1890    
1891    <div class="section" id="IMT:unregistered-subtype"><h3>Use of an Internet Media Type
1892      <code><var>{value}</var></code> is not encouraged since it is not
1893      part of the IANA registry.</h3></div>
1894    
1895    <div class="section" id="IMT:unregistered-type"><h3>Use of a type
1896      <code><var>{value}</var></code> is not encouraged since it is not
1897      a standardized type.</h3></div>
1898    
1899    <div class="section" id="not-IMT"><h3>A value that is not an Internet Media Type
1900      is not allowed here.</h3></div>
1901    
1902  </section>  </section>
1903    
1904  <section id="uri-errors">  <section id="uri-errors">
1905  <h2>URI (or IRI) Errors</h2>  <h2>URL Errors</h2>
1906    
1907    <div class="section" id="syntax-error:iri3987"><h3>The specified value is syntactically not an
1908      IRI.</h3></div>
1909    
1910  <div class="section must" id="m:URI::syntax-error"><h3>The specified value is syntactically not an IRI  <div class="section" id="syntax-error:iriref3987"><h3>The specified value is syntactically not an IRI
1911    reference.</h3>    reference.</h3>
1912      <p>The specified value does not satisfy the syntactical requirements      <p>The specified value does not satisfy the syntactical requirements
1913      for IRI references.  The document is non-conforming.</p>      for IRI references.  The document is non-conforming.</p>
# Line 913  Web Document Conformance Checker (BETA)< Line 1922  Web Document Conformance Checker (BETA)<
1922      </p>      </p>
1923    </div>    </div>
1924    
1925  </section>  <div class="section" id="syntax-error:rdfuriref"><h3>The specified value is syntactically not an RDF
1926      URI reference.</h3></div>
1927    
1928    <div class="section" id="syntax-error:uri2396"><h3>The specified value is syntactically not a
1929      URI according to RFC 2396.</h3></div>
1930    
1931    <div class="section" id="syntax-error:uri3986"><h3>The specified value is syntactically not a
1932      URI.</h3></div>
1933    
1934  <section id="uri-shoulds">  <div class="section" id="URL:address-format"><h3>URL host address format
1935  <h2>URI (or IRI) Should-level Errors</h2>    <code><var>{text}</var></code> is not defined.</h3></div>
1936    
1937  <div class="section should" id="s:URI::dot-segment"><h3>A dot-segment (<code>.</code> or  <div class="section" id="URL:default-port"><h3>Default port number should be omitted.</h3></div>
1938    
1939    <div class="section" id="URL:dot-segment"><h3>A dot-segment (<code>.</code> or
1940    <code>..</code>) occurs in an absolute reference.</h3>    <code>..</code>) occurs in an absolute reference.</h3>
1941      <p>Dot-segment (<code>.</code> or <code>..</code>) should      <p>Dot-segment (<code>.</code> or <code>..</code>) should
1942      not occur in an absolute reference.</p>      not occur in an absolute reference.</p>
# Line 930  Web Document Conformance Checker (BETA)< Line 1948  Web Document Conformance Checker (BETA)<
1948      canonical form before it has been published.</p>      canonical form before it has been published.</p>
1949    </div>    </div>
1950    
1951  <div class="section should" id="s:URI::empty-path"><h3>This IRI does not end with  <div class="section" id="URL:empty-host"><h3>The host component of the URL is empty.</h3></div>
1952    a <code>/</code>.</h3></div>  
1953    <div class="section" id="URL:empty-path"><h3>The URL does not end with
1954      a <code>/</code> character.</h3></div>
1955    
1956  <div class="section should" id="s:URI::lowercase-hexadecimal-digit"><h3>A lowercase hexadecimal digit is used  <div class="section" id="URL:empty-port"><h3>The port component of the URL is empty.</h3></div>
1957    
1958    <div class="section" id="URL-fragment-not-allowed"><h3>The fragment component of the URL is not
1959      allowed.</h3></div>
1960    
1961    <div class="section" id="URL:long-host"><h3>The host component of the URL
1962      is too long.</h3></div>
1963    
1964    <div class="section" id="URL:lowercase-hexadecimal-digit"><h3>A lowercase hexadecimal digit is used
1965    in percent-encoding.</h3>    in percent-encoding.</h3>
1966      <p>The hexadecimal digit in percent-encoding string in the IRI      <p>The hexadecimal digit in percent-encoding string in the IRI
1967      is in lowercase.  Though the IRI <em>is</em> conforming,      is in lowercase.  Though the IRI <em>is</em> conforming,
1968      it should be in uppercase.</p>      it should be in uppercase.</p>
1969    </div>    </div>
1970    
1971  <div class="section should" id="s:URI::percent-encoded-unreserved"><h3>An unreserved character is  <div class="section" id="URL:non-DNS-host"><h3>The host component of the URL
1972      is not a DNS host name.</h3></div>
1973    
1974    <div class="section" id="URL:non-UTF-8-host"><h3>The host component of the URL
1975      is not encoded in UTF-8.</h3></div>
1976    
1977    <div class="section" id="URL:password"><h3>Password should not be included in a URL
1978      for the security.</h3></div>
1979    
1980    <div class="section" id="URL:percent-encoded-unreserved"><h3>An unreserved character is
1981    percent-encoded.</h3>    percent-encoded.</h3>
1982      <p>An unreserved character is percent-encoded in the IRI.      <p>An unreserved character is percent-encoded in the IRI.
1983      Though it <em>is</em> conforming, it should be in the      Though it <em>is</em> conforming, it should be in the
1984      decoded (or bare) form.</p>      decoded (or bare) form.</p>
1985    </div>    </div>
1986    
1987  <div class="section should" id="s:URI::uppercase-scheme-name"><h3>URI scheme name is in uppercase.</h3>  <div class="section" id="URL:uppercase-host"><h3>The host <code><var>{value}</var></code>
1988      should be spelt in lowercase.</h3></div>
1989    
1990    <div class="section" id="URL:uppercase-scheme-name"><h3>URL scheme name is in uppercase.</h3>
1991      <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>
1992    
1993      <p>Uppercase scheme names are not required to be processed      <p>Uppercase scheme names are not required to be processed
# Line 965  Web Document Conformance Checker (BETA)< Line 2005  Web Document Conformance Checker (BETA)<
2005    
2006  </section>  </section>
2007    
2008    <section id="mq-errors">
2009    <h2>Media Query Errors</h2>
2010    
2011    <div class="section" id="mq-syntax-error"><h3>The specified value has a syntax error as a
2012      media query.</h3></div>
2013    
2014    <div class="section" id="unknown-media-type"><h3>Media type <code><var>{value}</var></code> is
2015      not supported by the conformance checker.</h3></div>
2016    
2017    </section>
2018    
2019    <section id="selectors-errors">
2020    <h2>Selectors Errors</h2>
2021    
2022    <div class="section" id="an+b-not-closed"><h3>Argument list of the pseudo-class is
2023      not closed by a <code>)</code> character.</h3></div>
2024    
2025    <div class="section" id="ab+b-not-integer"><h3>Numbers in the argument
2026      <code><var>a</var>n+<var>b</var></code> have to be integers.</h3></div>
2027    
2028    <div class="section" id="an+b-syntax-error"><h3>Argument <code><var>a</var>n+<var>b</var></code> is
2029      syntactically incorrect.</h3></div>
2030    
2031    <div class="section" id="attr-selector-not-closed"><h3>Attribute selector is not closed by
2032      a <code>]</code> character.</h3></div>
2033    
2034    <div class="section" id="lang-selector-not-closed"><h3>Argument list of the <code>:lang</code>
2035      selector is not closed by a <code>)</code> character.</h3></div>
2036    
2037    <div class="section" id="namespace-prefix:not-declared"><h3>Namespace prefix <code><var>{value}</var></code>
2038      is not declared.</h3></div>
2039    
2040    <div class="section" id="no-attr-local-name"><h3>Attribute local name is missing.</h3></div>
2041    
2042    <div class="section" id="no-attr-match"><h3>Attribute matching operator (e.g.
2043      <code>=</code>) is missing.</h3></div>
2044    
2045    <div class="section" id="no-attr-name"><h3>Attribute name is missing.</h3></div>
2046    
2047    <div class="section" id="no-attr-namespace-separator"><h3>Attribute namespace wildcard <code>*</code>
2048      is not followed by a <code>|</code> character.</h3></div>
2049    
2050    <div class="section" id="no-attr-value"><h3>Attribute value is missing.</h3></div>
2051    
2052    <div class="section" id="no-class-name-selector"><h3>Class name is missing.</h3></div>
2053    
2054    <div class="section" id="no-combinator"><h3>Combinator is missing.</h3></div>
2055    
2056    <div class="section" id="no-contains-string"><h3>No string is specified in the argument
2057      list of the <code>:-manakai-contains</code> pseudo-class
2058      selector.</h3></div>
2059    
2060    <div class="section" id="no-lang-tag"><h3>Language tag argument is missing.</h3></div>
2061    
2062    <div class="section" id="no-local-name-selector"><h3>Local name part of the type selector (or
2063      <code>*</code> for the universal selector) is missing.</h3></div>
2064    
2065    <div class="section" id="no-pseudo-class-name"><h3>Pseudo-class name is missing.</h3></div>
2066    
2067    <div class="section" id="no-pseudo-element-name"><h3>Pseudo-element name is missing.</h3></div>
2068    
2069    <div class="section" id="no-sss"><h3>Sequence of simple selectors is
2070      expected.</h3></div>
2071    
2072    <div class="section" id="not-not-closed"><h3>Argument list of the <code>:not</code> selector
2073      is not closed by a <code>)</code> character.</h3></div>
2074    
2075    <div class="section" id="ss-after-pseudo-element"><h3>Simple selector is not allowed after a
2076      pseudo element.</h3></div>
2077    
2078    <div class="section" id="unknown-pseudo-class"><h3>Pseudo-class <code>:<var>{value}</var></code>
2079      is not supported by the conformance checker.</h3></div>
2080    
2081    <div class="section" id="unknown-pseudo-element"><h3>Pseudo-element <code>::<var>{value}</var></code>
2082      is not supported by the conformance checker.</h3></div>
2083    
2084    </section>
2085    
2086    <section id="css-errors">
2087    <h2>CSS Errors</h2>
2088    
2089    <div class="section" id="at-rule-not-allowed"><h3>An <code>@<var>{text}</var></code> rule is not
2090      allowed here.</h3></div>
2091    
2092    <div class="section" id="at-rule-syntax-error"><h3>The <code>@<var>{text}</var></code> rule is
2093      syntactically incorrect.</h3></div>
2094    
2095    <div class="section" id="block-not-closed"><h3>Block is not closed before the end of
2096      file.</h3></div>
2097    
2098    <div class="section" id="CSS-duplication"><h3>Component <code>&lt;<var>{text}</var>&gt;</code> is
2099      already specified.</h3></div>
2100    
2101    <div class="section" id="CSS-cursor-hand"><h3>Value <code>hand</code> is not valid as
2102      <code>&lt;'cursor'&gt;</code>.</h3></div>
2103    
2104    <div class="section" id="CSS-syntax-error"><h3>Specified value is syntactically not a correct
2105      <code>&lt;<var>{text}</var>&gt;</code>.</h3></div>
2106    
2107    <div class="section" id="no-declaration-block"><h3>No declaration block is found after a group of
2108      selectors.</h3></div>
2109    
2110    <div class="section" id="no-property-colon"><h3>A <code>:</code> character is missing after
2111      a property name.</h3></div>
2112    
2113    <div class="section" id="no-property-name"><h3>Property name is expected.</h3></div>
2114    
2115    <div class="section" id="no-property-semicolon"><h3>A <code>;</code> character is missing at the
2116      end of the property.</h3></div>
2117    
2118    <div class="section" id="priority-syntax-error"><h3>Priority part of the declaration is syntactically
2119      incorrect.</h3></div>
2120    
2121    <div class="section" id="unknown-at-rule"><h3>The <code>@<var>{value}</var></code> rule is
2122      not supported by the conformance checker.</h3></div>
2123    
2124    <div class="section" id="unknown-property"><h3>Property <code><var>{value}</var></code> is
2125      not supported by the conformance checker.</h3></div>
2126    
2127    </section>
2128    
2129  <section id="cache-manifest-errors">  <section id="cache-manifest-errors">
2130  <h2>Cache Manifest Errors</h2>  <h2>Cache Manifest Errors</h2>
2131    
2132  <div class="section must" id="m:not-manifest"><h3>This document is not a cache manifest.</h3>  <div class="section" id="both-in-entries-and-whitelist"><h3>This URL is found both in the explicit or
2133      fallback entries and in the online whitelist.</h3></div>
2134    
2135    <div class="section" id="different-origin-from-manifest"><h3>The specified URL has different origin from
2136      the manifest.</h3></div>
2137    
2138    <div class="section" id="different-scheme-from-manifest"><h3>The scheme component of the URL is
2139      different from that of the manifest URL.  The URL is ignored.</h3></div>
2140    
2141    <div class="section" id="duplicate-oc-namespace"><h3>This oppotunistic caching namespace is already
2142      specified.</h3></div>
2143    
2144    <div class="section" id="no-fallback-entry-URL"><h3>Fallback entry URL is missing.</h3></div>
2145    
2146    <div class="section" id="not-manifest"><h3>This document is not a cache manifest.</h3>
2147      <p>The specified document is <em>not</em> a cache manifest.      <p>The specified document is <em>not</em> a cache manifest.
2148      The document is non-conforming.</p>      The document is non-conforming.</p>
2149    
# Line 976  Web Document Conformance Checker (BETA)< Line 2151  Web Document Conformance Checker (BETA)<
2151      <code>text/cache-manifest</code> must contain a cache manifest.</p>      <code>text/cache-manifest</code> must contain a cache manifest.</p>
2152    
2153      <p>A cache manifest must start with a line whose content is      <p>A cache manifest must start with a line whose content is
2154      <code>CACHE MANIFEST</code> (exactly one space character between      <code class="manifest example">CACHE MANIFEST</code>
2155        (exactly one space character between
2156      <code>CACHE</code> and <code>MANIFEST</code>).</p>      <code>CACHE</code> and <code>MANIFEST</code>).</p>
2157    </div>    </div>
2158    
2159    <div class="section" id="same-as-manifest-URL"><h3>This URL is same as the manifest URL.</h3></div>
2160    
2161    </section>
2162    
2163    <section id="information">
2164    <h2>Stability Information</h2>
2165    
2166    <div class="section" id="deprecated:attr"><h3>This attribute is deprecated.</h3></div>
2167    
2168    <div class="section" id="deprecated:element"><h3>This element is deprecated.</h3></div>
2169    
2170    <div class="section" id="status:cr:element"><h3>This element is in the
2171      <strong>call for implementation</strong> stage.</h3>
2172        <p>The element is in the call for implementation stage.</p>
2173        
2174        <p>Usually, using the element is safe.  However, it is a new feature
2175        so that it might not be implemented correctly.  If it is found that
2176        the feature is hard or impossible to implement, the feature
2177        might be revised, or in some case it might be dropped.</p>
2178    
2179        <p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0
2180        (W3C Candidate Recommendation) belong to this class.</p>
2181      </div>
2182    
2183    <div class="section" id="status:lc:element"><h3>This element is in the <strong>last
2184      call for comments</strong> stage.</h3>
2185        <p>The element is in the last call for comments stage.</p>
2186        
2187        <p>The element is relatively mature, though the standardization
2188        is not done yet.  It may be used for experiments.  Since it is a new
2189        feature, it might not be implemented correctly or at all.  If it is
2190        found that the feature is hard or impossible to implement, the feature
2191        might be revised or might be dropped.</p>
2192    
2193        <p>Elements defined by Web Forms 2.0 as well as some elements
2194        defined by HTML5 belong to this class.</p>
2195      </div>
2196    
2197    <div class="section" id="status:wd:element"><h3>This element is documented in a <strong>working
2198      draft</strong>.</h3>
2199        <p>The element is documented in a working or editor's draft
2200        and not yet completed.</p>
2201        
2202        <p>The element should not be used for any practical purpose.
2203        The feature might be drastically changed later or might be
2204        entirely removed.</p>
2205    
2206        <p>Most of new elements defined by HTML5 belong to this class.</p>
2207      </div>
2208    
2209    <div class="section" id="status:non-standard:element"><h3>This element is <strong>not part of any
2210      standard</strong> the conformance checker knows.</h3>
2211        <p>The element is not part of any standard or draft the conformance
2212        checker is aware of.</p>
2213        
2214        <p>The element should not be used for any practical purpose unless
2215        there is really a standard that defines the element.</p>
2216      </div>
2217    
2218    <div class="section" id="status:cr:attr"><h3>This attribute is in the
2219      <strong>call for implementation</strong> stage.</h3>
2220        <p>The attribute is in the call for implementation stage.</p>
2221        
2222        <p>Usually, using the attribute is safe.  However, it is a new feature
2223        so that it might not be implemented correctly.  If it is found that
2224        the feature is hard or impossible to implement, the feature
2225        might be revised, or in some case it might be dropped.</p>
2226      </div>
2227    
2228    <div class="section" id="status:lc:attr"><h3>This attribute is in the <strong>last
2229      call for comments</strong> stage.</h3>
2230        <p>The attribute is in the last call for comments stage.</p>
2231        
2232        <p>The attribute is relatively mature, though the standardization
2233        is not done yet.  It may be used for experiments.  Since it is a new
2234        feature, it might not be implemented correctly or at all.  If it is
2235        found that the feature is hard or impossible to implement, the feature
2236        might be revised or might be dropped.</p>
2237      </div>
2238    
2239    <div class="section" id="status:wd:attr"><h3>This attribute is documented in a <strong>working
2240      draft</strong>.</h3>
2241        <p>The attribute is documented in a working or editor's draft
2242        and not yet completed.</p>
2243        
2244        <p>The attribute should not be used for any practical purpose.
2245        The feature might be drastically changed later or might be
2246        entirely removed.</p>
2247      </div>
2248    
2249    <div class="section" id="status:non-standard:attr"><h3>This attribute is <strong>not part of any
2250      standard</strong> the conformance checker knows.</h3>
2251        <p>The attribute is not part of any standard or draft the conformance
2252        checker is aware of.</p>
2253        
2254        <p>The attribute should not be used for any practical purpose unless
2255        there is really a standard that defines the attribute.</p>
2256      </div>
2257    </section>
2258    
2259    <section id="langtag-errors">
2260    <h2>Language Tag Errors</h2>
2261    
2262    <div class="section" id="langtag:extension:duplication"><h3>There is another extension subtag
2263      <code><var>{value}</var></code>.</h3></div>
2264    
2265    <div class="section" id="langtag:illegal"><h3>Subtag <code><var>{value}</var></code> is
2266      syntactically invalid.</h3></div>
2267    
2268    <div class="section" id="langtag:language:case"><h3>It is a good practice to represent ISO 639-1
2269      language code <code><var>{value}</var></code> in lowercase.</h3></div>
2270    
2271    <div class="section" id="langtag:language:mul"><h3>Langauge tag <code>mul</code> should not be
2272      used.</h3></div>
2273    
2274    <div class="section" id="langtag:language:nosemantics"><h3>No semantics is defined for language subtag
2275      <code><var>{value}</var></code>.</h3></div>
2276    
2277    <div class="section" id="langtag:language:syntax"><h3>The language subtag <code><var>{value}</var></code>
2278      is syntactically invalid.</h3></div>
2279    
2280    <div class="section" id="langtag:language:und"><h3>Langauge tag <code>und</code> should not be
2281      used.</h3></div>
2282    
2283    <div class="section" id="langtag:private"><h3>It would be better if a private use language
2284      tag (<code><var>{value}</var></code>) is not used.</h3></div>
2285    
2286    <div class="section" id="langtag:privateuse:syntax"><h3>Private use subtag <code><var>{value}</var></code>
2287      is syntactically invalid.</h3></div>
2288    
2289    <div class="section" id="langtag:region:case"><h3>It is a good practice to represent ISO 3166
2290      country code <code><var>{value}</var></code> in uppercase.</h3></div>
2291    
2292    <div class="section" id="langtag:region:nosemantics"><h3>No semantics is defined for region subtag
2293      <code><var>{value}</var></code>.</h3></div>
2294    
2295    <div class="section" id="langtag:region:private"><h3>Use of private use country code
2296      <code><var>{value}</var></code> is not allowed.</h3></div>
2297    
2298    </section>
2299    
2300    <section id="rdfxml-errors">
2301    <h2>RDF/XML Errors</h2>
2302    
2303    <div class="section" id="bad-rdf-namespace"><h3>The namespace URI of an element that
2304      represents an RDF concept must be
2305      <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>.</h3></div>
2306    
2307    <div class="section" id="duplicate-rdf-id"><h3>The specified value is already used as an
2308      ID.</h3></div>
2309    
2310    <div class="section" id="duplicate-unqualified-attr"><h3>Both unqualified attribute and namespace‐qualified
2311      RDF attribute are specified, which is not allowed.</h3></div>
2312    
2313    <div class="section" id="parse-type-other"><h3>An invalid value is specified to
2314      the <code>parseType</code> attribute.</h3></div>
2315    
2316    <div class="section" id="second-node-element"><h3>There is another element, such that
2317      this element is not allowed.</h3></div>
2318    
2319    <div class="section" id="unqualified-attr"><h3>Unqualified attribute is not allowed.</h3></div>
2320    
2321    <div class="section" id="unqualified-rdf-attr"><h3>RDF attribute should be
2322      namespace‐qualified.</h3></div>
2323    
2324  </section>  </section>
2325    
2326  <section id="unsupported-messages">  <section id="unsupported-messages">
2327  <h2><i>Unsupported</i> Messages</h2>  <h2><i>Unsupported</i> Messages</h2>
2328    
2329  <div class="section unsupported" id="unsupported:element"><h3>Conformance checking for element  <div class="section" id="unknown-element"><h3>Conformance checking for element
2330    <code><var>{local-name}</var></code> is not supported; <em>it might or    <code><var>{local-name}</var></code> is not supported; <em>it might or
2331    might not be conforming</em>.</h3>    might not be conforming</em>.</h3>
2332      <p>The conformant checker does not support the element.      <p>The conformant checker does not support the element.
2333      It cannot determine whether the document is conforming or not.</p>      It cannot determine whether the document is conforming or not.</p>
2334    </div>    </div>
2335    
2336  <div class="section unsupported" id="unsupported:attribute"><h3>Conformance checking for attribute  <div class="section" id="unknown-attribute"><h3>Conformance checking for attribute
2337    <code><var>{local-name}</var></code> of element    <code><var>{local-name}</var></code> of element
2338    <code><var>{element-local-name}</var></code> is not supported;    <code><var>{element-local-name}</var></code> is not supported;
2339    <em>it might or might not be conforming</em>.</h3>    <em>it might or might not be conforming</em>.</h3>
# Line 999  Web Document Conformance Checker (BETA)< Line 2341  Web Document Conformance Checker (BETA)<
2341      It cannot determine whether the document is conforming or not.</p>      It cannot determine whether the document is conforming or not.</p>
2342    </div>    </div>
2343    
2344  <div class="section unsupported" id="unsupported:link-type"><h3>Link type <code><var>$0</var></code> is not  <div class="section" id="unknown-link-type"><h3>Link type <code><var>{value}</var></code> is not
2345    standardized or registered at the time of the release of the conformance    standardized or registered at the time of the release of the conformance
2346    checker; <em>it is non-conforming unless it now has been    checker; <em>it is non-conforming unless it now has been
2347    registered</em>.</h3>    registered</em>.</h3>
# Line 1021  Web Document Conformance Checker (BETA)< Line 2363  Web Document Conformance Checker (BETA)<
2363      </dl>      </dl>
2364    </div>    </div>
2365    
2366  <div class="section unsupported" id="unsupported:event-handler"><h3>Conformance checking for event handler attribute  <div class="section" id="event-handler"><h3>Conformance checking for event handler attribute
2367    is not supported; <em>it might or might not be conforming.</em></h3></div>    is not supported; <em>it might or might not be conforming.</em></h3></div>
2368    
2369  <div class="section unsupported" id="unsupported:media-query"><h3>Conformance checking for media query  <div class="section" id="media-query"><h3>Conformance checking for media query
2370    is not supported; <em>it might or might not be conforming.</em></h3></div>    is not supported; <em>it might or might not be conforming.</em></h3></div>
2371    
2372  <div class="section unsupported" id="unsupported:script"><h3>Conformance checking for script  <div class="section" id="addr-spec-not-supported"><h3>Conformance checking for an <code>addr-spec</code>
2373    language <code><var>$0</var></code> is not supported;    is not supported; <em>it might or might not be conforming.</em></h3></div>
2374    
2375    <div class="section" id="XML-script-lang"><h3>Conformance checking for script
2376      language <code><var>{text}</var></code> is not supported;
2377    <em>it might or might not be conforming.</em></h3></div>    <em>it might or might not be conforming.</em></h3></div>
2378    
2379  <div class="section unsupported" id="unsupported:style"><h3>Conformance checking for style  <div class="section" id="XML-style-lang"><h3>Conformance checking for style
2380    language <code><var>$0</var></code> is not supported;    language <code><var>{text}</var></code> is not supported;
2381    <em>it might or might not be conforming.</em></h3></div>    <em>it might or might not be conforming.</em></h3></div>
2382    
2383    <div class="section" id="atom|content-not-supported"><h3>Conformance checking for an Atom
2384      <code>content</code> element with <code>type</code>
2385      <code><var>{text}</var></code> is not supported.</h3></div>
2386    
2387    <div class="section" id="help-not-available"><h3>No more information is available.</h3>
2388        <p>No more information is available for this topic.</p>
2389      </div>
2390    
2391  </section>  </section>
2392    
2393    
2394    
 <section id="levels">  
 <h2>Error Levels</h2>  
2395    
2396  <table id="levels-table">  
2397  <thead>  
2398  <tr><th scope="col">Level</th>  
2399  <th scope="col">Conforming?</th>  
2400  <th scope="col">Description</th>  
2401  </tr>  
2402  </thead>  
2403  <tbody>  
2404  <tr class="level-m" id="level-m">  
2405  <th scope="row"><em class="rfc2119">MUST</em>‐level error</th>  
2406  <td>Non‐conforming.</td>  
2407  <td>A violation to a hard requirement of the specification.  
2408  The document is non‐conforming.</td>  
2409  </tr>  
2410  <tr class="level-s" id="level-s">  
2411  <th scope="row"><em class="rfc2119">SHOULD</em>‐level error</th>  
2412  <td>Non‐conforming, but <em>in some case</em>  
2413  conforming.</td>  
2414  <td>A violation to a requirement of the specification.  
2415  The violation might be legitimize in some case.  Otherwise,  
2416  the document is non‐conforming.</td>  
2417  </tr>  
2418  <tr class="level-w" id="level-w">  
2419  <th scope="row">Warning</th>  
2420  <td>Conforming.</td>  
2421  <td>A warning is an advice from the conformance checker to avoid  
2422  to solve a problem in a confusing or possibly wrong way.  
2423  It does not affect to the conformance of the document, and  
2424  may sometimes be inappropriate.</td>  
2425  </tr>  
2426  <tr class="level-unsupported" id="level-unsupported">  
2427  <th scope="row">Not supported</th>  
2428  <td><em>Unknown</em>.</td>  
2429  <td>Some feature that is not supported by the conformance checker  
2430  is used in the document.</td>  
2431  </tr>  
2432  </tbody>  
2433  </table>  
2434  </section>  
2435    
2436    
2437    
2438    
2439    
2440    
2441    
2442    
2443    
2444    
2445    
2446    
2447    
2448    
2449    
2450    
2451    
2452    
2453    
2454    
2455    
2456    
2457    
2458    
2459    
2460    
2461    
2462    
2463    
2464    
2465    
2466    
2467    
2468    
2469    
2470    
2471    
2472    
2473    
2474    
2475    
2476    
2477    
2478    
2479    
2480    
2481    
2482    
2483    
2484    
2485    
2486    
2487    
2488    
2489    
2490    
2491    
2492    
2493    
2494    
2495    
2496    
2497    
2498    
2499    
2500    
2501    
2502    
2503    
2504    
2505    
2506    
2507    
2508    
2509    
2510    
2511    
2512    
2513    
2514    
2515    
2516    
2517    
2518    
2519    
2520    
2521    
2522    
2523    
2524    
2525    
2526    
2527    
2528    
2529    
2530    
2531    
2532    
2533    
2534    
2535    
2536    
2537    
2538    
2539    
2540    
2541    
2542    
2543    
2544    
2545    
2546    
2547    
2548    
2549    
2550    
2551    
2552    
2553    
2554    
2555    
2556    
2557    
2558    
2559    
2560    
2561    
2562    
2563    
2564    
2565    
2566    
2567    
2568    
2569    
2570    
2571    
2572    
2573    
2574    
2575    
2576    
2577    
2578    
2579    
2580    
2581    
2582    
2583    
2584    
2585    
2586    
2587    
2588    
2589    
2590    
2591    
2592    
2593    
2594    
2595    
2596    
2597    
2598    
2599    
2600    
2601    <div class="section" id="Error-level-m"><h3><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119">MUST</em>‐level
2602            error</a></h3>
2603        <p>A violation to a hard requirement of the specification.
2604        The document is non‐conforming.</p>
2605      </div>
2606    
2607    <div class="section" id="Error-level-s"><h3><a href="../error-description#Error-level-s" rel="help"><em class="rfc2119">SHOULD</em>‐level
2608            error</a></h3>
2609        <p>A violation to a requirement of the specification.
2610        The violation might be legitimize in some case.  Otherwise,
2611        the document is non‐conforming.</p>
2612      </div>
2613    
2614    <div class="section" id="Error-level-w"><h3><a href="../error-description#Error-level-w" rel="help">Warning</a></h3>
2615        <p>A warning is an advice from the conformance checker
2616        to avoid solving a problem in a confusing or possibly wrong way.
2617        It does not affect to the conformance of the document, and
2618        may sometimes be inappropriate.</p>
2619      </div>
2620    
2621    <div class="section" id="Error-level-i"><h3><a href="../error-description#Error-level-i" rel="help">Information</a></h3>
2622        <p>An informational message just provides an additional information
2623        on the feature used in the document or the status of the retrieval
2624        or so on.
2625        It does not affect to the conformance of the document.</p>
2626      </div>
2627    
2628    <div class="section" id="Error-level-u"><h3><a href="../error-description#Error-level-u" rel="help">Not
2629          supported</a></h3>
2630        <p>Some feature that is not supported by the conformance checker
2631        is used in the document.</p>
2632      </div>
2633    
2634  <section id="license">  <section id="license">
2635  <h2>License of This Document</h2>  <h2>License of This Document</h2>
2636    
2637  <p>Copyright <time>2007</time>  <p>Copyright <time>2007</time>‐<time>2008</time>
2638  <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>  <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>
2639  <code class="mail">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</code>.</p>  <code class="mail">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</code>.</p>
2640    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.38

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24