63 |
</d:desc> |
</d:desc> |
64 |
</d:item> |
</d:item> |
65 |
|
|
66 |
|
<d:item name="bare stago" |
67 |
|
class="tokenize-error"> |
68 |
|
<d:message xml:lang="en">A <code><</code> character is not followed |
69 |
|
by tag name or by a <code>!</code> character.</d:message> |
70 |
|
<d:desc xml:lang="en"> |
71 |
|
<p>A <code><</code> (<code>U+003C</code> <code class="charname">LESS-THAN |
72 |
|
SIGN</code>) character which is not part of any markup appears |
73 |
|
in the input stream.</p> |
74 |
|
|
75 |
|
<p>The <code><</code> character as a data character must |
76 |
|
be escaped as: |
77 |
|
<pre class="html example"><code><lt;</code></pre> |
78 |
|
</p> |
79 |
|
</d:desc> |
80 |
|
</d:item> |
81 |
|
|
82 |
<d:item name="bare nero" |
<d:item name="bare nero" |
83 |
class="tokenize-error"> |
class="tokenize-error"> |
84 |
<d:message xml:lang="en">The decimal representation of the code position |
<d:message xml:lang="en">The decimal representation of the code position |
135 |
</d:desc> |
</d:desc> |
136 |
</d:item> |
</d:item> |
137 |
|
|
138 |
|
<d:item name="dash in comment" |
139 |
|
class="tokenize-error"> |
140 |
|
<d:message xml:lang="en">There is a <code>--</code> sequence |
141 |
|
in a comment.</d:message> |
142 |
|
<d:desc xml:lang="en"> |
143 |
|
<p>There is a <code>-</code> (<code>U+002D</code> |
144 |
|
<code class="charname">HYPHEN-MINUS</code>) character |
145 |
|
at the end of the comment or a <code>--</code> sequence |
146 |
|
in the comment. The document is non-conforming.</p> |
147 |
|
|
148 |
|
<p>Comments cannot contain a string <code>--</code>, as in XML. |
149 |
|
Unlike SGML, there cannot be more than one comments |
150 |
|
(where <i>comment</i> is an SGML term) in the comment |
151 |
|
declaration.</p> |
152 |
|
</d:desc> |
153 |
|
</d:item> |
154 |
|
|
155 |
<d:item name="duplicate attribute" |
<d:item name="duplicate attribute" |
156 |
class="tokenize-error"> |
class="tokenize-error"> |
157 |
<d:message xml:lang="en">There are two attributes with same name.</d:message> |
<d:message xml:lang="en">There are two attributes with same name.</d:message> |
199 |
</d:desc> |
</d:desc> |
200 |
</d:item> |
</d:item> |
201 |
|
|
202 |
|
<d:item name="DOCTYPE in the middle" |
203 |
|
class="parse-error"> |
204 |
|
<d:message xml:lang="en">A <code>DOCTYPE</code> appears after any |
205 |
|
element or data character has been seen.</d:message> |
206 |
|
<d:desc xml:lang="en"> |
207 |
|
<p>A <code>DOCTYPE</code> appears after any element or data character |
208 |
|
has been seen. The document is non-conforming.</p> |
209 |
|
|
210 |
|
<p>The <code>DOCTYPE</code> must be placed before any |
211 |
|
tag, reference, or data character. Only white space characters |
212 |
|
and comments can be inserted before the <code>DOCTYPE</code>.</p> |
213 |
|
</d:desc> |
214 |
|
</d:item> |
215 |
|
|
216 |
|
<d:item name="in body" |
217 |
|
class="parse-error"> |
218 |
|
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
219 |
|
is not allowed in <code>body</code>.</d:message> |
220 |
|
<d:desc xml:lang="en"> |
221 |
|
<p>The start or end tag of an element, which |
222 |
|
cannot be a descendant of <code>body</code> element, appears |
223 |
|
in the input stream while the <code>body</code> element has been opened. |
224 |
|
The document is non-conforming.</p> |
225 |
|
</d:desc> |
226 |
|
</d:item> |
227 |
|
|
228 |
<d:item name="in table" |
<d:item name="in table" |
229 |
class="parse-error"> |
class="parse-error"> |
230 |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
231 |
is not allowed in <code>table</code>.</d:message> |
is not allowed in <code>table</code>.</d:message> |
232 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
233 |
<p>The start or end tag of an element appears in <code>table</code>. |
<p>The start or end tag of an element, which |
234 |
The document is non-conforming.</p> |
cannot be a child of <code>table</code> element, appears |
235 |
|
in the input stream while the <code>table</code> element has been opened |
236 |
|
but no other element has been opened. The document is non-conforming.</p> |
237 |
|
|
238 |
<p>In <code>table</code>, only table related elements |
<p>In <code>table</code>, only table related elements |
239 |
are allowed; any other element must be contained in |
are allowed; any other element must be contained in |
324 |
class="parse-error"> |
class="parse-error"> |
325 |
<d:message xml:lang="en">Element <code><var>$0</var></code> is not |
<d:message xml:lang="en">Element <code><var>$0</var></code> is not |
326 |
opened.</d:message> |
opened.</d:message> |
327 |
|
<d:desc> |
328 |
|
<p>An end tag appears though no element with the same name |
329 |
|
has been opened. The document is non-conforming.</p> |
330 |
|
|
331 |
|
<p>For any end tag in HTML document, there must be a |
332 |
|
corresponding start tag.</p> |
333 |
|
</d:desc> |
334 |
</d:item> |
</d:item> |
335 |
|
|
336 |
</section> |
</section> |
470 |
<p>The <code>xml:lang</code> attribute is not allowed in |
<p>The <code>xml:lang</code> attribute is not allowed in |
471 |
HTML document. The document is non-conforming.</p> |
HTML document. The document is non-conforming.</p> |
472 |
|
|
473 |
<p>The <code>xml:lang</code> attribute in <code>null</code> |
<p>The <code>lang</code> attribute in the <code>null</code> |
474 |
namespace for HTML elements is defined as conforming only for |
namespace for HTML elements is defined as conforming <em>only</em> for |
475 |
XML document.</p> |
XML document.</p> |
476 |
|
|
477 |
<p>To specify natural language information in HTML document, |
<p>To specify natural language information in HTML document, |
506 |
XML document. The document is non-conforming.</p> |
XML document. The document is non-conforming.</p> |
507 |
|
|
508 |
<p>The <code>lang</code> attribute in <code>null</code> |
<p>The <code>lang</code> attribute in <code>null</code> |
509 |
namespace for HTML elements is defined as conforming only for |
namespace for HTML elements is defined as conforming <em>only</em> for |
510 |
HTML document.</p> |
HTML document.</p> |
511 |
|
|
512 |
<p>To specify natural language information in XML document, |
<p>To specify natural language information in XML document, |
546 |
<!-- @@ <id=a xml:id=a>? --> |
<!-- @@ <id=a xml:id=a>? --> |
547 |
</d:item> |
</d:item> |
548 |
|
|
549 |
|
<d:item name="link type:bad-context" |
550 |
|
class="attribute-value-error"> |
551 |
|
<d:message xml:lang="en">The link type <code><var>$0</var></code> |
552 |
|
cannot be specified for this element.</d:message> |
553 |
|
<d:desc xml:lang="en"> |
554 |
|
<p>The specified link type cannot be used for the element. |
555 |
|
The document is non-conforming.</p> |
556 |
|
|
557 |
|
<p>Link types are associated with limited set of elements. |
558 |
|
They cannot be used with other elements.</p> |
559 |
|
|
560 |
|
<p>For example, link type <code>bookmark</code> |
561 |
|
can be used with <code>a</code> or <code>area</code> element, |
562 |
|
while it cannot be used with <code>link</code> element.</p> |
563 |
|
</d:desc> |
564 |
|
</d:item> |
565 |
|
|
566 |
|
<d:item name="link type:non-conforming" |
567 |
|
class="attribute-value-error"> |
568 |
|
<d:message xml:lang="en">The link type <code><var>$0</var></code> |
569 |
|
is non-conforming.</d:message> |
570 |
|
<d:desc xml:lang="en"> |
571 |
|
<p>The specified link type is non-conforming. The entire document |
572 |
|
is non-conforming.</p> |
573 |
|
|
574 |
|
<p>For example, in place of non-conforming link type <code>copyright</code> |
575 |
|
you must use link type <code>license</code>.</p> |
576 |
|
</d:desc> |
577 |
|
</d:item> |
578 |
|
|
579 |
<d:item name="reserved browsing context name" |
<d:item name="reserved browsing context name" |
580 |
class="attribute-value-error"> |
class="attribute-value-error"> |
581 |
<d:message xml:lang="en">This browsing context name is reserved.</d:message> |
<d:message xml:lang="en">This browsing context name is reserved.</d:message> |
597 |
|
|
598 |
</section> |
</section> |
599 |
|
|
600 |
|
<section id="attribute-value-warnings"> |
601 |
|
<h2>Attribute Value Warnings</h2> |
602 |
|
|
603 |
|
<d:item name="link type:proposed" level="s" |
604 |
|
class="attribute-value-warning should"> |
605 |
|
<d:message xml:lang="en">Link type <code><var>$0</var></code> |
606 |
|
is proposed but not accepted yet; it <em>should not</em> be |
607 |
|
used until it has been accepted.</d:message> |
608 |
|
<d:desc> |
609 |
|
<p>The link type is in the <i>proposed</i> status; it |
610 |
|
<em>should not</em> be used until it has been |
611 |
|
accepted.</p> |
612 |
|
|
613 |
|
<p><strong>Warning</strong>: The data served to the |
614 |
|
conforming checker might be out of date; it might have already |
615 |
|
been accepted or rejected, depending on which the document |
616 |
|
might be conforming or non-conforming. See WHATWG Wiki |
617 |
|
for the latest information.</p> |
618 |
|
</d:desc> |
619 |
|
</d:item> |
620 |
|
|
621 |
|
</section> |
622 |
|
|
623 |
<section id="table-model-errors"> |
<section id="table-model-errors"> |
624 |
<h2>Table Model Errors</h2> |
<h2>Table Model Errors</h2> |
625 |
|
|
695 |
<code>/</code>.</d:message> |
<code>/</code>.</d:message> |
696 |
</d:item> |
</d:item> |
697 |
|
|
698 |
|
<d:item name="URI::lowercase hexadecimal digit" |
699 |
|
class="should" level="s"> |
700 |
|
<d:message xml:lang="en">Hexadecimal digit in percent-encoding |
701 |
|
should be in lowercase.</d:message> |
702 |
|
<d:desc xml:lang="en"> |
703 |
|
<p>The hexadecimal digit in percent-encoding string in the IRI |
704 |
|
is in lowercase. Though the IRI <em>is</em> conforming, |
705 |
|
it should be in uppercase.</p> |
706 |
|
</d:desc> |
707 |
|
</d:item> |
708 |
|
|
709 |
|
<d:item name="URI::percent-encoded unreserved" |
710 |
|
class="should" level="s"> |
711 |
|
<d:message xml:lang="en">An unreserved character is |
712 |
|
percent-encoded.</d:message> |
713 |
|
<d:desc xml:lang="en"> |
714 |
|
<p>An unreserved character is percent-encoded in the IRI. |
715 |
|
Though it <em>is</em> conforming, it should be in the |
716 |
|
decoded (or bare) form.</p> |
717 |
|
</d:desc> |
718 |
|
</d:item> |
719 |
|
|
720 |
</section> |
</section> |
721 |
|
|
722 |
<section id="unsupported-messages"> |
<section id="unsupported-messages"> |
744 |
|
|
745 |
<d:item name="link type" |
<d:item name="link type" |
746 |
class="unsupported" level="unsupported"> |
class="unsupported" level="unsupported"> |
747 |
<d:message xml:lang="en">The link type <code>$0</code> is not standardized |
<d:message xml:lang="en">The link type <code><var>$0</var></code> is not |
748 |
or registered at the time of the release of the conformance checker; |
standardized or registered at the time of the release of the conformance |
749 |
<em>it is non-conforming unless it has now been registered</em>.</d:message> |
checker; <em>it is non-conforming unless it has now been |
750 |
|
registered</em>.</d:message> |
751 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
752 |
<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. |
753 |
Some common link types are defined in the HTML5 specification. |
Some common link types are defined in the HTML5 specification. |
762 |
</d:desc> |
</d:desc> |
763 |
</d:item> |
</d:item> |
764 |
|
|
765 |
|
<d:item name="event handler" |
766 |
|
class="unsupported" level="unsupported"> |
767 |
|
<d:message xml:lang="en">Conformance checking for event handler attribute |
768 |
|
is not supported; <em>it might or might not be conforming.</em></d:message> |
769 |
|
</d:item> |
770 |
|
|
771 |
|
<d:item name="language tag" |
772 |
|
class="unsupported" level="unsupported"> |
773 |
|
<d:message xml:lang="en">Conformance checking for language tag |
774 |
|
is not supported; <em>it might or might not be conforming.</em></d:message> |
775 |
|
</d:item> |
776 |
|
|
777 |
|
<d:item name="media query" |
778 |
|
class="unsupported" level="unsupported"> |
779 |
|
<d:message xml:lang="en">Conformance checking for media query |
780 |
|
is not supported; <em>it might or might not be conforming.</em></d:message> |
781 |
|
</d:item> |
782 |
|
|
783 |
|
<d:item name="script" |
784 |
|
class="unsupported" level="unsupported"> |
785 |
|
<d:message xml:lang="en">Conformance checking for script |
786 |
|
language <code><var>$0</var></code> is not supported; |
787 |
|
<em>it might or might not be conforming.</em></d:message> |
788 |
|
</d:item> |
789 |
|
|
790 |
|
<d:item name="style" |
791 |
|
class="unsupported" level="unsupported"> |
792 |
|
<d:message xml:lang="en">Conformance checking for style |
793 |
|
language <code><var>$0</var></code> is not supported; |
794 |
|
<em>it might or might not be conforming.</em></d:message> |
795 |
|
</d:item> |
796 |
|
|
797 |
</section> |
</section> |
798 |
|
|
799 |
<d:catalog> |
<d:catalog> |