| 28 |
</d:desc> |
</d:desc> |
| 29 |
</d:item> |
</d:item> |
| 30 |
|
|
| 31 |
|
<d:item name="after body" |
| 32 |
|
class="parse-error"> |
| 33 |
|
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
| 34 |
|
is not allowed after the end tag <code></body></code>.</d:message> |
| 35 |
|
<d:desc xml:lang="en"> |
| 36 |
|
<p>The start or end tag of an element appears after the |
| 37 |
|
<code>body</code> element has been closed. The document is |
| 38 |
|
non-conforming.</p> |
| 39 |
|
|
| 40 |
|
<p>Any content of the document other than <code>head</code> |
| 41 |
|
contents and comments must be put into the <code>body</code> |
| 42 |
|
element.</p> |
| 43 |
|
</d:desc> |
| 44 |
|
</d:item> |
| 45 |
|
|
| 46 |
<d:item name="bare ero" |
<d:item name="bare ero" |
| 47 |
class="tokenize-error"> |
class="tokenize-error"> |
| 48 |
<d:message xml:lang="en">The <code>&</code> character must |
<d:message xml:lang="en">The <code>&</code> character must |
| 78 |
</d:desc> |
</d:desc> |
| 79 |
</d:item> |
</d:item> |
| 80 |
|
|
| 81 |
|
<d:item name="bare etago" |
| 82 |
|
class="tokenize-error"> |
| 83 |
|
<d:message xml:lang="en">A <code></</code> string is not followed |
| 84 |
|
by a tag name.</d:message><!-- </ EOF --> |
| 85 |
|
<d:desc xml:lang="en"> |
| 86 |
|
<p>There is a <code><</code> (<code>U+003C</code> |
| 87 |
|
<code class="charname">LESS-THAN SIGN</code>) character |
| 88 |
|
immediately followed by a <code>/</code> (<code>U+005F</code> |
| 89 |
|
<code>SOLIDUS</code>) character, which is not part |
| 90 |
|
of any end tag, in the input stream. The document |
| 91 |
|
is non-conforming.</p> |
| 92 |
|
|
| 93 |
|
<p>The <code></</code> sequence immediately followed |
| 94 |
|
by an <abbr title="End of file pseudo-character">EOF</abbr> is |
| 95 |
|
interpreted as a string data of <code></</code>.</p> |
| 96 |
|
|
| 97 |
|
<p>The <code></</code> sequence as string data must |
| 98 |
|
be escaped as: |
| 99 |
|
<pre class="html example"><code>&lt;/</code></pre> |
| 100 |
|
</p> |
| 101 |
|
</d:desc> |
| 102 |
|
</d:item> |
| 103 |
|
|
| 104 |
<d:item name="bare stago" |
<d:item name="bare stago" |
| 105 |
class="tokenize-error"> |
class="tokenize-error"> |
| 106 |
<d:message xml:lang="en">A <code><</code> character is not followed |
<d:message xml:lang="en">A <code><</code> character is not followed |
| 107 |
by tag name or by a <code>!</code> character.</d:message> |
by tag name or by a <code>!</code> character.</d:message> |
| 108 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 109 |
<p>A <code><</code> (<code>U+003C</code> <code class="charname">LESS-THAN |
<p>A <code><</code> (<code>U+003C</code> |
| 110 |
SIGN</code>) character which is not part of any markup appears |
<code class="charname">LESS-THAN SIGN</code>) character which is not part |
| 111 |
in the input stream.</p> |
of any markup appears in the input stream.</p> |
| 112 |
|
|
| 113 |
<p>The <code><</code> character as a data character must |
<p>The <code><</code> character as a data character must |
| 114 |
be escaped as: |
be escaped as: |
| 115 |
<pre class="html example"><code><lt;</code></pre> |
<pre class="html example"><code>&lt;</code></pre> |
| 116 |
</p> |
</p> |
| 117 |
</d:desc> |
</d:desc> |
| 118 |
</d:item> |
</d:item> |
| 130 |
The document is non-conforming.</p> |
The document is non-conforming.</p> |
| 131 |
|
|
| 132 |
<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 |
|
| 133 |
of a reference: |
of a reference: |
| 134 |
<dl> |
<dl> |
| 135 |
<dt>Numeric character reference</dt> |
<dt>Numeric character reference</dt> |
| 144 |
</p> |
</p> |
| 145 |
|
|
| 146 |
<p>To represent <code>&#</code> as data characters, use |
<p>To represent <code>&#</code> as data characters, use |
| 147 |
named entity reference: |
a named entity reference for the <code>&</code> character: |
| 148 |
<pre class="html example"><code>&amp;#</code></pre> |
<pre class="html example"><code>&amp;#</code></pre> |
| 149 |
</p> |
</p> |
| 150 |
</d:desc> |
</d:desc> |
| 166 |
of the code point of the character to be referenced.</p> |
of the code point of the character to be referenced.</p> |
| 167 |
|
|
| 168 |
<p>To represent <code>&#x</code> as data characters, use |
<p>To represent <code>&#x</code> as data characters, use |
| 169 |
named entity reference: |
a named entity reference for the <code>&</code> character: |
| 170 |
<pre class="html example"><code>&amp;#x</code></pre> |
<pre class="html example"><code>&amp;#x</code></pre> |
| 171 |
</p> |
</p> |
| 172 |
</d:desc> |
</d:desc> |
| 173 |
</d:item> |
</d:item> |
| 174 |
|
|
| 175 |
|
<d:item name="bogus end tag" |
| 176 |
|
class="tokenize-error"> |
| 177 |
|
<d:message xml:lang="en">A <code></</code> string is not followed |
| 178 |
|
by a tag name.</d:message><!-- </ non-name-start-char-non-EOF --> |
| 179 |
|
<d:desc xml:lang="en"> |
| 180 |
|
<p>There is a <code><</code> (<code>U+003C</code> |
| 181 |
|
<code class="charname">LESS-THAN SIGN</code>) character |
| 182 |
|
immediately followed by a <code>/</code> (<code>U+005F</code> |
| 183 |
|
<code>SOLIDUS</code>) character, which is not part |
| 184 |
|
of any end tag, in the input stream. The document |
| 185 |
|
is non-conforming.</p> |
| 186 |
|
|
| 187 |
|
<p>The <code></</code> sequence not followed by a |
| 188 |
|
tag name is parsed as an opening of bogus comment.</p> |
| 189 |
|
|
| 190 |
|
<p>The <code></</code> sequence as string data must |
| 191 |
|
be escaped as: |
| 192 |
|
<pre class="html example"><code>&lt;/</code></pre> |
| 193 |
|
</p> |
| 194 |
|
</d:desc> |
| 195 |
|
</d:item> |
| 196 |
|
|
| 197 |
<d:item name="dash in comment" |
<d:item name="dash in comment" |
| 198 |
class="tokenize-error"> |
class="tokenize-error"> |
| 199 |
<d:message xml:lang="en">There is a <code>--</code> sequence |
<d:message xml:lang="en">There is a <code>--</code> sequence |
| 213 |
|
|
| 214 |
<d:item name="duplicate attribute" |
<d:item name="duplicate attribute" |
| 215 |
class="tokenize-error"> |
class="tokenize-error"> |
| 216 |
<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 |
| 217 |
|
<code><var>$0</var></code>.</d:message> |
| 218 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 219 |
<p>There are more than one attributes with the same |
<p>There are more than one attributes with the same |
| 220 |
name in a tag. The document is non-conforming.</p> |
name in a tag. The document is non-conforming.</p> |
| 263 |
<p>Instead of XML style sheet, |
<p>Instead of XML style sheet, |
| 264 |
<abbr title="processing instruction">PI</abbr>s, you must |
<abbr title="processing instruction">PI</abbr>s, you must |
| 265 |
use the HTML <code>link</code> element whose <code>rel</code> |
use the HTML <code>link</code> element whose <code>rel</code> |
| 266 |
attribute is set to <code>stylesheet</code> (or <code>alternate |
attribute is set to <code>stylesheet</code> (or |
| 267 |
stylesheet</code> for an aleternate style sheet).</p> |
<code>alternate stylesheet</code> for an aleternate style sheet).</p> |
| 268 |
|
|
| 269 |
<p>Web browsers will parse processing instructions as bogus |
<p>Web browsers will parse processing instructions as bogus |
| 270 |
comments. Some legacy Web browsers, such as IE:mac and |
comments. Some legacy Web browsers, such as IE:mac and |
| 393 |
|
|
| 394 |
<d:item name="no DOCTYPE" |
<d:item name="no DOCTYPE" |
| 395 |
class="parse-error"> |
class="parse-error"> |
| 396 |
<d:message xml:lang="en">This document does not start with the |
<d:message xml:lang="en">This document does not start with a |
| 397 |
<code>DOCTYPE</code>.</d:message> |
<code>DOCTYPE</code>.</d:message> |
| 398 |
<d:desc> |
<d:desc> |
| 399 |
<p>The document does not start with a <code>DOCTYPE</code>. |
<p>The document does not start with a <code>DOCTYPE</code>. |
| 419 |
</d:desc> |
</d:desc> |
| 420 |
</d:item> |
</d:item> |
| 421 |
|
|
| 422 |
|
<d:item name="not first start tag" |
| 423 |
|
class="parse-error"> |
| 424 |
|
<d:message xml:lang="en">This <code><html></code> tag is not |
| 425 |
|
the first start tag.</d:message> |
| 426 |
|
<d:desc> |
| 427 |
|
<p>There is a start tag of the <code>html</code> element |
| 428 |
|
that it not the first start tag in the input stream. |
| 429 |
|
The document is non-conforming.</p> |
| 430 |
|
|
| 431 |
|
<p>In an HTML document, there cannot be more than one |
| 432 |
|
<code>html</code> element and therefore there cannot be |
| 433 |
|
more than one <code><html></code> tag. In addition, |
| 434 |
|
nothing can be placed before the <code><html></code> tag |
| 435 |
|
except a <code>DOCTYPE</code>, white space characters, |
| 436 |
|
and comments.</p> |
| 437 |
|
</d:desc> |
| 438 |
|
</d:item> |
| 439 |
|
|
| 440 |
<d:item name="not HTML5" |
<d:item name="not HTML5" |
| 441 |
class="parse-error"> |
class="parse-error"> |
| 442 |
<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 |
| 443 |
HTML.</d:message> |
HTML.</d:message> |
| 444 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 445 |
<p>The document contains a <code>DOCTYPE</code> declaration |
<p>The document contains a <code>DOCTYPE</code> declaration |
| 446 |
that is different from HTML5 <code>DOCTYPE</code> (i.e. <code><!DOCTYPE |
that is different from HTML5 <code>DOCTYPE</code> (i.e. |
| 447 |
HTML></code>). The document is non-conforming.</p> |
<code><!DOCTYPE HTML></code>). The document is non-conforming.</p> |
| 448 |
|
|
| 449 |
<p>The document might or might not be conformant to |
<p>The document might or might not be conformant to |
| 450 |
some version of HTML. However, conformance to any HTML |
some version of HTML. However, conformance to any HTML |
| 481 |
context. The document is non-conforming.</p> |
context. The document is non-conforming.</p> |
| 482 |
|
|
| 483 |
<p>Possible causes: |
<p>Possible causes: |
| 484 |
<dl> |
<ul> |
| 485 |
<dt>If the erred element is an inline-level element (such |
<li><p>A data character cannot be a child |
| 486 |
as <code>a</code> or <code>span</code>)</dt> |
of certain sectioning elements such as <code>body</code>, |
| 487 |
<dd><p>A data character cannot be a child |
<code>section</code>, and <code>blockquote</code>.</p> |
| 488 |
of certain sectioning elements such as <code>body</code>, |
|
| 489 |
<code>section</code>, and <code>blockquote</code>.</p> |
<p>Any inline-level content must be put |
| 490 |
|
in e.g. paragraph element such as <code>p</code>.</p></li> |
| 491 |
<p>Any inline-level content must be put |
<li><p>Though some elements such as <code>div</code>, |
| 492 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
<code>li</code>, and <code>td</code> allow |
| 493 |
<dt>If the erred element is a block-level element (such as |
<em>either one</em> of block-level or inline-level content |
| 494 |
<code>div</code> or <code>h<var>n</var></code>)</dt> |
is allowed. If there is a block-level content, |
| 495 |
<dd><p>Though some elements such as <code>div</code>, |
any inline-level content must be put |
| 496 |
<code>li</code>, and <code>td</code> allow |
in e.g. paragraph element such as <code>p</code>.</p></li> |
| 497 |
<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> |
|
| 498 |
</p> |
</p> |
| 499 |
</d:desc> |
</d:desc> |
| 500 |
</d:item> |
</d:item> |
| 543 |
<em>not</em> support form elements yet.</p> |
<em>not</em> support form elements yet.</p> |
| 544 |
|
|
| 545 |
<p>Possible causes: |
<p>Possible causes: |
| 546 |
<dl> |
<dl class="switch"> |
| 547 |
<dt>If the erred element is an inline-level element (such |
<dt>If the element with the error is an inline-level element, |
| 548 |
as <code>a</code> or <code>span</code>)</dt> |
such as <code>a</code>, <code>progress</code>, or <code>img</code></dt> |
| 549 |
<dd><p>An inline-level element cannot be a child |
<dd><p>An inline-level element cannot be a child |
| 550 |
of certain sectioning elements such as <code>body</code>, |
of certain sectioning elements such as <code>body</code>, |
| 551 |
<code>section</code>, and <code>blockquote</code>.</p> |
<code>section</code>, and <code>blockquote</code>.</p> |
| 552 |
|
|
| 553 |
<p>Any inline-level content must be put |
<p>Any inline-level content must be put |
| 554 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
| 555 |
<dt>If the erred element is a block-level element (such as |
<dt>If the element with the error is a block-level element, |
| 556 |
<code>div</code> or <code>h<var>n</var></code>)</dt> |
such as <code>div</code>, <code>h<var>n</var></code>, or |
| 557 |
|
<code>section</code></dt> |
| 558 |
<dd><p>Though some elements such as <code>div</code>, |
<dd><p>Though some elements such as <code>div</code>, |
| 559 |
<code>li</code>, and <code>td</code> allow |
<code>li</code>, and <code>td</code> allow |
| 560 |
<em>either one</em> of block-level or inline-level content |
<em>either one</em> of block-level or inline-level content |
| 561 |
is allowed. If there is a block-level content, |
is allowed. If there is a block-level content, |
| 562 |
any inline-level content must be put |
any inline-level content must be put |
| 563 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
| 564 |
<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> |
| 565 |
|
<dd>The <code>noscript</code> element is allowed only in the context |
| 566 |
|
where a block-level or inline-level content is expected |
| 567 |
|
and in the <code>head</code> element. |
| 568 |
|
It cannot be used in e.g. <code>ul</code>, <code>table</code>, |
| 569 |
|
or <code>select</code>.</dd> |
| 570 |
|
<dt>If the element with the error is the <code>html</code> element |
| 571 |
|
that is the root element of an XHTML document</dt> |
| 572 |
<dd><p>In an XHTML document, the root <code>html</code> |
<dd><p>In an XHTML document, the root <code>html</code> |
| 573 |
element must have an <code>xmlns</code> attribute |
element must have an <code>xmlns</code> attribute |
| 574 |
whose value is set to |
whose value is set to |
| 578 |
</d:desc> |
</d:desc> |
| 579 |
</d:item> |
</d:item> |
| 580 |
|
|
| 581 |
|
<d:item name="ps element missing" |
| 582 |
|
class="content-model-error"> |
| 583 |
|
<d:message xml:lang="en">There is no <code><var>$0</var></code> |
| 584 |
|
element before this element.</d:message> |
| 585 |
|
<d:desc xml:lang="en"> |
| 586 |
|
<p>There must be an element before another element, but there |
| 587 |
|
is not. The document is non-conforming.</p> |
| 588 |
|
|
| 589 |
|
<p>For example, there must be a <code>dt</code> element |
| 590 |
|
before any <code>dd</code> element.</p> |
| 591 |
|
</d:desc> |
| 592 |
|
</d:item> |
| 593 |
|
|
| 594 |
</section> |
</section> |
| 595 |
|
|
| 596 |
<section id="attribute-errors"> |
<section id="attribute-errors"> |
| 627 |
|
|
| 628 |
<p>To specify natural language information in HTML document, |
<p>To specify natural language information in HTML document, |
| 629 |
use <code>lang</code> attribute instead.</p> |
use <code>lang</code> attribute instead.</p> |
| 630 |
|
|
| 631 |
|
<p>XHTML 1.0 Appendix C was encouraged to specify both |
| 632 |
|
<code>lang</code> and <code>xml:lang</code> attributes with |
| 633 |
|
the same value. Such a duplication has <em>no effect</em> in practice. |
| 634 |
|
Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in |
| 635 |
|
XML).</p> |
| 636 |
|
|
| 637 |
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
| 638 |
from an HTML document? --> |
from an HTML document? --> |
| 639 |
</d:desc> |
</d:desc> |
| 694 |
<d:item name="enumerated:invalid" |
<d:item name="enumerated:invalid" |
| 695 |
class="attribute-value-error"> |
class="attribute-value-error"> |
| 696 |
<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 |
| 697 |
values and the specified value is not one of them.</d:message> |
values and the specified value <code><var>{@}</var></code> is not one |
| 698 |
|
of them.</d:message> |
| 699 |
</d:item> |
</d:item> |
| 700 |
|
|
| 701 |
<d:item name="duplicate ID" |
<d:item name="duplicate ID" |
| 727 |
<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> |
| 728 |
is non-conforming.</d:message> |
is non-conforming.</d:message> |
| 729 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 730 |
<p>The specified link type is non-conforming. The entire document |
<p>The specified link type is non-conforming, and therefore |
| 731 |
is non-conforming.</p> |
the document is non-conforming.</p> |
| 732 |
|
|
| 733 |
<p>For example, in place of non-conforming link type <code>copyright</code> |
<dl> |
| 734 |
you must use link type <code>license</code>.</p> |
<dt>Link type <code>contents</code></dt> |
| 735 |
|
<dd>Use link type <code>index</code>.</dd> |
| 736 |
|
<dt>Link type <code>copyright</code></dt> |
| 737 |
|
<dd>Use link type <code>license</code>.</dd> |
| 738 |
|
<dt>Link type <code>home</code></dt> |
| 739 |
|
<dd>Use link type <code>index</code>.</dd> |
| 740 |
|
<dt>Link type <code>start</code></dt> |
| 741 |
|
<dd>Use link type <code>first</code>.</dd> |
| 742 |
|
<dt>Link type <code>toc</code></dt> |
| 743 |
|
<dd>Use link type <code>index</code>.</dd> |
| 744 |
|
</dl> |
| 745 |
</d:desc> |
</d:desc> |
| 746 |
</d:item> |
</d:item> |
| 747 |
|
|
| 748 |
<d:item name="reserved browsing context name" |
<d:item name="reserved browsing context name" |
| 749 |
class="attribute-value-error"> |
class="attribute-value-error"> |
| 750 |
<d:message xml:lang="en">This browsing context name is reserved.</d:message> |
<d:message xml:lang="en">Browsing context name |
| 751 |
<d:item> |
<code><var>{@}</var></code> is reserved.</d:message> |
| 752 |
|
<d:desc xml:lang="en"> |
| 753 |
<p>The specified browsing context name is reserved. |
<p>The specified browsing context name is reserved. |
| 754 |
The document is non-conforming.</p> |
The document is non-conforming.</p> |
| 755 |
|
|
| 762 |
browsing context names <code>_blank</code>, |
browsing context names <code>_blank</code>, |
| 763 |
<code>_main</code>, and <code>_replace</code>. |
<code>_main</code>, and <code>_replace</code>. |
| 764 |
However, they are <em>not</em> conforming attribute values.</p> |
However, they are <em>not</em> conforming attribute values.</p> |
| 765 |
</d:item> |
</d:desc> |
| 766 |
</d:item> |
</d:item> |
| 767 |
|
|
| 768 |
</section> |
</section> |
| 806 |
<code>th</code>) in the last row.</d:message> |
<code>th</code>) in the last row.</d:message> |
| 807 |
</d:item> |
</d:item> |
| 808 |
|
|
| 809 |
|
<d:item name="table:rowspan extends table" |
| 810 |
|
class="table-model-error"> |
| 811 |
|
<d:message xml:lang="en">This <code>rowspan</code> attribute |
| 812 |
|
results in creating a table row that does not contain |
| 813 |
|
any cell anchored to it.</d:message> |
| 814 |
|
<d:desc xml:lang="en"> |
| 815 |
|
<p>The <code>rowspan</code> attribute value of the cell |
| 816 |
|
is so specified that it extends a table in the row axis. |
| 817 |
|
However, the extended row does not contain any cell by itself. |
| 818 |
|
The document is non-conforming.</p> |
| 819 |
|
|
| 820 |
|
<p>For example, the table below is non-conforming: |
| 821 |
|
<pre class="html non-conforming example"><code><table> |
| 822 |
|
<tbody> |
| 823 |
|
<tr><td rowspan=2></td></tr> |
| 824 |
|
</tbody> |
| 825 |
|
</table></code></pre> |
| 826 |
|
... is non-conforming, since the second row contains only |
| 827 |
|
a cell that spans the first and the second rows.</p> |
| 828 |
|
</d:desc> |
| 829 |
|
</d:item> |
| 830 |
|
|
| 831 |
</section> |
</section> |
| 832 |
|
|
| 833 |
<section id="imt-warnings"> |
<section id="imt-warnings"> |
| 835 |
|
|
| 836 |
<d:item name="IMT:obsolete subtype" |
<d:item name="IMT:obsolete subtype" |
| 837 |
class="should" level="s"> |
class="should" level="s"> |
| 838 |
<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> |
| 839 |
|
subtype is used.</d:message> |
| 840 |
</d:item> |
</d:item> |
| 841 |
|
|
| 842 |
<d:item name="IMT:private subtype" |
<d:item name="IMT:private subtype" |
| 843 |
class="should" level="s"> |
class="should" level="s"> |
| 844 |
<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 |
| 845 |
subtype is used.</d:message> |
(<code>x-</code> or <code>x.</code>) subtype is used.</d:message> |
| 846 |
</d:item> |
</d:item> |
| 847 |
|
|
| 848 |
<d:item name="IMT:unregistered subtype" |
<d:item name="IMT:unregistered subtype" |
| 849 |
class="should" level="s"> |
class="should" level="s"> |
| 850 |
<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 |
| 851 |
|
not registered to IANA.</d:message> |
| 852 |
<!-- TODO: Unknown message?? --> |
<!-- TODO: Unknown message?? --> |
| 853 |
</d:item> |
</d:item> |
| 854 |
|
|
| 859 |
|
|
| 860 |
<d:item name="URI::syntax error" |
<d:item name="URI::syntax error" |
| 861 |
class="must" level="m"> |
class="must" level="m"> |
| 862 |
<d:message xml:lang="en">This string is syntactically not an IRI.</d:message> |
<d:message xml:lang="en">The specified value is syntactically not an IRI |
| 863 |
|
reference.</d:message> |
| 864 |
|
<d:desc xml:lang="en"> |
| 865 |
|
<p>The specified value does not satisfy the syntactical requirements |
| 866 |
|
for IRI references. The document is non-conforming.</p> |
| 867 |
|
|
| 868 |
|
<p>Possible causes: |
| 869 |
|
<ul> |
| 870 |
|
<li>The string might contain one or more white space characters. |
| 871 |
|
Especially, the <code> </code> (<code>U+0020</code> |
| 872 |
|
<code class="charname">SPACE</code>) character cannot be |
| 873 |
|
used in IRI references.</li> |
| 874 |
|
</ul> |
| 875 |
|
</p> |
| 876 |
|
</d:desc> |
| 877 |
</d:item> |
</d:item> |
| 878 |
|
|
| 879 |
</section> |
</section> |
| 925 |
</d:desc> |
</d:desc> |
| 926 |
</d:item> |
</d:item> |
| 927 |
|
|
| 928 |
|
<d:item name="URI::uppercase scheme name" |
| 929 |
|
class="should" level="s"> |
| 930 |
|
<d:message xml:lang="en">URI scheme name is in uppercase.</d:message> |
| 931 |
|
<d:desc xml:lang="en"> |
| 932 |
|
<p>The scheme part of the IRI is written in uppercase letter.</p> |
| 933 |
|
|
| 934 |
|
<p>Uppercase scheme names are not required to be processed |
| 935 |
|
correctly.</p> |
| 936 |
|
<!-- @@ |
| 937 |
|
RFC 3986 3.1. |
| 938 |
|
> Although schemes are case- |
| 939 |
|
insensitive, the canonical form is lowercase and documents that |
| 940 |
|
specify schemes must do so with lowercase letters. |
| 941 |
|
|
| 942 |
|
> An implementation ... should only produce lowercase scheme names for |
| 943 |
|
consistency. |
| 944 |
|
--> |
| 945 |
|
</d:desc> |
| 946 |
|
</d:item> |
| 947 |
|
|
| 948 |
</section> |
</section> |
| 949 |
|
|
| 950 |
<section id="unsupported-messages"> |
<section id="unsupported-messages"> |