| 68 |
<d:message xml:lang="en">A <code><</code> character is not followed |
<d:message xml:lang="en">A <code><</code> character is not followed |
| 69 |
by tag name or by a <code>!</code> character.</d:message> |
by tag name or by a <code>!</code> character.</d:message> |
| 70 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 71 |
<p>A <code><</code> (<code>U+003C</code> <code class="charname">LESS-THAN |
<p>A <code><</code> (<code>U+003C</code> |
| 72 |
SIGN</code>) character which is not part of any markup appears |
<code class="charname">LESS-THAN SIGN</code>) character which is not part |
| 73 |
in the input stream.</p> |
of any markup appears in the input stream.</p> |
| 74 |
|
|
| 75 |
<p>The <code><</code> character as a data character must |
<p>The <code><</code> character as a data character must |
| 76 |
be escaped as: |
be escaped as: |
| 77 |
<pre class="html example"><code><lt;</code></pre> |
<pre class="html example"><code>&lt;</code></pre> |
| 78 |
</p> |
</p> |
| 79 |
</d:desc> |
</d:desc> |
| 80 |
</d:item> |
</d:item> |
| 92 |
The document is non-conforming.</p> |
The document is non-conforming.</p> |
| 93 |
|
|
| 94 |
<p>The string <code>&#</code> must be the first two characters |
<p>The string <code>&#</code> must be the first two characters |
|
<code>NUMBER SIGN</code>) character must be the first two characters |
|
| 95 |
of a reference: |
of a reference: |
| 96 |
<dl> |
<dl> |
| 97 |
<dt>Numeric character reference</dt> |
<dt>Numeric character reference</dt> |
| 106 |
</p> |
</p> |
| 107 |
|
|
| 108 |
<p>To represent <code>&#</code> as data characters, use |
<p>To represent <code>&#</code> as data characters, use |
| 109 |
named entity reference: |
a named entity reference for the <code>&</code> character: |
| 110 |
<pre class="html example"><code>&amp;#</code></pre> |
<pre class="html example"><code>&amp;#</code></pre> |
| 111 |
</p> |
</p> |
| 112 |
</d:desc> |
</d:desc> |
| 128 |
of the code point of the character to be referenced.</p> |
of the code point of the character to be referenced.</p> |
| 129 |
|
|
| 130 |
<p>To represent <code>&#x</code> as data characters, use |
<p>To represent <code>&#x</code> as data characters, use |
| 131 |
named entity reference: |
a named entity reference for the <code>&</code> character: |
| 132 |
<pre class="html example"><code>&amp;#x</code></pre> |
<pre class="html example"><code>&amp;#x</code></pre> |
| 133 |
</p> |
</p> |
| 134 |
</d:desc> |
</d:desc> |
| 153 |
|
|
| 154 |
<d:item name="duplicate attribute" |
<d:item name="duplicate attribute" |
| 155 |
class="tokenize-error"> |
class="tokenize-error"> |
| 156 |
<d:message xml:lang="en">There are two attributes with same name.</d:message> |
<d:message xml:lang="en">There are two attributes with name |
| 157 |
|
<code><var>$0</var></code>.</d:message> |
| 158 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 159 |
<p>There are more than one attributes with the same |
<p>There are more than one attributes with the same |
| 160 |
name in a tag. The document is non-conforming.</p> |
name in a tag. The document is non-conforming.</p> |
| 183 |
</d:desc> |
</d:desc> |
| 184 |
</d:item> |
</d:item> |
| 185 |
|
|
| 186 |
|
|
| 187 |
|
<d:item name="pio" |
| 188 |
|
class="tokenize-error"> |
| 189 |
|
<d:message xml:lang="en">Processing instruction |
| 190 |
|
(<code><?<var>...</var>?></code>) cannot be used.</d:message> |
| 191 |
|
<d:desc xml:lang="en"> |
| 192 |
|
<p>Processing instructions (<code><?<var>...</var>?></code>), |
| 193 |
|
including XML declaration (<code><?xml <var>...</var>?></code>) |
| 194 |
|
and XML style sheet <abbr title="processing instruction">PI</abbr> |
| 195 |
|
(<code><xml-stylesheet <var>...</var>?></code>), are not allowed |
| 196 |
|
in the HTML syntax. The document is non-conforming.</p> |
| 197 |
|
|
| 198 |
|
<p>If it is necessary to embed a processing instruction |
| 199 |
|
in the HTML document, you must use the XML syntax instead.</p> |
| 200 |
|
|
| 201 |
|
<p>In the HTML syntax, XML declaration is not necessary.</p> |
| 202 |
|
|
| 203 |
|
<p>Instead of XML style sheet, |
| 204 |
|
<abbr title="processing instruction">PI</abbr>s, you must |
| 205 |
|
use the HTML <code>link</code> element whose <code>rel</code> |
| 206 |
|
attribute is set to <code>stylesheet</code> (or |
| 207 |
|
<code>alternate stylesheet</code> for an aleternate style sheet).</p> |
| 208 |
|
|
| 209 |
|
<p>Web browsers will parse processing instructions as bogus |
| 210 |
|
comments. Some legacy Web browsers, such as IE:mac and |
| 211 |
|
some mobile browsers, will display processing instructions |
| 212 |
|
as string.</p> |
| 213 |
|
</d:desc> |
| 214 |
|
</d:item> |
| 215 |
|
|
| 216 |
</section> |
</section> |
| 217 |
|
|
| 218 |
<section id="html5-parse-errors"> |
<section id="html5-parse-errors"> |
| 243 |
</d:desc> |
</d:desc> |
| 244 |
</d:item> |
</d:item> |
| 245 |
|
|
| 246 |
|
<d:item name="in a:a" |
| 247 |
|
class="parse-error"> |
| 248 |
|
<d:message xml:lang="en">Anchor cannot be nested.</d:message> |
| 249 |
|
<d:desc xml:lang="en"> |
| 250 |
|
<p>HTML <code>a</code> elements cannot be nested. |
| 251 |
|
The document is non-conforming.</p> |
| 252 |
|
|
| 253 |
|
<p>In the HTML syntax, a start tag of the <code>a</code> |
| 254 |
|
implies the end tag of any opening <code>a</code> element.</p> |
| 255 |
|
</d:desc> |
| 256 |
|
</d:item> |
| 257 |
|
|
| 258 |
<d:item name="in body" |
<d:item name="in body" |
| 259 |
class="parse-error"> |
class="parse-error"> |
| 260 |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
| 261 |
is not allowed in <code>body</code>.</d:message> |
is not allowed in a <code>body</code> element.</d:message> |
| 262 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 263 |
<p>The start or end tag of an element, which |
<p>The start or end tag of an element, which |
| 264 |
cannot be a descendant of <code>body</code> element, appears |
cannot be a descendant of <code>body</code> element, appears |
| 267 |
</d:desc> |
</d:desc> |
| 268 |
</d:item> |
</d:item> |
| 269 |
|
|
| 270 |
|
<d:item name="in head:head" |
| 271 |
|
class="parse-error"> |
| 272 |
|
<d:message xml:lang="en">Start tag <code><<var>head</var>></code> |
| 273 |
|
is not allowed in the <code>head</code> element.</d:message> |
| 274 |
|
<d:desc xml:lang="en"> |
| 275 |
|
<p>There is a start tag <code><head></code> in the |
| 276 |
|
<code><head></code> element. The document is non-conforming.</p> |
| 277 |
|
|
| 278 |
|
<p>In an HTML document there must not be more than |
| 279 |
|
one <code>head</code> element, therefore no more than one |
| 280 |
|
start tag <code><head></code> can appear in the input stream.</p> |
| 281 |
|
</d:desc> |
| 282 |
|
</d:item> |
| 283 |
|
|
| 284 |
<d:item name="in table" |
<d:item name="in table" |
| 285 |
class="parse-error"> |
class="parse-error"> |
| 286 |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
| 287 |
is not allowed in <code>table</code>.</d:message> |
is not allowed in a <code>table</code> element.</d:message> |
| 288 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 289 |
<p>The start or end tag of an element, which |
<p>The start or end tag of an element, which |
| 290 |
cannot be a child of <code>table</code> element, appears |
cannot be a child of <code>table</code> element, appears |
| 333 |
|
|
| 334 |
<d:item name="no DOCTYPE" |
<d:item name="no DOCTYPE" |
| 335 |
class="parse-error"> |
class="parse-error"> |
| 336 |
<d:message xml:lang="en">This document does not start with the |
<d:message xml:lang="en">This document does not start with a |
| 337 |
<code>DOCTYPE</code>.</d:message> |
<code>DOCTYPE</code>.</d:message> |
| 338 |
<d:desc> |
<d:desc> |
| 339 |
<p>The document does not start with a <code>DOCTYPE</code>. |
<p>The document does not start with a <code>DOCTYPE</code>. |
| 359 |
</d:desc> |
</d:desc> |
| 360 |
</d:item> |
</d:item> |
| 361 |
|
|
| 362 |
|
<d:item name="not first start tag" |
| 363 |
|
class="parse-error"> |
| 364 |
|
<d:message xml:lang="en">This <code><html></code> tag is not |
| 365 |
|
the first start tag.</d:message> |
| 366 |
|
<d:desc> |
| 367 |
|
<p>There is a start tag of the <code>html</code> element |
| 368 |
|
that it not the first start tag in the input stream. |
| 369 |
|
The document is non-conforming.</p> |
| 370 |
|
|
| 371 |
|
<p>In an HTML document, there cannot be more than one |
| 372 |
|
<code>html</code> element and therefore there cannot be |
| 373 |
|
more than one <code><html></code> tag. In addition, |
| 374 |
|
nothing can be placed before the <code><html></code> tag |
| 375 |
|
except a <code>DOCTYPE</code>, white space characters, |
| 376 |
|
and comments.</p> |
| 377 |
|
</d:desc> |
| 378 |
|
</d:item> |
| 379 |
|
|
| 380 |
<d:item name="not HTML5" |
<d:item name="not HTML5" |
| 381 |
class="parse-error"> |
class="parse-error"> |
| 382 |
<d:message xml:lang="en">This document is written in an old version of |
<d:message xml:lang="en">This document is written in an old version of |
| 383 |
HTML.</d:message> |
HTML.</d:message> |
| 384 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 385 |
<p>The document contains a <code>DOCTYPE</code> declaration |
<p>The document contains a <code>DOCTYPE</code> declaration |
| 386 |
that is different from HTML5 <code>DOCTYPE</code> (i.e. <code><!DOCTYPE |
that is different from HTML5 <code>DOCTYPE</code> (i.e. |
| 387 |
HTML></code>). The document is non-conforming.</p> |
<code><!DOCTYPE HTML></code>). The document is non-conforming.</p> |
| 388 |
|
|
| 389 |
<p>The document might or might not be conformant to |
<p>The document might or might not be conformant to |
| 390 |
some version of HTML. However, conformance to any HTML |
some version of HTML. However, conformance to any HTML |
| 421 |
context. The document is non-conforming.</p> |
context. The document is non-conforming.</p> |
| 422 |
|
|
| 423 |
<p>Possible causes: |
<p>Possible causes: |
| 424 |
<dl> |
<ul> |
| 425 |
<dt>If the erred element is an inline-level element (such |
<li><p>A data character cannot be a child |
| 426 |
as <code>a</code> or <code>span</code>)</dt> |
of certain sectioning elements such as <code>body</code>, |
| 427 |
<dd><p>A data character cannot be a child |
<code>section</code>, and <code>blockquote</code>.</p> |
| 428 |
of certain sectioning elements such as <code>body</code>, |
|
| 429 |
<code>section</code>, and <code>blockquote</code>.</p> |
<p>Any inline-level content must be put |
| 430 |
|
in e.g. paragraph element such as <code>p</code>.</p></li> |
| 431 |
<p>Any inline-level content must be put |
<li><p>Though some elements such as <code>div</code>, |
| 432 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
<code>li</code>, and <code>td</code> allow |
| 433 |
<dt>If the erred element is a block-level element (such as |
<em>either one</em> of block-level or inline-level content |
| 434 |
<code>div</code> or <code>h<var>n</var></code>)</dt> |
is allowed. If there is a block-level content, |
| 435 |
<dd><p>Though some elements such as <code>div</code>, |
any inline-level content must be put |
| 436 |
<code>li</code>, and <code>td</code> allow |
in e.g. paragraph element such as <code>p</code>.</p></li> |
| 437 |
<em>either one</em> of block-level or inline-level content |
</ul> |
|
is allowed. If there is a block-level content, |
|
|
any inline-level content must be put |
|
|
in e.g. paragraph element such as <code>p</code>.</p></dd> |
|
|
</dl> |
|
| 438 |
</p> |
</p> |
| 439 |
</d:desc> |
</d:desc> |
| 440 |
</d:item> |
</d:item> |
| 483 |
<em>not</em> support form elements yet.</p> |
<em>not</em> support form elements yet.</p> |
| 484 |
|
|
| 485 |
<p>Possible causes: |
<p>Possible causes: |
| 486 |
<dl> |
<dl class="switch"> |
| 487 |
<dt>If the erred element is an inline-level element (such |
<dt>If the element with the error is an inline-level element, |
| 488 |
as <code>a</code> or <code>span</code>)</dt> |
such as <code>a</code>, <code>progress</code>, or <code>img</code></dt> |
| 489 |
<dd><p>An inline-level element cannot be a child |
<dd><p>An inline-level element cannot be a child |
| 490 |
of certain sectioning elements such as <code>body</code>, |
of certain sectioning elements such as <code>body</code>, |
| 491 |
<code>section</code>, and <code>blockquote</code>.</p> |
<code>section</code>, and <code>blockquote</code>.</p> |
| 492 |
|
|
| 493 |
<p>Any inline-level content must be put |
<p>Any inline-level content must be put |
| 494 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
| 495 |
<dt>If the erred element is a block-level element (such as |
<dt>If the element with the error is a block-level element, |
| 496 |
<code>div</code> or <code>h<var>n</var></code>)</dt> |
such as <code>div</code>, <code>h<var>n</var></code>, or |
| 497 |
|
<code>section</code></dt> |
| 498 |
<dd><p>Though some elements such as <code>div</code>, |
<dd><p>Though some elements such as <code>div</code>, |
| 499 |
<code>li</code>, and <code>td</code> allow |
<code>li</code>, and <code>td</code> allow |
| 500 |
<em>either one</em> of block-level or inline-level content |
<em>either one</em> of block-level or inline-level content |
| 501 |
is allowed. If there is a block-level content, |
is allowed. If there is a block-level content, |
| 502 |
any inline-level content must be put |
any inline-level content must be put |
| 503 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
| 504 |
<dt>If the erred element is the root <code>html</code> element</dt> |
<dt>If the element with the error is a <code>noscript</code> element</dt> |
| 505 |
|
<dd>The <code>noscript</code> element is allowed only in the context |
| 506 |
|
where a block-level or inline-level content is expected |
| 507 |
|
and in the <code>head</code> element. |
| 508 |
|
It cannot be used in e.g. <code>ul</code>, <code>table</code>, |
| 509 |
|
or <code>select</code>.</dd> |
| 510 |
|
<dt>If the element with the error is the <code>html</code> element |
| 511 |
|
that is the root element of an XHTML document</dt> |
| 512 |
<dd><p>In an XHTML document, the root <code>html</code> |
<dd><p>In an XHTML document, the root <code>html</code> |
| 513 |
element must have an <code>xmlns</code> attribute |
element must have an <code>xmlns</code> attribute |
| 514 |
whose value is set to |
whose value is set to |
| 518 |
</d:desc> |
</d:desc> |
| 519 |
</d:item> |
</d:item> |
| 520 |
|
|
| 521 |
|
<d:item name="ps element missing" |
| 522 |
|
class="content-model-error"> |
| 523 |
|
<d:message xml:lang="en">There is no <code><var>$0</var></code> |
| 524 |
|
element before this element.</d:message> |
| 525 |
|
<d:desc xml:lang="en"> |
| 526 |
|
<p>There must be an element before another element, but there |
| 527 |
|
is not. The document is non-conforming.</p> |
| 528 |
|
|
| 529 |
|
<p>For example, there must be a <code>dt</code> element |
| 530 |
|
before any <code>dd</code> element.</p> |
| 531 |
|
</d:desc> |
| 532 |
|
</d:item> |
| 533 |
|
|
| 534 |
</section> |
</section> |
| 535 |
|
|
| 536 |
<section id="attribute-errors"> |
<section id="attribute-errors"> |
| 567 |
|
|
| 568 |
<p>To specify natural language information in HTML document, |
<p>To specify natural language information in HTML document, |
| 569 |
use <code>lang</code> attribute instead.</p> |
use <code>lang</code> attribute instead.</p> |
| 570 |
|
|
| 571 |
|
<p>XHTML 1.0 Appendix C was encouraged to specify both |
| 572 |
|
<code>lang</code> and <code>xml:lang</code> attributes with |
| 573 |
|
the same value. Such a duplication has <em>no effect</em> in practice. |
| 574 |
|
Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in |
| 575 |
|
XML).</p> |
| 576 |
|
|
| 577 |
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
| 578 |
from an HTML document? --> |
from an HTML document? --> |
| 579 |
</d:desc> |
</d:desc> |
| 634 |
<d:item name="enumerated:invalid" |
<d:item name="enumerated:invalid" |
| 635 |
class="attribute-value-error"> |
class="attribute-value-error"> |
| 636 |
<d:message xml:lang="en">This attribute only allow a limited set of |
<d:message xml:lang="en">This attribute only allow a limited set of |
| 637 |
values and the specified value is not one of them.</d:message> |
values and the specified value <code><var>{@}</var></code> is not one |
| 638 |
|
of them.</d:message> |
| 639 |
</d:item> |
</d:item> |
| 640 |
|
|
| 641 |
<d:item name="duplicate ID" |
<d:item name="duplicate ID" |
| 645 |
<!-- @@ <id=a xml:id=a>? --> |
<!-- @@ <id=a xml:id=a>? --> |
| 646 |
</d:item> |
</d:item> |
| 647 |
|
|
| 648 |
<d:item name="link type:bad-context" |
<d:item name="link type:bad context" |
| 649 |
class="attribute-value-error"> |
class="attribute-value-error"> |
| 650 |
<d:message xml:lang="en">The link type <code><var>$0</var></code> |
<d:message xml:lang="en">The link type <code><var>$0</var></code> |
| 651 |
cannot be specified for this element.</d:message> |
cannot be specified for this element.</d:message> |
| 667 |
<d:message xml:lang="en">The link type <code><var>$0</var></code> |
<d:message xml:lang="en">The link type <code><var>$0</var></code> |
| 668 |
is non-conforming.</d:message> |
is non-conforming.</d:message> |
| 669 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 670 |
<p>The specified link type is non-conforming. The entire document |
<p>The specified link type is non-conforming, and therefore |
| 671 |
is non-conforming.</p> |
the document is non-conforming.</p> |
| 672 |
|
|
| 673 |
<p>For example, in place of non-conforming link type <code>copyright</code> |
<dl> |
| 674 |
you must use link type <code>license</code>.</p> |
<dt>Link type <code>contents</code></dt> |
| 675 |
|
<dd>Use link type <code>index</code>.</dd> |
| 676 |
|
<dt>Link type <code>copyright</code></dt> |
| 677 |
|
<dd>Use link type <code>license</code>.</dd> |
| 678 |
|
<dt>Link type <code>home</code></dt> |
| 679 |
|
<dd>Use link type <code>index</code>.</dd> |
| 680 |
|
<dt>Link type <code>start</code></dt> |
| 681 |
|
<dd>Use link type <code>first</code>.</dd> |
| 682 |
|
<dt>Link type <code>toc</code></dt> |
| 683 |
|
<dd>Use link type <code>index</code>.</dd> |
| 684 |
|
</dl> |
| 685 |
</d:desc> |
</d:desc> |
| 686 |
</d:item> |
</d:item> |
| 687 |
|
|
| 688 |
<d:item name="reserved browsing context name" |
<d:item name="reserved browsing context name" |
| 689 |
class="attribute-value-error"> |
class="attribute-value-error"> |
| 690 |
<d:message xml:lang="en">This browsing context name is reserved.</d:message> |
<d:message xml:lang="en">Browsing context name |
| 691 |
<d:item> |
<code><var>{@}</var></code> is reserved.</d:message> |
| 692 |
|
<d:desc xml:lang="en"> |
| 693 |
<p>The specified browsing context name is reserved. |
<p>The specified browsing context name is reserved. |
| 694 |
The document is non-conforming.</p> |
The document is non-conforming.</p> |
| 695 |
|
|
| 702 |
browsing context names <code>_blank</code>, |
browsing context names <code>_blank</code>, |
| 703 |
<code>_main</code>, and <code>_replace</code>. |
<code>_main</code>, and <code>_replace</code>. |
| 704 |
However, they are <em>not</em> conforming attribute values.</p> |
However, they are <em>not</em> conforming attribute values.</p> |
| 705 |
</d:item> |
</d:desc> |
| 706 |
</d:item> |
</d:item> |
| 707 |
|
|
| 708 |
</section> |
</section> |
| 746 |
<code>th</code>) in the last row.</d:message> |
<code>th</code>) in the last row.</d:message> |
| 747 |
</d:item> |
</d:item> |
| 748 |
|
|
| 749 |
|
<d:item name="table:rowspan extends table" |
| 750 |
|
class="table-model-error"> |
| 751 |
|
<d:message xml:lang="en">This <code>rowspan</code> attribute |
| 752 |
|
results in creating a table row that does not contain |
| 753 |
|
any cell anchored to it.</d:message> |
| 754 |
|
<d:desc xml:lang="en"> |
| 755 |
|
<p>The <code>rowspan</code> attribute value of the cell |
| 756 |
|
is so specified that it extends a table in the row axis. |
| 757 |
|
However, the extended row does not contain any cell by itself. |
| 758 |
|
The document is non-conforming.</p> |
| 759 |
|
|
| 760 |
|
<p>For example, the table below is non-conforming: |
| 761 |
|
<pre class="html non-conforming example"><code><table> |
| 762 |
|
<tbody> |
| 763 |
|
<tr><td rowspan=2></td></tr> |
| 764 |
|
</tbody> |
| 765 |
|
</table></code></pre> |
| 766 |
|
... is non-conforming, since the second row contains only |
| 767 |
|
a cell that spans the first and the second rows.</p> |
| 768 |
|
</d:desc> |
| 769 |
|
</d:item> |
| 770 |
|
|
| 771 |
</section> |
</section> |
| 772 |
|
|
| 773 |
<section id="imt-warnings"> |
<section id="imt-warnings"> |
| 775 |
|
|
| 776 |
<d:item name="IMT:obsolete subtype" |
<d:item name="IMT:obsolete subtype" |
| 777 |
class="should" level="s"> |
class="should" level="s"> |
| 778 |
<d:message xml:lang="en">An <em>obsolete</em> subtype is used.</d:message> |
<d:message xml:lang="en"><code><var>{@}</var></code>: An <em>obsolete</em> |
| 779 |
|
subtype is used.</d:message> |
| 780 |
</d:item> |
</d:item> |
| 781 |
|
|
| 782 |
<d:item name="IMT:private subtype" |
<d:item name="IMT:private subtype" |
| 783 |
class="should" level="s"> |
class="should" level="s"> |
| 784 |
<d:message xml:lang="en">A private (<code>x-</code> or <code>x.</code>) |
<d:message xml:lang="en"><code><var>{@}</var></code>: A private |
| 785 |
subtype is used.</d:message> |
(<code>x-</code> or <code>x.</code>) subtype is used.</d:message> |
| 786 |
</d:item> |
</d:item> |
| 787 |
|
|
| 788 |
<d:item name="IMT:unregistered subtype" |
<d:item name="IMT:unregistered subtype" |
| 789 |
class="should" level="s"> |
class="should" level="s"> |
| 790 |
<d:message xml:lang="en">The subtype is not registered to IANA.</d:message> |
<d:message xml:lang="en"><code><var>{@}</var></code>: The subtype is |
| 791 |
|
not registered to IANA.</d:message> |
| 792 |
<!-- TODO: Unknown message?? --> |
<!-- TODO: Unknown message?? --> |
| 793 |
</d:item> |
</d:item> |
| 794 |
|
|
| 799 |
|
|
| 800 |
<d:item name="URI::syntax error" |
<d:item name="URI::syntax error" |
| 801 |
class="must" level="m"> |
class="must" level="m"> |
| 802 |
<d:message xml:lang="en">This string is not an IRI syntactically.</d:message> |
<d:message xml:lang="en">The specified value is syntactically not an IRI |
| 803 |
|
reference.</d:message> |
| 804 |
|
<d:desc xml:lang="en"> |
| 805 |
|
<p>The specified value does not satisfy the syntactical requirements |
| 806 |
|
for IRI references. The document is non-conforming.</p> |
| 807 |
|
|
| 808 |
|
<p>Possible causes: |
| 809 |
|
<ul> |
| 810 |
|
<li>The string might contain one or more white space characters. |
| 811 |
|
Especially, the <code> </code> (<code>U+0020</code> |
| 812 |
|
<code class="charname">SPACE</code>) character cannot be |
| 813 |
|
used in IRI references.</li> |
| 814 |
|
</ul> |
| 815 |
|
</p> |
| 816 |
|
</d:desc> |
| 817 |
</d:item> |
</d:item> |
| 818 |
|
|
| 819 |
</section> |
</section> |
| 865 |
</d:desc> |
</d:desc> |
| 866 |
</d:item> |
</d:item> |
| 867 |
|
|
| 868 |
|
<d:item name="URI::uppercase scheme name" |
| 869 |
|
class="should" level="s"> |
| 870 |
|
<d:message xml:lang="en">URI scheme name is in uppercase.</d:message> |
| 871 |
|
<d:desc xml:lang="en"> |
| 872 |
|
<p>The scheme part of the IRI is written in uppercase letter.</p> |
| 873 |
|
|
| 874 |
|
<p>Uppercase scheme names are not required to be processed |
| 875 |
|
correctly.</p> |
| 876 |
|
<!-- @@ |
| 877 |
|
RFC 3986 3.1. |
| 878 |
|
> Although schemes are case- |
| 879 |
|
insensitive, the canonical form is lowercase and documents that |
| 880 |
|
specify schemes must do so with lowercase letters. |
| 881 |
|
|
| 882 |
|
> An implementation ... should only produce lowercase scheme names for |
| 883 |
|
consistency. |
| 884 |
|
--> |
| 885 |
|
</d:desc> |
| 886 |
|
</d:item> |
| 887 |
|
|
| 888 |
</section> |
</section> |
| 889 |
|
|
| 890 |
<section id="unsupported-messages"> |
<section id="unsupported-messages"> |