| 48 |
<d:message xml:lang="en">The <code>&</code> character must |
<d:message xml:lang="en">The <code>&</code> character must |
| 49 |
introduce a reference.</d:message> |
introduce a reference.</d:message> |
| 50 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 51 |
<p>An <code>&</code> (<code>U+0026</code> |
<p>An <code>&</code> character which |
|
<code class="charname">AMPERSAND</code>) character which |
|
| 52 |
is not part of any reference appears in the input stream. |
is not part of any reference appears in the input stream. |
| 53 |
The document is non-conforming.</p> |
The document is non‐conforming.</p> |
| 54 |
|
|
| 55 |
<p><strong>Any <code>&</code> character in URI (or IRI) |
<p><em>Any <code>&</code> character in URI (or IRI) |
| 56 |
must be escaped as <code>&amp;</code>.</strong></p> |
must be escaped as <code class="example">&amp;</code>.</em></p> |
| 57 |
|
|
| 58 |
<p>The <code>&</code> character must |
<p>The <code>&</code> character must |
| 59 |
be the first character of a reference: |
be the first character of a reference: |
| 60 |
<dl> |
<dl class="switch"> |
| 61 |
<dt>Named entity reference</dt> |
<dt>Named entity reference</dt> |
| 62 |
<dd><pre class="html example"><code>&<var>entity-name</var>;</code></pre> |
<dd><pre class="html example"><code>&<var>entity-name</var>;</code></pre> |
| 63 |
where <var>entity-name</var> is the name of the |
where <var>entity-name</var> is the name of the |
| 133 |
|
|
| 134 |
<p>The string <code>&#</code> must be the first two characters |
<p>The string <code>&#</code> must be the first two characters |
| 135 |
of a reference: |
of a reference: |
| 136 |
<dl> |
<dl class="switch"> |
| 137 |
<dt>Numeric character reference</dt> |
<dt>Numeric character reference</dt> |
| 138 |
<dd><pre class="html example"><code>&#<var>d</var>;</code></pre> |
<dd><pre class="html example"><code>&#<var>d</var>;</code></pre> |
| 139 |
where <var>d</var> is the decimal representation of |
where <var>d</var> is the decimal representation of |
| 188 |
|
|
| 189 |
<dl class="switch"> |
<dl class="switch"> |
| 190 |
<dt>Comments</dt> |
<dt>Comments</dt> |
| 191 |
<dd>In HTML documents, comments must be introduced by |
<dd>In HTML document, comments must be introduced by |
| 192 |
<code><!--</code> (<code><!</code> <em>immediately</em> followed |
<code class="example"><!--</code> (<code><!</code> |
| 193 |
|
<em>immediately</em> followed |
| 194 |
by <em>two</em> <code>-</code>s) and must be terminated by |
by <em>two</em> <code>-</code>s) and must be terminated by |
| 195 |
<code>--></code>. Strings <code><!</code> not followed |
<code class="example">--></code>. |
| 196 |
|
Strings <code><!</code> not followed |
| 197 |
by <code>--</code> and <code><!-</code> not followed by |
by <code>--</code> and <code><!-</code> not followed by |
| 198 |
<code>-</code> are not valid open delimiters for comments.</dd> |
<code>-</code> are not valid open delimiters for comments.</dd> |
| 199 |
<dt>Marked sections, including <code>CDATA</code> sections</dt> |
<dt>Marked sections, including <code>CDATA</code> sections</dt> |
| 200 |
<dd>Marked sections are not allowed in HTML documents.</dd> |
<dd>Marked sections are not allowed in HTML document.</dd> |
| 201 |
<dt>Markup declarations</dt> |
<dt>Markup declarations</dt> |
| 202 |
<dd>Markup declarations, except <code>DOCTYPE</code> |
<dd>Markup declarations, except for <code>DOCTYPE</code> |
| 203 |
and comment declarations, are not allowed in HTML documents.</dd> |
and comment declarations, are not allowed in HTML document.</dd> |
| 204 |
<dt>String <code><!</code></dt> |
<dt>String <code><!</code></dt> |
| 205 |
<dd>String <code><!</code> must be escaped as |
<dd>String <code><!</code> must be escaped as |
| 206 |
<code>&lt;!</code>.</dd> |
<code class="example">&lt;!</code>.</dd> |
| 207 |
</dl> |
</dl> |
| 208 |
</d:desc> |
</d:desc> |
| 209 |
</d:item> |
</d:item> |
| 262 |
|
|
| 263 |
<d:item name="nestc" |
<d:item name="nestc" |
| 264 |
class="tokenize-error"> |
class="tokenize-error"> |
| 265 |
<d:message xml:lang="en">Void element syntax (<code>/></code>) cannot be |
<d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be |
| 266 |
used for this element.</d:message> |
used for this element.</d:message> |
| 267 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 268 |
<p>Void element syntax (<code>/></code>) must not be used |
<p>Polytheistic slash (<code>/></code>) must not be used |
| 269 |
for the element. The document is non-conforming.</p> |
for the element. The document is non-conforming.</p> |
| 270 |
|
|
| 271 |
<p>The void element syntax can only be |
<p>The polytheistic slash can only be |
| 272 |
used for <code>base</code>, <code>link</code>, <code>meta</code>, |
used for <code>base</code>, <code>link</code>, <code>meta</code>, |
| 273 |
<code>hr</code>, <code>br</code>, <code>img</code>, |
<code>hr</code>, <code>br</code>, <code>img</code>, |
| 274 |
<code>embed</code>, <code>param</code>, <code>area</code>, |
<code>embed</code>, <code>param</code>, <code>area</code>, |
| 275 |
<code>col</code>, and <code>input</code> elements.</p> |
<code>col</code>, and <code>input</code> elements.</p> |
| 276 |
|
|
| 277 |
<dl> |
<dl class="switch"> |
| 278 |
<dt><code><script/></code></dt> |
<dt><code><script/></code></dt> |
| 279 |
<dd><p>The void element syntax cannot be used for <code>script</code> |
<dd><p>The polytheistic slash cannot be used for <code>script</code> |
| 280 |
element. Even for an empty <code>script</code> element, |
element. Even for an empty <code>script</code> element, |
| 281 |
there must be an explicit end tag <code></script></code>.</p> |
there must be an explicit end tag |
| 282 |
|
<code class="html example"></script></code>.</p> |
| 283 |
|
|
| 284 |
<p><strong>NOTE</strong>: Though some user agents interpret |
<p><strong>NOTE</strong>: Though some user agents interpret |
| 285 |
void element syntax for <code>script</code> element as the |
polytheistic slash for <code>script</code> element as the |
| 286 |
closing of the element, such usage is not allowed under |
closing of the element, such usage is not allowed under |
| 287 |
the current standard.</p></dd> |
the current standard.</p></dd> |
| 288 |
<dt><code><basefont/></code>, <code><bgsound/></code>, |
<dt><code><basefont/></code>, <code><bgsound/></code>, |
| 291 |
<dd>These elements are themselves non-conforming.</dd> |
<dd>These elements are themselves non-conforming.</dd> |
| 292 |
<!-- isindex, image --> |
<!-- isindex, image --> |
| 293 |
<dt><code><command/></code>, <code><event-source/></code>, |
<dt><code><command/></code>, <code><event-source/></code>, |
| 294 |
<code><source/></code></dt> |
<code><nest/></code>, or <code><source/></code></dt> |
| 295 |
<dd>Future revision of HTML5 parsing algorithm is expected |
<dd>Future revision of HTML5 parsing algorithm is expected |
| 296 |
to allow void element syntax for these elements.</dd> |
to allow polytheistic slash for these elements.</dd> |
| 297 |
<dt><code><a/></code>, <code><p/></code></dt> |
<dt><code><a/></code>, <code><p/></code></dt> |
| 298 |
<dd>These elements are not always empty and therefore |
<dd>These elements are not always empty and therefore |
| 299 |
void element syntax is not allowed.</dd> |
polytheistic slash is not allowed. Use explicit end tag |
| 300 |
|
to represent empty element as: |
| 301 |
|
<pre class="example html"><code><p></p></code></pre> |
| 302 |
|
</dd> |
| 303 |
</dl> |
</dl> |
| 304 |
|
|
| 305 |
<p>Note that, unlike in XML, the void element syntax has |
<p>Note that, unlike in XML, the polytheistic slash has |
| 306 |
no effect in HTML.</p> |
no effect in HTML.</p> |
| 307 |
</d:desc> |
</d:desc> |
| 308 |
</d:item> |
</d:item> |
| 319 |
(<code><?xml-stylesheet <var>...</var>?></code>), are not allowed |
(<code><?xml-stylesheet <var>...</var>?></code>), are not allowed |
| 320 |
in the HTML syntax. The document is non-conforming.</p> |
in the HTML syntax. The document is non-conforming.</p> |
| 321 |
|
|
| 322 |
<dl> |
<dl class="switch"> |
| 323 |
|
<dt><code><?xbl?></code> (<abbr>XBL</abbr> Association)</dt> |
| 324 |
|
<dd>An <abbr>XBL</abbr> binding cannot be associated by |
| 325 |
|
<abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr> |
| 326 |
|
document. Use <code>binding</code> property in <abbr>CSS</abbr> |
| 327 |
|
style sheet as: |
| 328 |
|
<pre class="html example"><code><style> |
| 329 |
|
p { |
| 330 |
|
binding: url(binding.xbl); |
| 331 |
|
} |
| 332 |
|
</style></code></pre> |
| 333 |
|
</dd> |
| 334 |
<dt><code><?xml?></code> (XML declaration)</dt> |
<dt><code><?xml?></code> (XML declaration)</dt> |
| 335 |
<dd>XML declaration is unnecessary for HTML documents.</dd> |
<dd>XML declaration is unnecessary for HTML documents.</dd> |
| 336 |
<dt><code><?xml-stylesheet?></code> (XML style sheet |
<dt><code><?xml-stylesheet?></code> (XML style sheet |
| 337 |
<abbr title="processing instruction">PI</abbr></dt> |
<abbr title="processing instruction">PI</abbr>)</dt> |
| 338 |
<dd>Use HTML <code>link</code> element with <code>rel</code> |
<dd>Use HTML <code>link</code> element with <code>rel</code> |
| 339 |
attribute set to <code>stylesheet</code> (or, |
attribute set to <code>stylesheet</code> (or, |
| 340 |
<code>alternate stylesheet</code> for an alternate style |
<code>alternate stylesheet</code> for an alternate style |
| 341 |
sheet).</dd> |
sheet). |
| 342 |
<dt><code><?php?></code> (PHP code)</dt> |
<pre class="example html"><code><link rel=stylesheet href="path/to/stylesheet.css"></code></pre> |
| 343 |
|
</dd> |
| 344 |
|
<dt><code><?php?></code> or |
| 345 |
|
<code><? <var>... <abbr>PHP</abbr> code ...</var> ?></code> |
| 346 |
|
(<abbr>PHP</abbr> code)</dt> |
| 347 |
<dd>The conformance checker does <em>not</em> support |
<dd>The conformance checker does <em>not</em> support |
| 348 |
checking for PHP source documents.</dd> |
checking for PHP source documents.</dd> |
| 349 |
<dt>Other processing instructions</dt> |
<dt>Other processing instructions</dt> |
| 490 |
</p> |
</p> |
| 491 |
|
|
| 492 |
<p>Only white space characters and comments are allowed |
<p>Only white space characters and comments are allowed |
| 493 |
before the <code>DOCTYPE</code>.</p> |
before the <code>DOCTYPE</code>. XML declaration is <em>not</em> |
| 494 |
|
allowed in HTML document.</p> |
| 495 |
</d:desc> |
</d:desc> |
| 496 |
</d:item> |
</d:item> |
| 497 |
|
|
| 503 |
<p>End tag of an element is not found before, for example, |
<p>End tag of an element is not found before, for example, |
| 504 |
an end tag of another element appears or |
an end tag of another element appears or |
| 505 |
the end of the document. The document is non-conforming.</p> |
the end of the document. The document is non-conforming.</p> |
| 506 |
|
|
| 507 |
|
<p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>, |
| 508 |
|
<code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>, |
| 509 |
|
<code>ol</code>, <code>option</code>, <code>optgroup</code>, |
| 510 |
|
<code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>, |
| 511 |
|
<code>tbody</code>, <code>td</code>, <code>tfoot</code>, |
| 512 |
|
<code>th</code>, <code>thead</code>, <code>tr</code>, |
| 513 |
|
<code>ul</code> end tag can be omitted in HTML documents. |
| 514 |
|
For any element except for void element, there must be an explicit |
| 515 |
|
end tag.</p> |
| 516 |
|
|
| 517 |
|
<dl class="switch"> |
| 518 |
|
<dt>HTML <code>canvas</code> element</dt> |
| 519 |
|
<dd>Though the element is void in earlier versions of Safari, |
| 520 |
|
the <code>canvas</code> element is <em>no</em> longer |
| 521 |
|
defined as empty. There must be an end tag |
| 522 |
|
<code class="html example"></canvas></code>.</dd> |
| 523 |
|
</dl> |
| 524 |
|
|
| 525 |
|
<p>Note that misnesting tags, such as |
| 526 |
|
<code class="bad example"><a><b></a></b></code>, are not |
| 527 |
|
allowed and they also cause this error.</p> |
| 528 |
</d:desc> |
</d:desc> |
| 529 |
</d:item> |
</d:item> |
| 530 |
|
|
| 553 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 554 |
<p>The document contains a <code>DOCTYPE</code> declaration |
<p>The document contains a <code>DOCTYPE</code> declaration |
| 555 |
that is different from HTML5 <code>DOCTYPE</code> (i.e. |
that is different from HTML5 <code>DOCTYPE</code> (i.e. |
| 556 |
<code><!DOCTYPE HTML></code>). The document is non-conforming.</p> |
<code class="example html"><!DOCTYPE HTML></code>). |
| 557 |
|
The document is non‐conforming.</p> |
| 558 |
|
|
| 559 |
<p>The document might or might not be conformant to |
<p>The document might or might not be conformant to |
| 560 |
some version of HTML. However, conformance to any HTML |
some version of HTML. However, conformance to any HTML |
| 574 |
|
|
| 575 |
<p>For any end tag in HTML document, there must be a |
<p>For any end tag in HTML document, there must be a |
| 576 |
corresponding start tag.</p> |
corresponding start tag.</p> |
| 577 |
|
|
| 578 |
|
<dl class="switch"> |
| 579 |
|
<dt>HTML <code>base</code>, <code>basefont</code>, |
| 580 |
|
<code>bgsound</code>, <code>br</code>, <code>col</code>, |
| 581 |
|
<code>embed</code>, <code>frame</code>, <code>hr</code>, |
| 582 |
|
<code>image</code>, <code>img</code>, <code>input</code>, |
| 583 |
|
<code>isindex</code>, <code>link</code>, <code>meta</code>, |
| 584 |
|
<code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt> |
| 585 |
|
<dd>End tag is not allowed for these elements, since |
| 586 |
|
those content must always be empty. Remove end tag.</dd> |
| 587 |
|
<!-- keygen --> |
| 588 |
|
<!-- command, event-source, nest, source --> |
| 589 |
|
</dl> |
| 590 |
</d:desc> |
</d:desc> |
| 591 |
</d:item> |
</d:item> |
| 592 |
|
|
| 631 |
must contain a <code><var>$0</var></code> child element. |
must contain a <code><var>$0</var></code> child element. |
| 632 |
The document is non-conforming.</p> |
The document is non-conforming.</p> |
| 633 |
|
|
| 634 |
<p>For example: |
<dl class="switch"> |
| 635 |
<ul> |
<dt>HTML <code>head</code> element</dt> |
| 636 |
<li>The <code>head</code> element must contain exactly one |
<dd>There must be a <code>title</code> child element.</dd> |
| 637 |
<code>title</code> child element.</li> |
<dt>HTML <code>html</code> element</dt> |
| 638 |
<li><a href="#child-element-missing:td%7Cth">The <code>tr</code> |
<dd>There must be a <code>head</code> child element followed |
| 639 |
element must contain one or more <code>td</code> or <code>th</code> |
by a <code>body</code> element.</dd> |
| 640 |
child element.</a></li> |
<dt>HTML <code>tr</code> element</dt> |
| 641 |
</ul> |
<dd><a href="#child-element-missing:td%7Cth">There must be |
| 642 |
</p> |
one or more <code>td</code> or <code>th</code> child element.</a></dd> |
| 643 |
|
</dl> |
| 644 |
</d:desc> |
</d:desc> |
| 645 |
</d:item> |
</d:item> |
| 646 |
|
|
| 686 |
block-level content, any inline-level content must be |
block-level content, any inline-level content must be |
| 687 |
put in e.g. paragraph element such as <code>p</code>.</p> |
put in e.g. paragraph element such as <code>p</code>.</p> |
| 688 |
<p>For example, an HTML document fragment |
<p>For example, an HTML document fragment |
| 689 |
<code class="bad example"><div><p>Hello!</p> World!</div></code> |
<code class="html bad example"><div><p>Hello!</p> World!</div></code> |
| 690 |
is non-conforming, since a word <q>World!</q> does not belong |
is non-conforming, since a word <q>World!</q> does not belong |
| 691 |
to any paragraph. (If not part of any paragraph, what is |
to any paragraph. (If not part of any paragraph, what is |
| 692 |
it!?) A conforming example would be: |
it!?) A conforming example would be: |
| 693 |
<pre class="example"><code><div><p>Hello!</p> <p>World!</p></div></code></pre> |
<pre class="html example"><code><div><p>Hello!</p> <p>World!</p></div></code></pre> |
| 694 |
</p></dd> |
</p></dd> |
| 695 |
<dt>If the parent element does <em>not</em> allow |
<dt>If the parent element does <em>not</em> allow |
| 696 |
block-level elements as content</dt> |
block-level elements as content</dt> |
| 704 |
and in the <code>head</code> element. |
and in the <code>head</code> element. |
| 705 |
It cannot be used in e.g. <code>ul</code>, <code>table</code>, |
It cannot be used in e.g. <code>ul</code>, <code>table</code>, |
| 706 |
or <code>select</code>.</dd> |
or <code>select</code>.</dd> |
|
<dt>If the element with the error is the <code>html</code> element |
|
|
that is the root element of an XHTML document</dt> |
|
|
<dd><p>In an XHTML document, the root <code>html</code> |
|
|
element must have an <code>xmlns</code> attribute |
|
|
whose value is set to |
|
|
<code>http://www.w3.org/1999/xhtml</code>.</p></dd> |
|
| 707 |
<dt>If the element with the error is <code>blink</code>, |
<dt>If the element with the error is <code>blink</code>, |
| 708 |
<code>center</code>, or <code>marquee</code> element</dt> |
<code>center</code>, or <code>marquee</code> element</dt> |
| 709 |
<dd>These elements are not part of the HTML standard. |
<dd>These elements are not part of the HTML standard. |
| 710 |
Use CSS for styling control.</dd> |
Use CSS for styling control.</dd> |
| 711 |
|
|
| 712 |
<dt><code>button</code>, <code>datalist</code>, <code>form</code>, |
<dt><code>button</code>, <code>datalist</code>, |
| 713 |
|
<code>fieldset</code>, <code>form</code>, |
| 714 |
<code>input</code>, <code>label</code>, |
<code>input</code>, <code>label</code>, |
| 715 |
<code>optgroup</code>, <code>option</code>, <code>output</code>, |
<code>optgroup</code>, <code>option</code>, <code>output</code>, |
| 716 |
<code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>, |
<code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>, |
| 723 |
</d:desc> |
</d:desc> |
| 724 |
</d:item> |
</d:item> |
| 725 |
|
|
| 726 |
|
<d:item name="element not allowed:root" |
| 727 |
|
class="content-model-error"> |
| 728 |
|
<d:message xml:lang="en">This element is not allowed as a root |
| 729 |
|
element.</d:message> |
| 730 |
|
<d:desc xml:lang="en"> |
| 731 |
|
<p>An element that is not allowed as the root element |
| 732 |
|
is used as the root element of the document. The document is |
| 733 |
|
non-conforming, as far as the conformance checker can tell.</p> |
| 734 |
|
|
| 735 |
|
<dl class="switch"> |
| 736 |
|
<dt><code>html</code> element in an XHTML document</dt> |
| 737 |
|
<dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code> |
| 738 |
|
element must have an <code>xmlns</code> attribute as: |
| 739 |
|
<pre class="xml example"><code><html xmlns="http://www.w3.org/1999/xhtml"></code></pre></p></dd> |
| 740 |
|
<dt><code>rss</code> element</dt> |
| 741 |
|
<dd><p>The document is written in some version of RSS.</p> |
| 742 |
|
<p>The conformance checker does not support any version |
| 743 |
|
of RSS. Use Atom 1.0 for feed documents.</p></dd> |
| 744 |
|
<dt><code>feed</code> element</dt> |
| 745 |
|
<dd><p>The Atom <code>feed</code> element must be |
| 746 |
|
in the <code>http://www.w3.org/2005/Atom</code> |
| 747 |
|
namespace as: |
| 748 |
|
<pre class="xml example"><code><feed xmlns="http://www.w3.org/2005/Atom"></code></pre> |
| 749 |
|
</p> |
| 750 |
|
<p>The conformance checker does not support Atom 0.3. |
| 751 |
|
Use Atom 1.0 for feed documents.</p></dd> |
| 752 |
|
</dl> |
| 753 |
|
</d:desc> |
| 754 |
|
</d:item> |
| 755 |
|
|
| 756 |
<d:item name="ps element missing" |
<d:item name="ps element missing" |
| 757 |
class="content-model-error"> |
class="content-model-error"> |
| 758 |
<d:message xml:lang="en">There is no <code><var>$0</var></code> |
<d:message xml:lang="en">There is no <code><var>$0</var></code> |
| 901 |
|
|
| 902 |
<dl> |
<dl> |
| 903 |
<dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt> |
<dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt> |
| 904 |
<dd><p>Only <code>Default-Style</code> and <code>Refresh</code> |
<dd><p>Only values <code>Default-Style</code> and <code>Refresh</code> |
| 905 |
is allowed.</p> |
are allowed.</p> |
| 906 |
<p>Value <code>Content-Type</code> is obsolete; for charset |
<p>Value <code>Content-Type</code> is obsolete; for charset |
| 907 |
declaration, the <code>charset</code> attribute can be used as: |
declaration, the <code>charset</code> attribute can be used as: |
| 908 |
<pre class="html example"><code><meta charset="<var>charset-name</var>"></code></pre> |
<pre class="html example"><code><meta charset="<var>charset-name</var>"></code></pre> |
| 920 |
</d:desc> |
</d:desc> |
| 921 |
</d:item> |
</d:item> |
| 922 |
|
|
| 923 |
|
<d:item name="enumerated:invalid:http-equiv:content-type" |
| 924 |
|
class="attribute-value-error"> |
| 925 |
|
<d:message xml:lang="en">Charset declaration syntax |
| 926 |
|
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
| 927 |
|
is obsolete.</d:message> |
| 928 |
|
<d:desc xml:lang="en"> |
| 929 |
|
<p>Old long charset declaration syntax |
| 930 |
|
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
| 931 |
|
is in use. The document is non‐conforming.</p> |
| 932 |
|
|
| 933 |
|
<p>The new charset declaration syntax is: |
| 934 |
|
<pre class="html example"><code><meta charset="<var>charset-name</var>"></code></pre> |
| 935 |
|
</p> |
| 936 |
|
</d:desc> |
| 937 |
|
</d:item> |
| 938 |
|
|
| 939 |
<d:item name="duplicate ID" |
<d:item name="duplicate ID" |
| 940 |
class="attribute-value-error"> |
class="attribute-value-error"> |
| 941 |
<d:message xml:lang="en">This identifier has already been |
<d:message xml:lang="en">This identifier has already been |
| 968 |
<p>The specified link type is non-conforming, and therefore |
<p>The specified link type is non-conforming, and therefore |
| 969 |
the document is non-conforming.</p> |
the document is non-conforming.</p> |
| 970 |
|
|
| 971 |
<dl> |
<dl class="switch"> |
| 972 |
<dt>Link type <code>contents</code></dt> |
<dt>Link type <code>contents</code></dt> |
| 973 |
<dd>Use link type <code>index</code>.</dd> |
<dd>Use link type <code>index</code>.</dd> |
| 974 |
<dt>Link type <code>copyright</code></dt> |
<dt>Link type <code>copyright</code></dt> |
| 975 |
<dd>Use link type <code>license</code>.</dd> |
<dd>Use link type <code>license</code>.</dd> |
| 976 |
<dt>Link type <code>home</code></dt> |
<dt>Link type <code>home</code></dt> |
| 977 |
<dd>Use link type <code>index</code>.</dd> |
<dd>Use link type <code>index</code>.</dd> |
| 978 |
|
<dt>Link type <code>previous</code></dt> |
| 979 |
|
<dd>Use link type <code>prev</code>.</dd> |
| 980 |
<dt>Link type <code>start</code></dt> |
<dt>Link type <code>start</code></dt> |
| 981 |
<dd>Use link type <code>first</code>.</dd> |
<dd>Use link type <code>first</code>.</dd> |
| 982 |
<dt>Link type <code>toc</code></dt> |
<dt>Link type <code>toc</code> or <code>top</code></dt> |
| 983 |
<dd>Use link type <code>index</code>.</dd> |
<dd>Use link type <code>index</code>.</dd> |
| 984 |
</dl> |
</dl> |
| 985 |
</d:desc> |
</d:desc> |
| 1022 |
|
|
| 1023 |
<p><strong>Warning</strong>: The data served to the |
<p><strong>Warning</strong>: The data served to the |
| 1024 |
conforming checker might be out of date; it might have already |
conforming checker might be out of date; it might have already |
| 1025 |
been accepted or rejected, depending on which the document |
been accepted or rejected. The document might or might not be |
| 1026 |
might be conforming or non-conforming. See WHATWG Wiki |
conforming depending on the status. See WHATWG Wiki |
| 1027 |
for the latest information.</p> |
for the latest information.</p> |
| 1028 |
</d:desc> |
</d:desc> |
| 1029 |
</d:item> |
</d:item> |
| 1058 |
The document is non-conforming.</p> |
The document is non-conforming.</p> |
| 1059 |
|
|
| 1060 |
<p>For example, the table below is non-conforming: |
<p>For example, the table below is non-conforming: |
| 1061 |
<pre class="html non-conforming example"><code><table> |
<pre class="html bad example"><code><table> |
| 1062 |
<tbody> |
<tbody> |
| 1063 |
<tr><td rowspan=2></td></tr> |
<tr><td rowspan=2></td></tr> |
| 1064 |
</tbody> |
</tbody> |
| 1077 |
class="should" level="s"> |
class="should" level="s"> |
| 1078 |
<d:message xml:lang="en"><code><var>{@}</var></code>: An <em>obsolete</em> |
<d:message xml:lang="en"><code><var>{@}</var></code>: An <em>obsolete</em> |
| 1079 |
subtype is used.</d:message> |
subtype is used.</d:message> |
| 1080 |
|
<d:item xml:lang="en"> |
| 1081 |
|
<p>The specified Internet Media Type is registered with status |
| 1082 |
|
of <i>OBSOLETE</i>.</p><!-- @@ SHOULD NOT? --> |
| 1083 |
|
|
| 1084 |
|
<dl class="swtich"> |
| 1085 |
|
<dt>Media type <code>text/ecmascript</code></dt> |
| 1086 |
|
<dd>Media type <code>text/ecmascript</code> is obsoleted in |
| 1087 |
|
favor of <code>application/ecmascript</code>. Note that |
| 1088 |
|
<code>text/javascript</code> would be better alternative |
| 1089 |
|
for many cases.</dd> |
| 1090 |
|
<dt>Media type <code>text/javascript</code></dt> |
| 1091 |
|
<dd>Media type <code>text/javascript</code> is obsoleted by |
| 1092 |
|
<abbr>IETF</abbr> with backward incompatible alternate |
| 1093 |
|
<code>application/javascript</code> for architectural |
| 1094 |
|
purity.<!-- @@ ref? --> Realist may ignore this warning.</dd> |
| 1095 |
|
</dl> |
| 1096 |
|
</d:item> |
| 1097 |
</d:item> |
</d:item> |
| 1098 |
|
|
| 1099 |
<d:item name="IMT:private subtype" |
<d:item name="IMT:private subtype" |
| 1158 |
class="should" level="s"> |
class="should" level="s"> |
| 1159 |
<d:message xml:lang="en">This IRI does not end with |
<d:message xml:lang="en">This IRI does not end with |
| 1160 |
a <code>/</code>.</d:message> |
a <code>/</code>.</d:message> |
| 1161 |
|
<d:item xml:lang="en"> |
| 1162 |
|
<p>The IRI does not end with a <code>/</code>. If there is an |
| 1163 |
|
authority component in an IRI, a <code>/</code> should be present |
| 1164 |
|
instead of empty path component.</p> |
| 1165 |
|
|
| 1166 |
|
<p>For example, <code>http://www.example.com<strong>/</strong></code> |
| 1167 |
|
is preferred to <code>http://www.example.com</code>.</p> |
| 1168 |
|
</d:item> |
| 1169 |
</d:item> |
</d:item> |
| 1170 |
|
|
| 1171 |
<d:item name="URI::lowercase hexadecimal digit" |
<d:item name="URI::lowercase hexadecimal digit" |
| 1212 |
|
|
| 1213 |
</section> |
</section> |
| 1214 |
|
|
| 1215 |
|
<section id="cache-manifest-errors"> |
| 1216 |
|
<h2>Cache Manifest Errors</h2> |
| 1217 |
|
|
| 1218 |
|
<d:item name="not manifest" class="must" level="m"> |
| 1219 |
|
<d:message xml:lang="en">This document is not a cache manifest.</d:message> |
| 1220 |
|
<d:desc xml:lang="en"> |
| 1221 |
|
<p>The specified document is <em>not</em> a cache manifest. |
| 1222 |
|
The document is non-conforming.</p> |
| 1223 |
|
|
| 1224 |
|
<p>An entity labeled as Internet media type |
| 1225 |
|
<code>text/cache-manifest</code> must contain a cache manifest.</p> |
| 1226 |
|
|
| 1227 |
|
<p>A cache manifest must start with a line whose content is |
| 1228 |
|
<code class="manifest example">CACHE MANIFEST</code> |
| 1229 |
|
(exactly one space character between |
| 1230 |
|
<code>CACHE</code> and <code>MANIFEST</code>).</p> |
| 1231 |
|
</d:desc> |
| 1232 |
|
</d:item> |
| 1233 |
|
</section> |
| 1234 |
|
|
| 1235 |
<section id="unsupported-messages"> |
<section id="unsupported-messages"> |
| 1236 |
<h2><i>Unsupported</i> Messages</h2> |
<h2><i>Unsupported</i> Messages</h2> |
| 1237 |
|
|
| 1290 |
is not supported; <em>it might or might not be conforming.</em></d:message> |
is not supported; <em>it might or might not be conforming.</em></d:message> |
| 1291 |
</d:item> |
</d:item> |
| 1292 |
|
|
|
<d:item name="language tag" |
|
|
class="unsupported" level="unsupported"> |
|
|
<d:message xml:lang="en">Conformance checking for language tag |
|
|
is not supported; <em>it might or might not be conforming.</em></d:message> |
|
|
</d:item> |
|
|
|
|
| 1293 |
<d:item name="media query" |
<d:item name="media query" |
| 1294 |
class="unsupported" level="unsupported"> |
class="unsupported" level="unsupported"> |
| 1295 |
<d:message xml:lang="en">Conformance checking for media query |
<d:message xml:lang="en">Conformance checking for media query |
| 1321 |
manakaiIsHTML:0;;XML Document |
manakaiIsHTML:0;;XML Document |
| 1322 |
</d:catalog> |
</d:catalog> |
| 1323 |
|
|
| 1324 |
|
<section id="levels"> |
| 1325 |
|
<h2>Error Levels</h2> |
| 1326 |
|
|
| 1327 |
|
<table id="levels-table"> |
| 1328 |
|
<thead> |
| 1329 |
|
<tr><th scope="col">Level</th> |
| 1330 |
|
<th scope="col">Conforming?</th> |
| 1331 |
|
<th scope="col">Description</th> |
| 1332 |
|
</tr> |
| 1333 |
|
</thead> |
| 1334 |
|
<tbody> |
| 1335 |
|
<tr id="level-m" class="level-m"> |
| 1336 |
|
<th scope="row"><em class="rfc2119">MUST</em>‐level error</th> |
| 1337 |
|
<td>Non‐conforming.</td> |
| 1338 |
|
<td>A violation to a hard requirement of the specification. |
| 1339 |
|
The document is non‐conforming.</td> |
| 1340 |
|
</tr> |
| 1341 |
|
<tr id="level-s" class="level-s"> |
| 1342 |
|
<th scope="row"><em class="rfc2119">SHOULD</em>‐level error</th> |
| 1343 |
|
<td>Non‐conforming, but <em>in some case</em> |
| 1344 |
|
conforming.</td> |
| 1345 |
|
<td>A violation to a requirement of the specification. |
| 1346 |
|
The violation might be legitimize in some case. Otherwise, |
| 1347 |
|
the document is non‐conforming.</td> |
| 1348 |
|
</tr> |
| 1349 |
|
<tr id="level-w" class="level-w"> |
| 1350 |
|
<th scope="row">Warning</th> |
| 1351 |
|
<td>Conforming.</td> |
| 1352 |
|
<td>A warning is an advice from the conformance checker to avoid |
| 1353 |
|
to solve a problem in a confusing or possibly wrong way. |
| 1354 |
|
It does not affect to the conformance of the document, and |
| 1355 |
|
may sometimes be inappropriate.</td> |
| 1356 |
|
</tr> |
| 1357 |
|
<tr id="level-unsupported" class="level-unsupported"> |
| 1358 |
|
<th scope="row">Not supported</th> |
| 1359 |
|
<td><em>Unknown</em>.</td> |
| 1360 |
|
<td>Some feature that is not supported by the conformance checker |
| 1361 |
|
is used in the document.</td> |
| 1362 |
|
</tr> |
| 1363 |
|
</tbody> |
| 1364 |
|
</table> |
| 1365 |
|
</section> |
| 1366 |
|
|
| 1367 |
<section id="license"> |
<section id="license"> |
| 1368 |
<h2>License of This Document</h2> |
<h2>License of This Document</h2> |
| 1369 |
|
|
| 1370 |
<p>Copyright 2007 <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a></p> |
<p>Copyright <time>2007</time> |
| 1371 |
|
<a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a> |
| 1372 |
|
<code class="mail"><<a href="mailto:[email protected]">[email protected]</a>></code>.</p> |
| 1373 |
|
|
| 1374 |
<p>This document is free software; you can redistribute it |
<p>This document is free software; you can redistribute it |
| 1375 |
and/or modify it under the same terms as Perl itself.</p> |
and/or modify it under the same terms as Perl itself.</p> |
| 1376 |
</section> |
</section> |