| 1 |
<!DOCTYPE html> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" |
| 3 |
xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" |
| 4 |
id="error-description"> |
| 5 |
<head> |
| 6 |
<title xml:lang="en">Description of Errors — |
| 7 |
Web Document Conformance Checker (BETA)</title> |
| 8 |
<link rel="stylesheet" href="cc-style"/> |
| 9 |
<link rel="license" href="#license"/> |
| 10 |
</head> |
| 11 |
<body> |
| 12 |
<h1>Description of Errors</h1> |
| 13 |
|
| 14 |
<section id="html5-tokenize-error"> |
| 15 |
<h2>HTML5 Parse Errors in Tokenization Stage</h2> |
| 16 |
|
| 17 |
<d:item name="after html" |
| 18 |
class="parse-error"> |
| 19 |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
| 20 |
is not allowed after the end tag <code></html></code>.</d:message> |
| 21 |
<d:desc xml:lang="en"> |
| 22 |
<p>The start or end tag of an element appears after the |
| 23 |
<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> |
| 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> |
| 120 |
</d:item> |
| 121 |
|
| 122 |
<d:item name="duplicate attribute" |
| 123 |
class="tokenize-error"> |
| 124 |
<d:message xml:lang="en">There are two attributes with same name.</d:message> |
| 125 |
<d:desc xml:lang="en"> |
| 126 |
<p>There are more than one attributes with the same |
| 127 |
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. |
| 130 |
Use <code>img</code> element with animation GIF instead.</p> |
| 131 |
</d:desc> |
| 132 |
</d:item> |
| 133 |
|
| 134 |
<d:item name="nestc" |
| 135 |
class="tokenize-error"> |
| 136 |
<d:message xml:lang="en">Void element syntax (<code>/></code>) cannot be |
| 137 |
used for this element.</d:message> |
| 138 |
<d:desc xml:lang="en"> |
| 139 |
<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>, |
| 144 |
<code>hr</code>, <code>br</code>, <code>img</code>, |
| 145 |
<code>embed</code>, <code>param</code>, <code>area</code>, |
| 146 |
<code>col</code>, and <code>input</code> elements.</p> |
| 147 |
|
| 148 |
<p>Note that, unlike in XML, the void element syntax has |
| 149 |
no effect in HTML.</p> |
| 150 |
</d:desc> |
| 151 |
</d:item> |
| 152 |
|
| 153 |
</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"> |
| 271 |
<h2>Element Content Model Errors</h2> |
| 272 |
|
| 273 |
<d:item name="character not allowed" |
| 274 |
class="content-model-error"> |
| 275 |
<d:message xml:lang="en">Data character is not allowed in this |
| 276 |
context.</d:message> |
| 277 |
<d:desc xml:lang="en"> |
| 278 |
<p>A data character appears where it is not allowed in this |
| 279 |
context. The document is non-conforming.</p> |
| 280 |
|
| 281 |
<p>Possible causes: |
| 282 |
<dl> |
| 283 |
<dt>If the erred element is an inline-level element (such |
| 284 |
as <code>a</code> or <code>span</code>)</dt> |
| 285 |
<dd><p>A data character cannot be a child |
| 286 |
of certain sectioning elements such as <code>body</code>, |
| 287 |
<code>section</code>, and <code>blockquote</code>.</p> |
| 288 |
|
| 289 |
<p>Any inline-level content must be put |
| 290 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
| 291 |
<dt>If the erred element is a block-level element (such as |
| 292 |
<code>div</code> or <code>h<var>n</var></code>)</dt> |
| 293 |
<dd><p>Though some elements such as <code>div</code>, |
| 294 |
<code>li</code>, and <code>td</code> allow |
| 295 |
<em>either one</em> of block-level or inline-level content |
| 296 |
is allowed. If there is a block-level content, |
| 297 |
any inline-level content must be put |
| 298 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
| 299 |
</dl> |
| 300 |
</p> |
| 301 |
</d:desc> |
| 302 |
</d:item> |
| 303 |
|
| 304 |
<d:item name="child element missing" |
| 305 |
class="content-model-error"> |
| 306 |
<d:message xml:lang="en">There must be a <code><var>$0</var></code> |
| 307 |
element as a child of this element.</d:message> |
| 308 |
<d:desc xml:lang="en"> |
| 309 |
<p>The content model of the element is so defined that it |
| 310 |
must contain a <code><var>$0</var></code> child element. |
| 311 |
The document is non-conforming.</p> |
| 312 |
|
| 313 |
<p>For example: |
| 314 |
<ul> |
| 315 |
<li>The <code>head</code> element must contain exactly one |
| 316 |
<code>title</code> child element.</li> |
| 317 |
<li><a href="#child-element-missing:td%7Cth">The <code>tr</code> |
| 318 |
element must contain one or more <code>td</code> or <code>th</code> |
| 319 |
child element.</a></li> |
| 320 |
</ul> |
| 321 |
</p> |
| 322 |
</d:desc> |
| 323 |
</d:item> |
| 324 |
|
| 325 |
<d:item name="child element missing:td|th" |
| 326 |
class="content-model-error"> |
| 327 |
<d:message xml:lang="en">There must be a <code>td</code> |
| 328 |
or <code>th</code> element as a child of this element.</d:message> |
| 329 |
<d:desc xml:lang="en"> |
| 330 |
<p>The <code>tr</code> element must contain at least one |
| 331 |
<code>td</code> or <code>th</code> child element. The document |
| 332 |
is non-conforming.</p> |
| 333 |
</d:desc> |
| 334 |
</d:item> |
| 335 |
|
| 336 |
<d:item name="element not allowed" |
| 337 |
class="content-model-error"> |
| 338 |
<d:message xml:lang="en">This element is not allowed in this |
| 339 |
context.</d:message> |
| 340 |
<d:desc xml:lang="en"> |
| 341 |
<p>An element appears where it is not allowed. The document |
| 342 |
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: |
| 348 |
<dl> |
| 349 |
<dt>If the erred element is an inline-level element (such |
| 350 |
as <code>a</code> or <code>span</code>)</dt> |
| 351 |
<dd><p>An inline-level element cannot be a child |
| 352 |
of certain sectioning elements such as <code>body</code>, |
| 353 |
<code>section</code>, and <code>blockquote</code>.</p> |
| 354 |
|
| 355 |
<p>Any inline-level content must be put |
| 356 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
| 357 |
<dt>If the erred element is a block-level element (such as |
| 358 |
<code>div</code> or <code>h<var>n</var></code>)</dt> |
| 359 |
<dd><p>Though some elements such as <code>div</code>, |
| 360 |
<code>li</code>, and <code>td</code> allow |
| 361 |
<em>either one</em> of block-level or inline-level content |
| 362 |
is allowed. If there is a block-level content, |
| 363 |
any inline-level content must be put |
| 364 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
| 365 |
<dt>If the erred element is the root <code>html</code> element</dt> |
| 366 |
<dd><p>In an XHTML document, the root <code>html</code> |
| 367 |
element must have an <code>xmlns</code> attribute |
| 368 |
whose value is set to |
| 369 |
<code>http://www.w3.org/1999/xhtml</code>.</p></dd> |
| 370 |
</dl> |
| 371 |
</p> |
| 372 |
</d:desc> |
| 373 |
</d:item> |
| 374 |
|
| 375 |
</section> |
| 376 |
|
| 377 |
<section id="attribute-errors"> |
| 378 |
<h2>Attribute Errors</h2> |
| 379 |
|
| 380 |
<d:item name="attribute missing" |
| 381 |
class="attribute-error"> |
| 382 |
<d:message xml:lang="en">Required attribute <code><var>$0</var></code> |
| 383 |
is not specified.</d:message> |
| 384 |
<d:desc> |
| 385 |
<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 |
</section> |
| 501 |
|
| 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> |
| 578 |
|
| 579 |
<section id="unsupported-messages"> |
| 580 |
<h2><i>Unsupported</i> Messages</h2> |
| 581 |
|
| 582 |
<d:item name="attribute" |
| 583 |
class="unsupported" level="unsupported"> |
| 584 |
<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> |
| 586 |
<d:desc xml:lang="en"> |
| 587 |
<p>The conformant checker does not support the attribute. |
| 588 |
It cannot determine whether the document is conforming or not.</p> |
| 589 |
</d:desc> |
| 590 |
</d:item> |
| 591 |
|
| 592 |
<d:item name="element" |
| 593 |
class="unsupported" level="unsupported"> |
| 594 |
<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> |
| 596 |
<d:desc xml:lang="en"> |
| 597 |
<p>The conformant checker does not support the element. |
| 598 |
It cannot determine whether the document is conforming or not.</p> |
| 599 |
</d:desc> |
| 600 |
</d:item> |
| 601 |
|
| 602 |
<d:item name="link type" |
| 603 |
class="unsupported" level="unsupported"> |
| 604 |
<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; |
| 606 |
<em>it is non-conforming unless it has now been registered</em>.</d:message> |
| 607 |
<d:desc xml:lang="en"> |
| 608 |
<p>The <code>rel</code> attribute is defined as a list of link types. |
| 609 |
Some common link types are defined in the HTML5 specification. |
| 610 |
Additional link types can be registered to the WHATWG Wiki. |
| 611 |
use of any other link type is non-conforming.</p> |
| 612 |
|
| 613 |
<p>The specified link type is not part of the standard or registry |
| 614 |
when the database used by the conformance cheker is created. |
| 615 |
The link type might have been added to the registry since then. |
| 616 |
In such case it might be conforming. Otherwise, the |
| 617 |
document is non-conforming.</p> |
| 618 |
</d:desc> |
| 619 |
</d:item> |
| 620 |
|
| 621 |
</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"> |
| 633 |
<h2>License of This Document</h2> |
| 634 |
|
| 635 |
<p>Copyright 2007 <a href="http://suika.fam.cx/~wakaba/who?">Wakaba</a></p> |
| 636 |
<p>This library is free software; you can redistribute it |
| 637 |
and/or modify it under the same terms as Perl itself.</p> |
| 638 |
</section> |
| 639 |
|
| 640 |
<!-- $Date: 2007/07/16 08:38:48 $ --> |
| 641 |
</body> |
| 642 |
</html> |