| 11 |
<body> |
<body> |
| 12 |
<h1>Description of Errors</h1> |
<h1>Description of Errors</h1> |
| 13 |
|
|
| 14 |
<section id="html5-parse-errors"> |
<section id="html5-tokenize-error"> |
| 15 |
<h2>HTML5 Parse Errors</h2> |
<h2>HTML5 Parse Errors in Tokenization Stage</h2> |
| 16 |
|
|
| 17 |
<d:item name="after head" |
<d:item name="after html" |
| 18 |
class="parse-error"> |
class="parse-error"> |
| 19 |
<d:message xml:lang="en">The <code><var>$0</var></code> element cannot be |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
| 20 |
inserted between <code>head</code> and <code>body</code> elements.</d:message> |
is not allowed after the end tag <code></html></code>.</d:message> |
| 21 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 22 |
<p>A start tag occurs after the <code>head</code> element is closed |
<p>The start or end tag of an element appears after the |
| 23 |
but before the <code>body</code> element is opened. |
<code>html</code> element has been closed. The document is |
| 24 |
|
non-conforming.</p> |
| 25 |
|
|
| 26 |
|
<p>Any content of the document other than comments |
| 27 |
|
must be put into the <code>html</code> element.</p> |
| 28 |
|
</d:desc> |
| 29 |
|
</d:item> |
| 30 |
|
|
| 31 |
|
<d:item name="bare ero" |
| 32 |
|
class="tokenize-error"> |
| 33 |
|
<d:message xml:lang="en">The <code>&</code> character must |
| 34 |
|
introduce a reference.</d:message> |
| 35 |
|
<d:desc xml:lang="en"> |
| 36 |
|
<p>An <code>&</code> (<code>U+0026</code> |
| 37 |
|
<code class="charname">AMPERSAND</code>) character which |
| 38 |
|
is not part of any reference appears in the input stream. |
| 39 |
|
The document is non-conforming.</p> |
| 40 |
|
|
| 41 |
|
<p>The <code>&</code> character must |
| 42 |
|
be the first character of a reference: |
| 43 |
|
<dl> |
| 44 |
|
<dt>Named entity reference</dt> |
| 45 |
|
<dd><pre class="html example"><code>&<var>entity-name</var>;</code></pre> |
| 46 |
|
where <var>entity-name</var> is the name of the |
| 47 |
|
character entity to be referenced.</dd> |
| 48 |
|
<dt>Numeric character reference</dt> |
| 49 |
|
<dd><pre class="html example"><code>&#<var>d</var>;</code></pre> |
| 50 |
|
where <var>d</var> is the decimal representation of |
| 51 |
|
the code position of the character to be referenced.</dd> |
| 52 |
|
<dt>Hexadecimal character reference</dt> |
| 53 |
|
<dd><pre class="html example"><code>&#x<var>h</var>;</code></pre> |
| 54 |
|
where <var>h</var> is the hexadecimal representation |
| 55 |
|
of the code position of the character to be referenced.</dd> |
| 56 |
|
</dl> |
| 57 |
|
</p> |
| 58 |
|
|
| 59 |
|
<p>To represent <code>&</code> as a data character, use |
| 60 |
|
named entity reference: |
| 61 |
|
<pre class="html example"><code>&amp;</code></pre> |
| 62 |
|
</p> |
| 63 |
|
</d:desc> |
| 64 |
|
</d:item> |
| 65 |
|
|
| 66 |
|
<d:item name="bare nero" |
| 67 |
|
class="tokenize-error"> |
| 68 |
|
<d:message xml:lang="en">The decimal representation of the code position |
| 69 |
|
of a character must be specified after <code>&#</code>.</d:message> |
| 70 |
|
<d:desc xml:lang="en"> |
| 71 |
|
<p>An <code>&</code> (<code>U+0026</code> |
| 72 |
|
<code class="charname">AMPERSAND</code>) character immediately |
| 73 |
|
followed by a <code>#</code> (<code>U+0023</code> |
| 74 |
|
<code>NUMBER SIGN</code>) character which |
| 75 |
|
is not part of any reference appears in the input stream. |
| 76 |
|
The document is non-conforming.</p> |
| 77 |
|
|
| 78 |
|
<p>The string <code>&#</code> must be the first two characters |
| 79 |
|
<code>NUMBER SIGN</code>) character must be the first two characters |
| 80 |
|
of a reference: |
| 81 |
|
<dl> |
| 82 |
|
<dt>Numeric character reference</dt> |
| 83 |
|
<dd><pre class="html example"><code>&#<var>d</var>;</code></pre> |
| 84 |
|
where <var>d</var> is the decimal representation of |
| 85 |
|
the code point of the character to be referenced.</dd> |
| 86 |
|
<dt>Hexadecimal character reference</dt> |
| 87 |
|
<dd><pre class="html example"><code>&#x<var>h</var>;</code></pre> |
| 88 |
|
where <var>h</var> is the hexadecimal representation |
| 89 |
|
of the code point of the character to be referenced.</dd> |
| 90 |
|
</dl> |
| 91 |
|
</p> |
| 92 |
|
|
| 93 |
|
<p>To represent <code>&#</code> as data characters, use |
| 94 |
|
named entity reference: |
| 95 |
|
<pre class="html example"><code>&amp;#</code></pre> |
| 96 |
|
</p> |
| 97 |
|
</d:desc> |
| 98 |
|
</d:item> |
| 99 |
|
|
| 100 |
|
<d:item name="bare hcro" |
| 101 |
|
class="tokenize-error"> |
| 102 |
|
<d:message xml:lang="en">The hexadecimal representation of the code position |
| 103 |
|
of a character must be specified after <code>&#x</code>.</d:message> |
| 104 |
|
<d:desc xml:lang="en"> |
| 105 |
|
<p>The string <code>&#x</code> or <code>&#X</code> which |
| 106 |
|
is not part of any reference appears in the input stream. |
| 107 |
The document is non-conforming.</p> |
The document is non-conforming.</p> |
| 108 |
|
|
| 109 |
|
<p>The string <code>&#x</code> or <code>&#X</code> must |
| 110 |
|
be the first three characters of a hexadecimal reference: |
| 111 |
|
<pre class="html example"><code>&#x<var>h</var>;</code></pre> |
| 112 |
|
where <var>h</var> is the hexadecimal representation |
| 113 |
|
of the code point of the character to be referenced.</p> |
| 114 |
|
|
| 115 |
|
<p>To represent <code>&#x</code> as data characters, use |
| 116 |
|
named entity reference: |
| 117 |
|
<pre class="html example"><code>&amp;#x</code></pre> |
| 118 |
|
</p> |
| 119 |
</d:desc> |
</d:desc> |
| 120 |
</d:item> |
</d:item> |
| 121 |
|
|
| 123 |
class="tokenize-error"> |
class="tokenize-error"> |
| 124 |
<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> |
| 125 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 126 |
<p>Attributes must be unique in an element. Specifying |
<p>There are more than one attributes with the same |
| 127 |
attributes with same name more than once is non-conforming.</p> |
name in a tag. The document is non-conforming.</p> |
| 128 |
|
|
| 129 |
<p>The <code>motion</code> attribute is not part of the HTML standard. |
<p>The <code>motion</code> attribute is not part of the HTML standard. |
| 130 |
Use <code>img</code> element with animation GIF instead.</p> |
Use <code>img</code> element with animation GIF instead.</p> |
| 136 |
<d:message xml:lang="en">Void element syntax (<code>/></code>) cannot be |
<d:message xml:lang="en">Void element syntax (<code>/></code>) cannot be |
| 137 |
used for this element.</d:message> |
used for this element.</d:message> |
| 138 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 139 |
<p>The void element syntax <code>/></code> syntax can only be |
<p>Void element syntax (<code>/></code>) must not be used |
| 140 |
|
for the element. The document is non-conforming.</p> |
| 141 |
|
|
| 142 |
|
<p>The void element syntax can only be |
| 143 |
used for <code>base</code>, <code>link</code>, <code>meta</code>, |
used for <code>base</code>, <code>link</code>, <code>meta</code>, |
| 144 |
<code>hr</code>, <code>br</code>, <code>img</code>, |
<code>hr</code>, <code>br</code>, <code>img</code>, |
| 145 |
<code>embed</code>, <code>param</code>, <code>area</code>, |
<code>embed</code>, <code>param</code>, <code>area</code>, |
| 146 |
<code>col</code>, and <code>input</code> elements. |
<code>col</code>, and <code>input</code> elements.</p> |
|
For any other elements, using that syntax is non-conforming.</p> |
|
| 147 |
|
|
| 148 |
<p>Unlike XML, the void element syntax (<code>/></code>) has |
<p>Note that, unlike in XML, the void element syntax has |
| 149 |
no effect in HTML.</p> |
no effect in HTML.</p> |
| 150 |
</d:desc> |
</d:desc> |
| 151 |
</d:item> |
</d:item> |
| 152 |
|
|
| 153 |
</section> |
</section> |
| 154 |
|
|
| 155 |
|
<section id="html5-parse-errors"> |
| 156 |
|
<h2>HTML5 Parse Errors in Tree Construction Stage</h2> |
| 157 |
|
|
| 158 |
|
<d:item name="after head" |
| 159 |
|
class="parse-error"> |
| 160 |
|
<d:message xml:lang="en">The <code><var>$0</var></code> element cannot be |
| 161 |
|
inserted between <code>head</code> and <code>body</code> elements.</d:message> |
| 162 |
|
<d:desc xml:lang="en"> |
| 163 |
|
<p>A start tag appears after the <code>head</code> element is closed |
| 164 |
|
but before the <code>body</code> element is opened. |
| 165 |
|
The document is non-conforming.</p> |
| 166 |
|
</d:desc> |
| 167 |
|
</d:item> |
| 168 |
|
|
| 169 |
|
<d:item name="in table" |
| 170 |
|
class="parse-error"> |
| 171 |
|
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
| 172 |
|
is not allowed in <code>table</code>.</d:message> |
| 173 |
|
<d:desc xml:lang="en"> |
| 174 |
|
<p>The start or end tag of an element appears in <code>table</code>. |
| 175 |
|
The document is non-conforming.</p> |
| 176 |
|
|
| 177 |
|
<p>In <code>table</code>, only table related elements |
| 178 |
|
are allowed; any other element must be contained in |
| 179 |
|
<code>td</code> or <code>th</code> element to form |
| 180 |
|
a part of the table, or <code>caption</code> element to create |
| 181 |
|
a table caption.</p> |
| 182 |
|
</d:desc> |
| 183 |
|
</d:item> |
| 184 |
|
|
| 185 |
|
<d:item name="in table:#character" |
| 186 |
|
class="parse-error"> |
| 187 |
|
<d:message xml:lang="en">Data character is not allowed in |
| 188 |
|
<code>table</code>.</d:message> |
| 189 |
|
<d:desc xml:lang="en"> |
| 190 |
|
<p>A data character appears in <code>table</code>. The document |
| 191 |
|
is non-conforming.</p> |
| 192 |
|
|
| 193 |
|
<p>In <code>table</code>, only table related elements |
| 194 |
|
are allowed; any other element and data character must be contained in |
| 195 |
|
<code>td</code> or <code>th</code> element to form |
| 196 |
|
a part of the table, or <code>caption</code> element to create |
| 197 |
|
a table caption.</p> |
| 198 |
|
</d:desc> |
| 199 |
|
</d:item> |
| 200 |
|
|
| 201 |
|
<d:item name="missing start tag:tr" |
| 202 |
|
class="parse-error"> |
| 203 |
|
<d:message xml:lang="en">Start tag of <code>tr</code> |
| 204 |
|
element is missing.</d:message> |
| 205 |
|
<d:desc> |
| 206 |
|
<p>Start tag of a <code>tr</code> element, which is <em>not</em> |
| 207 |
|
optional, is missing. The document is non-conforming.</p> |
| 208 |
|
|
| 209 |
|
<p>In a table section, a <code><tr></code> start tag |
| 210 |
|
must occur before any <code><td></code> or |
| 211 |
|
<code><th></code> start tag. Though the HTML5 parser |
| 212 |
|
implies the <code><tr></code> start tag before |
| 213 |
|
these start tags, it must be explicitly specified.</p> |
| 214 |
|
</d:desc> |
| 215 |
|
</d:item> |
| 216 |
|
|
| 217 |
|
<d:item name="no DOCTYPE" |
| 218 |
|
class="parse-error"> |
| 219 |
|
<d:message xml:lang="en">This document does not start with the |
| 220 |
|
<code>DOCTYPE</code>.</d:message> |
| 221 |
|
<d:desc> |
| 222 |
|
<p>The document does not start with a <code>DOCTYPE</code>. |
| 223 |
|
The document is non-conforming.</p> |
| 224 |
|
|
| 225 |
|
<p>An HTML document must start by a <code>DOCTYPE</code>: |
| 226 |
|
<pre class="html example"><code><!DOCTYPE HTML></code></pre> |
| 227 |
|
</p> |
| 228 |
|
|
| 229 |
|
<p>Only white space characters and comments are allowed |
| 230 |
|
before the <code>DOCTYPE</code>.</p> |
| 231 |
|
</d:desc> |
| 232 |
|
</d:item> |
| 233 |
|
|
| 234 |
|
<d:item name="not closed" |
| 235 |
|
class="parse-error"> |
| 236 |
|
<d:message xml:lang="en">Element <code><var>$0</var></code> is not |
| 237 |
|
closed.</d:message> |
| 238 |
|
<d:desc> |
| 239 |
|
<p>End tag of an element is not found before, for example, |
| 240 |
|
an end tag of another element appears or |
| 241 |
|
the end of the document. The document is non-conforming.</p> |
| 242 |
|
</d:desc> |
| 243 |
|
</d:item> |
| 244 |
|
|
| 245 |
|
<d:item name="not HTML5" |
| 246 |
|
class="parse-error"> |
| 247 |
|
<d:message xml:lang="en">This document is written in an old version of |
| 248 |
|
HTML.</d:message> |
| 249 |
|
<d:desc xml:lang="en"> |
| 250 |
|
<p>The document contains a <code>DOCTYPE</code> declaration |
| 251 |
|
that is different from HTML5 <code>DOCTYPE</code> (i.e. <code><!DOCTYPE |
| 252 |
|
HTML></code>). The document is non-conforming.</p> |
| 253 |
|
|
| 254 |
|
<p>The document might or might not be conformant to |
| 255 |
|
some version of HTML. However, conformance to any HTML |
| 256 |
|
specification other than HTML5 provides for no practical |
| 257 |
|
convenience, since Web borwsers will parse any |
| 258 |
|
HTML document (roughly) as defined in HTML5.</p> |
| 259 |
|
</d:desc> |
| 260 |
|
</d:item> |
| 261 |
|
|
| 262 |
|
<d:item name="unmatched end tag" |
| 263 |
|
class="parse-error"> |
| 264 |
|
<d:message xml:lang="en">Element <code><var>$0</var></code> is not |
| 265 |
|
opened.</d:message> |
| 266 |
|
</d:item> |
| 267 |
|
|
| 268 |
|
</section> |
| 269 |
|
|
| 270 |
<section id="element-content-model-errors"> |
<section id="element-content-model-errors"> |
| 271 |
<h2>Element Content Model Errors</h2> |
<h2>Element Content Model Errors</h2> |
| 272 |
|
|
| 275 |
<d:message xml:lang="en">Data character is not allowed in this |
<d:message xml:lang="en">Data character is not allowed in this |
| 276 |
context.</d:message> |
context.</d:message> |
| 277 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 278 |
<p>A data character occurs where it is not allowed in this |
<p>A data character appears where it is not allowed in this |
| 279 |
context. The document is non-conforming.</p> |
context. The document is non-conforming.</p> |
| 280 |
|
|
| 281 |
<p>Possible causes: |
<p>Possible causes: |
| 308 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 309 |
<p>The content model of the element is so defined that it |
<p>The content model of the element is so defined that it |
| 310 |
must contain a <code><var>$0</var></code> child element. |
must contain a <code><var>$0</var></code> child element. |
| 311 |
Without such an element, the document is non-conforming.</p> |
The document is non-conforming.</p> |
| 312 |
|
|
| 313 |
<p>For example: |
<p>For example: |
| 314 |
<ul> |
<ul> |
| 328 |
or <code>th</code> element as a child of this element.</d:message> |
or <code>th</code> element as a child of this element.</d:message> |
| 329 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 330 |
<p>The <code>tr</code> element must contain at least one |
<p>The <code>tr</code> element must contain at least one |
| 331 |
<code>td</code> or <code>th</code> child element. Without |
<code>td</code> or <code>th</code> child element. The document |
| 332 |
such an element, the document is non-conforming.</p> |
is non-conforming.</p> |
| 333 |
</d:desc> |
</d:desc> |
| 334 |
</d:item> |
</d:item> |
| 335 |
|
|
| 338 |
<d:message xml:lang="en">This element is not allowed in this |
<d:message xml:lang="en">This element is not allowed in this |
| 339 |
context.</d:message> |
context.</d:message> |
| 340 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 341 |
<p>An element occurs where it is not allowed. The document |
<p>An element appears where it is not allowed. The document |
| 342 |
is non-conforming.</p> |
is non-conforming.</p> |
| 343 |
|
|
| 344 |
|
<p><strong>Note</strong>: The conformance checker does |
| 345 |
|
<em>not</em> support form elements yet.</p> |
| 346 |
|
|
| 347 |
<p>Possible causes: |
<p>Possible causes: |
| 348 |
<dl> |
<dl> |
| 349 |
<dt>If the erred element is an inline-level element (such |
<dt>If the erred element is an inline-level element (such |
| 372 |
</d:desc> |
</d:desc> |
| 373 |
</d:item> |
</d:item> |
| 374 |
|
|
| 375 |
enumerated:invalid;attribute-error;This attribute only allow a limited set of values and the specified value is not one of them. |
</section> |
| 376 |
no DOCTYPE;parse-error;This document does not start with the <code>DOCTYPE</code> declaration. |
|
| 377 |
not HTML5;parse-error;This document is written in an old version of HTML. |
<section id="attribute-errors"> |
| 378 |
not closed;parse-error;Element <code>$0</code> is not closed. |
<h2>Attribute Errors</h2> |
| 379 |
unmatched end tag;parse-error;Element <code>$0</code> is not opened. |
|
| 380 |
|
<d:item name="attribute missing" |
| 381 |
table:no cell in last row;table-model-error;The table has no cell (<code>td</code> or <code>th</code>) in the last row. |
class="attribute-error"> |
| 382 |
|
<d:message xml:lang="en">Required attribute <code><var>$0</var></code> |
| 383 |
s:IMT:obsolete subtype;should;An <em>obsolete</em> subtype is used. |
is not specified.</d:message> |
| 384 |
s:IMT:private subtype;should;A private (<code>x-</code> or <code>x.</code>) subtype is used. |
<d:desc> |
| 385 |
s:IMT:unregistered subtype;should;The subtype is not registered to IANA. |
<p>A required attribute is not specified. The document |
| 386 |
|
is non-conforming.</p> |
| 387 |
|
|
| 388 |
|
<p>Some attribute is defined as <i>required</i>. |
| 389 |
|
For example, any <code>img</code> element must have |
| 390 |
|
<code>alt</code> and <code>src</code> attributes specified. |
| 391 |
|
Without required attributes specified, user agents |
| 392 |
|
cannot provide the full functionality of the element |
| 393 |
|
to the user.</p> |
| 394 |
|
</d:desc> |
| 395 |
|
</d:item> |
| 396 |
|
|
| 397 |
|
<d:item name="in HTML:xml:lang" |
| 398 |
|
class="attribute-error"> |
| 399 |
|
<d:message xml:lang="en">The <code>xml:lang</code> attribute is not |
| 400 |
|
allowed in HTML document.</d:message> |
| 401 |
|
<d:desc> |
| 402 |
|
<p>The <code>xml:lang</code> attribute is not allowed in |
| 403 |
|
HTML document. The document is non-conforming.</p> |
| 404 |
|
|
| 405 |
|
<p>The <code>xml:lang</code> attribute in <code>null</code> |
| 406 |
|
namespace for HTML elements is defined as conforming only for |
| 407 |
|
XML document.</p> |
| 408 |
|
|
| 409 |
|
<p>To specify natural language information in HTML document, |
| 410 |
|
use <code>lang</code> attribute instead.</p> |
| 411 |
|
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
| 412 |
|
from an HTML document? --> |
| 413 |
|
</d:desc> |
| 414 |
|
</d:item> |
| 415 |
|
|
| 416 |
|
<d:item name="in XML:charset" |
| 417 |
|
class="attribute-error"> |
| 418 |
|
<d:message xml:lang="en">The <code>charset</code> attribute is not |
| 419 |
|
allowed in XML document.</d:message> |
| 420 |
|
<d:desc> |
| 421 |
|
<p>The <code>charset</code> attribute of a |
| 422 |
|
<code>meta</code> element is not allowed in XML document. |
| 423 |
|
The document is non-conforming.</p> |
| 424 |
|
|
| 425 |
|
<p>To specify the character encoding used for serialization, |
| 426 |
|
if necessary, use XML declaration instead: |
| 427 |
|
<pre class="xml example"><code><?xml version="1.0" encoding="<var>encoding-name</var>"?></code></pre> |
| 428 |
|
</p> |
| 429 |
|
</d:desc> |
| 430 |
|
</d:item> |
| 431 |
|
|
| 432 |
|
<d:item name="in XML:lang" |
| 433 |
|
class="attribute-error"> |
| 434 |
|
<d:message xml:lang="en">The <code>lang</code> attribute is not |
| 435 |
|
allowed in XML document.</d:message> |
| 436 |
|
<d:desc> |
| 437 |
|
<p>The HTML <code>lang</code> attribute is not allowed in |
| 438 |
|
XML document. The document is non-conforming.</p> |
| 439 |
|
|
| 440 |
|
<p>The <code>lang</code> attribute in <code>null</code> |
| 441 |
|
namespace for HTML elements is defined as conforming only for |
| 442 |
|
HTML document.</p> |
| 443 |
|
|
| 444 |
|
<p>To specify natural language information in XML document, |
| 445 |
|
use <code>xml:lang</code> attribute instead.</p> |
| 446 |
|
</d:desc> |
| 447 |
|
</d:item> |
| 448 |
|
|
| 449 |
|
<d:item name="in XML:xmlns" |
| 450 |
|
class="attribute-error"> |
| 451 |
|
<d:message xml:lang="en">The <code>xmlns</code> attribute |
| 452 |
|
in the <code>null</code> namespace is not allowed in |
| 453 |
|
XHTML document. The document is non-conforming.</d:message> |
| 454 |
|
<d:desc> |
| 455 |
|
<p>The <code>xmlns</code> attribute in the <code>null</code> |
| 456 |
|
namespace is not allowed in XHTML document.</p> |
| 457 |
|
|
| 458 |
|
<p>This error should not occur in conformance-checking |
| 459 |
|
static documents.</p> |
| 460 |
|
</d:desc> |
| 461 |
|
</d:item> |
| 462 |
|
|
| 463 |
|
</section> |
| 464 |
|
|
| 465 |
|
<section id="attribute-value-errors"> |
| 466 |
|
<h2>Attribute Value Errors</h2> |
| 467 |
|
|
| 468 |
|
<d:item name="enumerated:invalid" |
| 469 |
|
class="attribute-value-error"> |
| 470 |
|
<d:message xml:lang="en">This attribute only allow a limited set of |
| 471 |
|
values and the specified value is not one of them.</d:message> |
| 472 |
|
</d:item> |
| 473 |
|
|
| 474 |
|
<d:item name="duplicate ID" |
| 475 |
|
class="attribute-value-error"> |
| 476 |
|
<d:message xml:lang="en">This identifier has already been |
| 477 |
|
assigned to another element.</d:message> |
| 478 |
|
<!-- @@ <id=a xml:id=a>? --> |
| 479 |
|
</d:item> |
| 480 |
|
|
| 481 |
|
<d:item name="reserved browsing context name" |
| 482 |
|
class="attribute-value-error"> |
| 483 |
|
<d:message xml:lang="en">This browsing context name is reserved.</d:message> |
| 484 |
|
<d:item> |
| 485 |
|
<p>The specified browsing context name is reserved. |
| 486 |
|
The document is non-conforming.</p> |
| 487 |
|
|
| 488 |
|
<p>Names of browsing contexts starting with <code>_</code> |
| 489 |
|
(<code>U+005F</code> <code class="charname">LOW LINE</code>) |
| 490 |
|
are reserved so that it must not be used.</p> |
| 491 |
|
|
| 492 |
|
<p>Old version of HTML, non-HTML markup languages, and |
| 493 |
|
Web browsers define or implements special reserved |
| 494 |
|
browsing context names <code>_blank</code>, |
| 495 |
|
<code>_main</code>, and <code>_replace</code>. |
| 496 |
|
However, they are <em>not</em> conforming attribute values.</p> |
| 497 |
|
</d:item> |
| 498 |
|
</d:item> |
| 499 |
|
|
| 500 |
s:URI::empty path;should;This IRI should explicitly end with <code>/</code>. |
</section> |
| 501 |
m:URI::syntax error;must;This IRI is not syntactically valid. |
|
| 502 |
|
<section id="table-model-errors"> |
| 503 |
|
<h2>Table Model Errors</h2> |
| 504 |
|
|
| 505 |
|
<d:item name="table:colspan creates column with no anchored cell" |
| 506 |
|
class="table-model-error"> |
| 507 |
|
<d:message xml:lang="en">This <code>colspan</code> attribute |
| 508 |
|
results in creating a table column that does not contain |
| 509 |
|
any cell anchored to it.</d:message> |
| 510 |
|
</d:item> |
| 511 |
|
|
| 512 |
|
<d:item name="table:no cell in last row" |
| 513 |
|
class="table-model-error"> |
| 514 |
|
<d:message xml:lang="en">The table has no cell (<code>td</code> or |
| 515 |
|
<code>th</code>) in the last row.</d:message> |
| 516 |
|
</d:item> |
| 517 |
|
|
| 518 |
|
</section> |
| 519 |
|
|
| 520 |
|
<section id="imt-warnings"> |
| 521 |
|
<h2>Internet Media Type Warnings</h2> |
| 522 |
|
|
| 523 |
|
<d:item name="IMT:obsolete subtype" |
| 524 |
|
class="should" level="s"> |
| 525 |
|
<d:message xml:lang="en">An <em>obsolete</em> subtype is used.</d:message> |
| 526 |
|
</d:item> |
| 527 |
|
|
| 528 |
|
<d:item name="IMT:private subtype" |
| 529 |
|
class="should" level="s"> |
| 530 |
|
<d:message xml:lang="en">A private (<code>x-</code> or <code>x.</code>) |
| 531 |
|
subtype is used.</d:message> |
| 532 |
|
</d:item> |
| 533 |
|
|
| 534 |
|
<d:item name="IMT:unregistered subtype" |
| 535 |
|
class="should" level="s"> |
| 536 |
|
<d:message xml:lang="en">The subtype is not registered to IANA.</d:message> |
| 537 |
|
<!-- TODO: Unknown message?? --> |
| 538 |
|
</d:item> |
| 539 |
|
|
| 540 |
|
</section> |
| 541 |
|
|
| 542 |
|
<section id="uri-errors"> |
| 543 |
|
<h2>URI (or IRI) Errors</h2> |
| 544 |
|
|
| 545 |
|
<d:item name="URI::syntax error" |
| 546 |
|
class="must" level="m"> |
| 547 |
|
<d:message xml:lang="en">This string is not an IRI syntactically.</d:message> |
| 548 |
|
</d:item> |
| 549 |
|
|
| 550 |
|
</section> |
| 551 |
|
|
| 552 |
|
<section id="uri-warnings"> |
| 553 |
|
<h2>URI (or IRI) Warnings</h2> |
| 554 |
|
|
| 555 |
|
<d:item name="URI::dot-segment" |
| 556 |
|
class="should" level="s"> |
| 557 |
|
<d:message xml:lang="en">Dot-segment (<code>.</code> or |
| 558 |
|
<code>..</code>) should not occur in an absolute reference.</d:message> |
| 559 |
|
<d:desc> |
| 560 |
|
<p>Dot-segment (<code>.</code> or <code>..</code>) should |
| 561 |
|
not occur in an absolute reference.</p> |
| 562 |
|
|
| 563 |
|
<p>In relative references, dot-segments are used to represent |
| 564 |
|
the current (<code>.</code>) or the parent (<code>..</code>) |
| 565 |
|
hierarchy of the path. Though they are also allowed |
| 566 |
|
in absolute references, it should be resolved to the |
| 567 |
|
canonical form before it has been published.</p> |
| 568 |
|
</d:desc> |
| 569 |
|
</d:item> |
| 570 |
|
|
| 571 |
|
<d:item name="URI::empty path" |
| 572 |
|
class="should" level="s"> |
| 573 |
|
<d:message xml:lang="en">This IRI should explicitly end with |
| 574 |
|
<code>/</code>.</d:message> |
| 575 |
|
</d:item> |
| 576 |
|
|
| 577 |
</section> |
</section> |
| 578 |
|
|
| 579 |
<section id="unsupported-messages"> |
<section id="unsupported-messages"> |
| 580 |
<h2><i>Unsupported</i> Messages</h2> |
<h2><i>Unsupported</i> Messages</h2> |
| 581 |
|
|
| 582 |
<d:item name="unsupported:attribute" |
<d:item name="attribute" |
| 583 |
class="unsupported"> |
class="unsupported" level="unsupported"> |
| 584 |
<d:message xml:lang="en">This attribute is not supported by the |
<d:message xml:lang="en">This attribute is not supported by the |
| 585 |
conformance checker; <em>it might or might not be conforming</em>.</d:message> |
conformance checker; <em>it might or might not be conforming</em>.</d:message> |
| 586 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 589 |
</d:desc> |
</d:desc> |
| 590 |
</d:item> |
</d:item> |
| 591 |
|
|
| 592 |
<d:item name="unsupported:element" |
<d:item name="element" |
| 593 |
class="unsupported"> |
class="unsupported" level="unsupported"> |
| 594 |
<d:message xml:lang="en">This element is not supported by the |
<d:message xml:lang="en">This element is not supported by the |
| 595 |
conformance checker; <em>it might or might not be conforming</em>.</d:message> |
conformance checker; <em>it might or might not be conforming</em>.</d:message> |
| 596 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 599 |
</d:desc> |
</d:desc> |
| 600 |
</d:item> |
</d:item> |
| 601 |
|
|
| 602 |
<d:item name="unsupported:link type" |
<d:item name="link type" |
| 603 |
class="unsupported"> |
class="unsupported" level="unsupported"> |
| 604 |
<d:message xml:lang="en">The link type <code>$0</code> is not standardized |
<d:message xml:lang="en">The link type <code>$0</code> is not standardized |
| 605 |
or registered at the time of the release of the conformance checker; |
or registered at the time of the release of the conformance checker; |
| 606 |
<em>it is non-conforming unless it has now been registered</em>.</d:message> |
<em>it is non-conforming unless it has now been registered</em>.</d:message> |
| 620 |
|
|
| 621 |
</section> |
</section> |
| 622 |
|
|
| 623 |
|
<d:catalog> |
| 624 |
|
manakaiCompatMode:quirks;;Quirks Mode |
| 625 |
|
manakaiCompatMode:limited quirks;;Limited Quirks Mode |
| 626 |
|
manakaiCompatMode:no quirks;;No Quirks Mode |
| 627 |
|
|
| 628 |
|
manakaiIsHTML:1;;HTML Document |
| 629 |
|
manakaiIsHTML:0;;XML Document |
| 630 |
|
</d:catalog> |
| 631 |
|
|
| 632 |
<section id="license"> |
<section id="license"> |
| 633 |
<h2>License of This Document</h2> |
<h2>License of This Document</h2> |
| 634 |
|
|