56 |
</p> |
</p> |
57 |
</div> |
</div> |
58 |
|
|
59 |
|
<div class="section tokenize-error" id="bare-stago"><h3>A <code><</code> character is not followed |
60 |
|
by tag name or by a <code>!</code> character.</h3> |
61 |
|
<p>A <code><</code> (<code>U+003C</code> <code class="charname">LESS-THAN |
62 |
|
SIGN</code>) character which is not part of any markup appears |
63 |
|
in the input stream.</p> |
64 |
|
|
65 |
|
<p>The <code><</code> character as a data character must |
66 |
|
be escaped as: |
67 |
|
<pre class="html example"> |
68 |
|
<code><lt;</code></pre> |
69 |
|
</p> |
70 |
|
</div> |
71 |
|
|
72 |
<div class="section tokenize-error" id="bare-nero"><h3>The decimal representation of the code position |
<div class="section tokenize-error" id="bare-nero"><h3>The decimal representation of the code position |
73 |
of a character must be specified after <code>&#</code>.</h3> |
of a character must be specified after <code>&#</code>.</h3> |
74 |
<p>An <code>&</code> (<code>U+0026</code> |
<p>An <code>&</code> (<code>U+0026</code> |
122 |
</p> |
</p> |
123 |
</div> |
</div> |
124 |
|
|
125 |
|
<div class="section tokenize-error" id="dash-in-comment"><h3>There is a <code>--</code> sequence |
126 |
|
in a comment.</h3> |
127 |
|
<p>There is a <code>-</code> (<code>U+002D</code> |
128 |
|
<code class="charname">HYPHEN-MINUS</code>) character |
129 |
|
at the end of the comment or a <code>--</code> sequence |
130 |
|
in the comment. The document is non-conforming.</p> |
131 |
|
|
132 |
|
<p>Comments cannot contain a string <code>--</code>, as in XML. |
133 |
|
Unlike SGML, there cannot be more than one comments |
134 |
|
(where <i>comment</i> is an SGML term) in the comment |
135 |
|
declaration.</p> |
136 |
|
</div> |
137 |
|
|
138 |
<div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with same name.</h3> |
<div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with same name.</h3> |
139 |
<p>There are more than one attributes with the same |
<p>There are more than one attributes with the same |
140 |
name in a tag. The document is non-conforming.</p> |
name in a tag. The document is non-conforming.</p> |
170 |
The document is non-conforming.</p> |
The document is non-conforming.</p> |
171 |
</div> |
</div> |
172 |
|
|
173 |
|
<div class="section parse-error" id="DOCTYPE-in-the-middle"><h3>A <code>DOCTYPE</code> appears after any |
174 |
|
element or data character has been seen.</h3> |
175 |
|
<p>A <code>DOCTYPE</code> appears after any element or data character |
176 |
|
has been seen. The document is non-conforming.</p> |
177 |
|
|
178 |
|
<p>The <code>DOCTYPE</code> must be placed before any |
179 |
|
tag, reference, or data character. Only white space characters |
180 |
|
and comments can be inserted before the <code>DOCTYPE</code>.</p> |
181 |
|
</div> |
182 |
|
|
183 |
|
<div class="section parse-error" id="in-body"><h3>Tag <code><<var>$0</var>></code> |
184 |
|
is not allowed in <code>body</code>.</h3> |
185 |
|
<p>The start or end tag of an element, which |
186 |
|
cannot be a descendant of <code>body</code> element, appears |
187 |
|
in the input stream while the <code>body</code> element has been opened. |
188 |
|
The document is non-conforming.</p> |
189 |
|
</div> |
190 |
|
|
191 |
<div class="section parse-error" id="in-table"><h3>Tag <code><<var>$0</var>></code> |
<div class="section parse-error" id="in-table"><h3>Tag <code><<var>$0</var>></code> |
192 |
is not allowed in <code>table</code>.</h3> |
is not allowed in <code>table</code>.</h3> |
193 |
<p>The start or end tag of an element appears in <code>table</code>. |
<p>The start or end tag of an element, which |
194 |
The document is non-conforming.</p> |
cannot be a child of <code>table</code> element, appears |
195 |
|
in the input stream while the <code>table</code> element has been opened |
196 |
|
but no other element has been opened. The document is non-conforming.</p> |
197 |
|
|
198 |
<p>In <code>table</code>, only table related elements |
<p>In <code>table</code>, only table related elements |
199 |
are allowed; any other element must be contained in |
are allowed; any other element must be contained in |
261 |
</div> |
</div> |
262 |
|
|
263 |
<div class="section parse-error" id="unmatched-end-tag"><h3>Element <code><var>$0</var></code> is not |
<div class="section parse-error" id="unmatched-end-tag"><h3>Element <code><var>$0</var></code> is not |
264 |
opened.</h3></div> |
opened.</h3> |
265 |
|
<p>An end tag appears though no element with the same name |
266 |
|
has been opened. The document is non-conforming.</p> |
267 |
|
|
268 |
|
<p>For any end tag in HTML document, there must be a |
269 |
|
corresponding start tag.</p> |
270 |
|
</div> |
271 |
|
|
272 |
</section> |
</section> |
273 |
|
|
383 |
<p>The <code>xml:lang</code> attribute is not allowed in |
<p>The <code>xml:lang</code> attribute is not allowed in |
384 |
HTML document. The document is non-conforming.</p> |
HTML document. The document is non-conforming.</p> |
385 |
|
|
386 |
<p>The <code>xml:lang</code> attribute in <code>null</code> |
<p>The <code>lang</code> attribute in the <code>null</code> |
387 |
namespace for HTML elements is defined as conforming only for |
namespace for HTML elements is defined as conforming <em>only</em> for |
388 |
XML document.</p> |
XML document.</p> |
389 |
|
|
390 |
<p>To specify natural language information in HTML document, |
<p>To specify natural language information in HTML document, |
412 |
XML document. The document is non-conforming.</p> |
XML document. The document is non-conforming.</p> |
413 |
|
|
414 |
<p>The <code>lang</code> attribute in <code>null</code> |
<p>The <code>lang</code> attribute in <code>null</code> |
415 |
namespace for HTML elements is defined as conforming only for |
namespace for HTML elements is defined as conforming <em>only</em> for |
416 |
HTML document.</p> |
HTML document.</p> |
417 |
|
|
418 |
<p>To specify natural language information in XML document, |
<p>To specify natural language information in XML document, |
440 |
<div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been |
<div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been |
441 |
assigned to another element.</h3></div> |
assigned to another element.</h3></div> |
442 |
|
|
443 |
|
<div class="section attribute-value-error" id="link-type:bad-context"><h3>The link type <code><var>$0</var></code> |
444 |
|
cannot be specified for this element.</h3> |
445 |
|
<p>The specified link type cannot be used for the element. |
446 |
|
The document is non-conforming.</p> |
447 |
|
|
448 |
|
<p>Link types are associated with limited set of elements. |
449 |
|
They cannot be used with other elements.</p> |
450 |
|
|
451 |
|
<p>For example, link type <code>bookmark</code> |
452 |
|
can be used with <code>a</code> or <code>area</code> element, |
453 |
|
while it cannot be used with <code>link</code> element.</p> |
454 |
|
</div> |
455 |
|
|
456 |
|
<div class="section attribute-value-error" id="link-type:non-conforming"><h3>The link type <code><var>$0</var></code> |
457 |
|
is non-conforming.</h3> |
458 |
|
<p>The specified link type is non-conforming. The entire document |
459 |
|
is non-conforming.</p> |
460 |
|
|
461 |
|
<p>For example, in place of non-conforming link type <code>copyright</code> |
462 |
|
you must use link type <code>license</code>.</p> |
463 |
|
</div> |
464 |
|
|
465 |
<div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>This browsing context name is reserved.</h3></div> |
<div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>This browsing context name is reserved.</h3></div> |
466 |
|
|
467 |
</section> |
</section> |
468 |
|
|
469 |
|
<section id="attribute-value-warnings"> |
470 |
|
<h2>Attribute Value Warnings</h2> |
471 |
|
|
472 |
|
<div class="section attribute-value-warning should" id="s:link-type:proposed"><h3>Link type <code><var>$0</var></code> |
473 |
|
is proposed but not accepted yet; it <em>should not</em> be |
474 |
|
used until it has been accepted.</h3> |
475 |
|
<p>The link type is in the <i>proposed</i> status; it |
476 |
|
<em>should not</em> be used until it has been |
477 |
|
accepted.</p> |
478 |
|
|
479 |
|
<p><strong>Warning</strong>: The data served to the |
480 |
|
conforming checker might be out of date; it might have already |
481 |
|
been accepted or rejected, depending on which the document |
482 |
|
might be conforming or non-conforming. See WHATWG Wiki |
483 |
|
for the latest information.</p> |
484 |
|
</div> |
485 |
|
|
486 |
|
</section> |
487 |
|
|
488 |
<section id="table-model-errors"> |
<section id="table-model-errors"> |
489 |
<h2>Table Model Errors</h2> |
<h2>Table Model Errors</h2> |
490 |
|
|
534 |
<div class="section should" id="s:URI::empty-path"><h3>This IRI should explicitly end with |
<div class="section should" id="s:URI::empty-path"><h3>This IRI should explicitly end with |
535 |
<code>/</code>.</h3></div> |
<code>/</code>.</h3></div> |
536 |
|
|
537 |
|
<div class="section should" id="s:URI::lowercase-hexadecimal-digit"><h3>Hexadecimal digit in percent-encoding |
538 |
|
should be in lowercase.</h3> |
539 |
|
<p>Hexadecimal digit in percent-encoding string in the IRI |
540 |
|
is in lowercase. Though the IRI <em>is</em> conforming, |
541 |
|
it should be in uppercase.</p> |
542 |
|
</div> |
543 |
|
|
544 |
|
<div class="section should" id="s:URI::percent-encoded-unreserved"><h3>An unreserved character is |
545 |
|
percent-encoded.</h3> |
546 |
|
<p>An unreserved character is percent-encoded in the IRI. |
547 |
|
Though it <em>is</em> conforming, it should be in the |
548 |
|
decoded (or bare) form.</p> |
549 |
|
</div> |
550 |
|
|
551 |
</section> |
</section> |
552 |
|
|
553 |
<section id="unsupported-messages"> |
<section id="unsupported-messages"> |
565 |
It cannot determine whether the document is conforming or not.</p> |
It cannot determine whether the document is conforming or not.</p> |
566 |
</div> |
</div> |
567 |
|
|
568 |
<div class="section unsupported" id="unsupported:link-type"><h3>The link type <code>$0</code> is not standardized |
<div class="section unsupported" id="unsupported:link-type"><h3>The link type <code><var>$0</var></code> is not |
569 |
or registered at the time of the release of the conformance checker; |
standardized or registered at the time of the release of the conformance |
570 |
<em>it is non-conforming unless it has now been registered</em>.</h3> |
checker; <em>it is non-conforming unless it has now been |
571 |
|
registered</em>.</h3> |
572 |
<p>The <code>rel</code> attribute is defined as a list of link types. |
<p>The <code>rel</code> attribute is defined as a list of link types. |
573 |
Some common link types are defined in the HTML5 specification. |
Some common link types are defined in the HTML5 specification. |
574 |
Additional link types can be registered to the WHATWG Wiki. |
Additional link types can be registered to the WHATWG Wiki. |
581 |
document is non-conforming.</p> |
document is non-conforming.</p> |
582 |
</div> |
</div> |
583 |
|
|
584 |
|
<div class="section unsupported" id="unsupported:event-handler"><h3>Conformance checking for event handler attribute |
585 |
|
is not supported; <em>it might or might not be conforming.</em></h3></div> |
586 |
|
|
587 |
|
<div class="section unsupported" id="unsupported:language-tag"><h3>Conformance checking for language tag |
588 |
|
is not supported; <em>it might or might not be conforming.</em></h3></div> |
589 |
|
|
590 |
|
<div class="section unsupported" id="unsupported:media-query"><h3>Conformance checking for media query |
591 |
|
is not supported; <em>it might or might not be conforming.</em></h3></div> |
592 |
|
|
593 |
|
<div class="section unsupported" id="unsupported:script"><h3>Conformance checking for script |
594 |
|
language <code><var>$0</var></code> is not supported; |
595 |
|
<em>it might or might not be conforming.</em></h3></div> |
596 |
|
|
597 |
|
<div class="section unsupported" id="unsupported:style"><h3>Conformance checking for style |
598 |
|
language <code><var>$0</var></code> is not supported; |
599 |
|
<em>it might or might not be conforming.</em></h3></div> |
600 |
|
|
601 |
</section> |
</section> |
602 |
|
|
603 |
|
|