| 760 |
<section id="html5-parse-errors"> |
<section id="html5-parse-errors"> |
| 761 |
<h2>HTML5 Parse Errors in Tree Construction Stage</h2> |
<h2>HTML5 Parse Errors in Tree Construction Stage</h2> |
| 762 |
|
|
| 763 |
|
<d:item name="after after frameset" |
| 764 |
|
modules="HTML::Parser"> |
| 765 |
|
<d:message xml:lang="en">There is a start tag |
| 766 |
|
<code><<var>{text}</var>></code> is after the <code>html</code> element |
| 767 |
|
is closed.</d:message> |
| 768 |
|
<d:message xml:lang="ja"><code>html</code> 要素が閉じられた後に開始タグ |
| 769 |
|
<code><<var>{text}</var>></code> があります。</d:message> |
| 770 |
|
</d:item> |
| 771 |
|
|
| 772 |
|
<d:item name="after after frameset:/" |
| 773 |
|
modules="HTML::Parser"> |
| 774 |
|
<d:message xml:lang="en">There is an end tag |
| 775 |
|
<code></<var>{text}</var>></code> is after the <code>html</code> element |
| 776 |
|
is closed.</d:message> |
| 777 |
|
<d:message xml:lang="ja"><code>html</code> 要素が閉じられた後に終了タグ |
| 778 |
|
<code></<var>{text}</var>></code> があります。</d:message> |
| 779 |
|
</d:item> |
| 780 |
|
|
| 781 |
<d:item name="after body" |
<d:item name="after body" |
| 782 |
modules="HTML::Parser"> |
modules="HTML::Parser"> |
| 783 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> is |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> is |
| 1470 |
|
|
| 1471 |
<d:item name="element not allowed:meta charset" |
<d:item name="element not allowed:meta charset" |
| 1472 |
modules="ContentChecker::HTML"> |
modules="ContentChecker::HTML"> |
| 1473 |
<d:message xml:lang="en">The character encoding declaration must be the |
<d:message xml:lang="en">The character encoding declaration is not the |
| 1474 |
first element in the <code>head</code> element.</d:message> |
first child element in the <code>head</code> element.</d:message> |
| 1475 |
|
<d:message xml:lang="ja">文字符号化宣言が <code>head</code> |
| 1476 |
|
要素の最初の子要素ではありません。</d:message> |
| 1477 |
|
<d:desc xml:lang="en"> |
| 1478 |
|
<p>The character encoding declaration |
| 1479 |
|
(<code class="html example"><meta charset="<var>...</var>"></code> or |
| 1480 |
|
<code class="html example"><meta http-equiv=Content-Type content="text/html; charset=<var>...</var>"></code> |
| 1481 |
|
must be the first child element in the <code>head</code> element.</p> |
| 1482 |
|
|
| 1483 |
|
<p>The character encoding declaration have to occur near the beginning |
| 1484 |
|
of the document to ensure that Web browsers can be determine the |
| 1485 |
|
character encoding of the document.</p> |
| 1486 |
|
|
| 1487 |
|
<p>The <code>title</code> element and other metadata elements must |
| 1488 |
|
appear after any character encoding declaration is processed.</p> |
| 1489 |
|
</d:desc> |
| 1490 |
</d:item> |
</d:item> |
| 1491 |
|
|
| 1492 |
<d:item name="element not allowed:metadata" |
<d:item name="element not allowed:metadata" |
| 1570 |
<d:item name="element not defined" |
<d:item name="element not defined" |
| 1571 |
modules="ContentChecker"> |
modules="ContentChecker"> |
| 1572 |
<d:message xml:lang="en">This element is not defined.</d:message> |
<d:message xml:lang="en">This element is not defined.</d:message> |
| 1573 |
|
<d:message xml:lang="ja">この要素は定義されていません。</d:message> |
| 1574 |
|
<d:desc xml:lang="en"> |
| 1575 |
|
<p>The element is not one of elements allowed |
| 1576 |
|
in the latest version of relevant specifications.</p> |
| 1577 |
|
|
| 1578 |
|
<p>The element cannot be used.</p> |
| 1579 |
|
|
| 1580 |
|
<dl class="switch"> |
| 1581 |
|
<dt><code>event-source</code> element</dt> |
| 1582 |
|
<dd>The element was renamed as <em><code>eventsource</code> |
| 1583 |
|
element</em> (no hyphen).</dd> |
| 1584 |
|
<dt><code>m</code> element</dt> |
| 1585 |
|
<dd>The element was renamed as <em><code>mark</code> |
| 1586 |
|
element</em>.</dd> |
| 1587 |
|
</dl> |
| 1588 |
|
</d:desc> |
| 1589 |
</d:item> |
</d:item> |
| 1590 |
|
|
| 1591 |
<d:item name="no significant content" |
<d:item name="no significant content" |
| 1710 |
<d:item name="attribute not defined" |
<d:item name="attribute not defined" |
| 1711 |
modules="ContentChecker"> |
modules="ContentChecker"> |
| 1712 |
<d:message xml:lang="en">This attribute is not defined.</d:message> |
<d:message xml:lang="en">This attribute is not defined.</d:message> |
| 1713 |
|
<d:message xml:lang="ja">この属性は定義されていません。</d:message> |
| 1714 |
<d:desc xml:lang="en"> |
<d:desc xml:lang="en"> |
| 1715 |
<p>The attribute is not one of attributes allowed for the element |
<p>The attribute is not one of attributes allowed for the element |
| 1716 |
in the latest version of relevant specifications.</p> |
in the latest version of relevant specifications.</p> |
| 1717 |
|
|
| 1718 |
<p>The attribute cannot be used.</p> |
<p>The attribute cannot be used.</p> |
| 1719 |
|
|
| 1720 |
<dl> |
<dl class="switch"> |
| 1721 |
|
<dt><code>align</code> attribute (various HTML elements)</dt> |
| 1722 |
|
<dt><code>border</code> attribute (various HTML elements)</dt> |
| 1723 |
|
<dd>These attributes are no longer part of HTML. You can use CSS |
| 1724 |
|
properties to control the presentation of the element.</dd> |
| 1725 |
<dt><code>autosubmit</code> attribute (<code>menu</code> element)</dt> |
<dt><code>autosubmit</code> attribute (<code>menu</code> element)</dt> |
| 1726 |
<dd>The attribute was part of HTML5 draft but then dropped. |
<dd>The attribute was part of HTML5 draft but then dropped. |
| 1727 |
Similar functionality can be implemented by scripts.</dd> |
Similar functionality can be implemented by scripts.</dd> |
| 1728 |
|
<dt><code>language</code> attribute (<code>script</code> element)</dt> |
| 1729 |
|
<dd>The attribute is no longer the standard way to specify the |
| 1730 |
|
scripting language. If you are using JavaScript, then no explicit |
| 1731 |
|
specification of the scripting language is necessary, so you can |
| 1732 |
|
write the element like: |
| 1733 |
|
<p><code class="html example code"><script><br/><!-- |
| 1734 |
|
--> /* JavaScript code */<br/><!-- |
| 1735 |
|
--></script></code></p> |
| 1736 |
|
If you are using different scripting language from JavaScript, or |
| 1737 |
|
you want to declare the scripting language explicitly, you should |
| 1738 |
|
use the <code>type</code> attribute, as follows: |
| 1739 |
|
<dl class="switch"> |
| 1740 |
|
<dt>JavaScript</dt> |
| 1741 |
|
<dd>Use |
| 1742 |
|
<code class="html example"><script type="text/javascript"></code>.</dd> |
| 1743 |
|
<dt>VBScript</dt> |
| 1744 |
|
<dd>Use |
| 1745 |
|
<code class="html example"><script type="text/vbscript"></code>.</dd> |
| 1746 |
|
</dl> |
| 1747 |
|
</dd> |
| 1748 |
</dl> |
</dl> |
| 1749 |
</d:desc> |
</d:desc> |
| 1750 |
</d:item> |
</d:item> |
| 2111 |
|
|
| 2112 |
<d:item name="empty attribute value" |
<d:item name="empty attribute value" |
| 2113 |
modules="ContentChecker::HTML"> |
modules="ContentChecker::HTML"> |
| 2114 |
<d:message xml:lang="en">The attribute value must not be empty.</d:message> |
<d:message xml:lang="en">The attribute value is empty.</d:message> |
| 2115 |
|
<d:message xml:lang="ja">属性値が空です。</d:message> |
| 2116 |
|
</d:item> |
| 2117 |
|
|
| 2118 |
|
<d:item name="empty style sheet title" |
| 2119 |
|
modules="ContentChecker::HTML"> |
| 2120 |
|
<d:message xml:lang="en">The value of the <code>title</code> attribute |
| 2121 |
|
is empty.</d:message> |
| 2122 |
|
<d:message xml:lang="ja"><code>title</code> 属性の値が空です。</d:message> |
| 2123 |
|
<d:desc xml:lang="en"> |
| 2124 |
|
<p>The <code>title</code> attribute value of the <code>link</code> |
| 2125 |
|
element that defines an alternate style sheet is an empty value.</p> |
| 2126 |
|
|
| 2127 |
|
<p>A <code>link</code> element whose <code>rel</code> attribute |
| 2128 |
|
is <code>alternate stylesheet</code> defines an alternate style sheet. |
| 2129 |
|
An alternate style sheet must be associated with a name using the |
| 2130 |
|
<code>title</code> attribute. The name cannot be empty.</p> |
| 2131 |
|
</d:desc> |
| 2132 |
</d:item> |
</d:item> |
| 2133 |
|
|
| 2134 |
<d:item name="float:out of range" |
<d:item name="float:out of range" |
| 2556 |
modules="IMTChecker"> |
modules="IMTChecker"> |
| 2557 |
<d:message xml:lang="en">An obsolete Internet Media Type |
<d:message xml:lang="en">An obsolete Internet Media Type |
| 2558 |
<code><var>{value}</var></code> is used.</d:message> |
<code><var>{value}</var></code> is used.</d:message> |
| 2559 |
<d:item xml:lang="en"> |
<d:message xml:lang="ja">廃止されたインターネット媒体型 |
| 2560 |
<p>The specified Internet Media Type is registered with status |
<code><var>{value}</var></code> が使われています。</d:message> |
| 2561 |
of <i>OBSOLETE</i>.</p> |
<d:desc xml:lang="en"> |
| 2562 |
|
<p>The specified Internet Media Type is registered with its intended |
| 2563 |
|
usage as <i>OBSOLETE</i>.</p> |
| 2564 |
|
|
| 2565 |
<dl class="swtich"> |
<dl class="swtich"> |
| 2566 |
<dt>Media type <code>text/ecmascript</code></dt> |
<dt>Media type <code>text/ecmascript</code></dt> |
| 2567 |
<dd>Media type <code>text/ecmascript</code> is obsoleted in |
<dd>Media type <code>text/ecmascript</code> is obsoleted in |
| 2568 |
favor of <code>application/ecmascript</code>. Note that |
favor of <code>application/ecmascript</code>. Note that |
| 2569 |
<code>text/javascript</code> would be better alternative |
<em><code>text/javascript</code></em> would be the better alternative |
| 2570 |
for many cases.</dd> |
in many cases.</dd> |
| 2571 |
<dt>Media type <code>text/javascript</code></dt> |
<dt>Media type <code>text/javascript</code></dt> |
| 2572 |
<dd>Media type <code>text/javascript</code> is obsoleted by |
<dd>Media type <code>text/javascript</code> is obsoleted by |
| 2573 |
<abbr>IETF</abbr> with backward incompatible alternate |
<abbr>IETF</abbr> with backward incompatible alternate |
| 2574 |
<code>application/javascript</code> for architectural |
<code>application/javascript</code> for architectural |
| 2575 |
purity.<!-- @@ ref? --> Realist may ignore this warning.</dd> |
purity.<!-- @@ ref? --> Those who prefer reality to academic |
| 2576 |
|
purity <em>may ignore</em> this warning.</dd> |
| 2577 |
</dl> |
</dl> |
| 2578 |
</d:item> |
</d:desc> |
| 2579 |
</d:item> |
</d:item> |
| 2580 |
|
|
| 2581 |
<d:item name="IMT:parameter missing" |
<d:item name="IMT:parameter missing" |
| 3876 |
<d:text xml:lang="ja">位置不明</d:text> |
<d:text xml:lang="ja">位置不明</d:text> |
| 3877 |
</d:cat> |
</d:cat> |
| 3878 |
|
|
| 3879 |
<d:cat name="(Unknown)"> |
<d:cat name="(unknown)"> |
| 3880 |
<d:text xml:lang="en">(Unknown)</d:text> |
<d:text xml:lang="en">(Unknown)</d:text> |
| 3881 |
<d:text xml:lang="ja">(不明)</d:text> |
<d:text xml:lang="ja">(不明)</d:text> |
| 3882 |
</d:cat> |
</d:cat> |