8 |
<body> |
<body> |
9 |
<h1>Description of Errors</h1> |
<h1>Description of Errors</h1> |
10 |
|
|
11 |
<section id="html5-parse-errors"> |
<section id="html5-tokenize-error"> |
12 |
<h2>HTML5 Parse Errors</h2> |
<h2>HTML5 Parse Errors in Tokenization Stage</h2> |
|
|
|
|
<div class="section parse-error" id="after-head"><h3>The <code><var>$0</var></code> element cannot be |
|
|
inserted between <code>head</code> and <code>body</code> elements.</h3> |
|
|
<p>A start tag occurs after the <code>head</code> element is closed |
|
|
but before the <code>body</code> element is opened. |
|
|
The document is non-conforming.</p> |
|
|
</div> |
|
13 |
|
|
14 |
<div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with same name.</h3> |
<div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with same name.</h3> |
15 |
<p>Attributes must be unique in an element. Specifying |
<p>Attributes must be unique in an element. Specifying |
34 |
|
|
35 |
</section> |
</section> |
36 |
|
|
37 |
|
<section id="html5-parse-errors"> |
38 |
|
<h2>HTML5 Parse Errors in Tree Construction Stage</h2> |
39 |
|
|
40 |
|
<div class="section parse-error" id="after-head"><h3>The <code><var>$0</var></code> element cannot be |
41 |
|
inserted between <code>head</code> and <code>body</code> elements.</h3> |
42 |
|
<p>A start tag occurs after the <code>head</code> element is closed |
43 |
|
but before the <code>body</code> element is opened. |
44 |
|
The document is non-conforming.</p> |
45 |
|
</div> |
46 |
|
|
47 |
|
<div class="section parse-error" id="no-DOCTYPE"><h3>This document does not start with the |
48 |
|
<code>DOCTYPE</code> declaration.</h3></div> |
49 |
|
|
50 |
|
<div class="section parse-error" id="not-closed"><h3>Element <code><var>$0</var></code> is not |
51 |
|
closed.</h3></div> |
52 |
|
|
53 |
|
<div class="section parse-error" id="not-HTML5"><h3>This document is written in an old version of |
54 |
|
HTML.</h3></div> |
55 |
|
|
56 |
|
<div class="section parse-error" id="unmatched-end-tag"><h3>Element <code><var>$0</var></code> is not |
57 |
|
opened.</h3></div> |
58 |
|
|
59 |
|
</section> |
60 |
|
|
61 |
<section id="element-content-model-errors"> |
<section id="element-content-model-errors"> |
62 |
<h2>Element Content Model Errors</h2> |
<h2>Element Content Model Errors</h2> |
63 |
|
|
144 |
</p> |
</p> |
145 |
</div> |
</div> |
146 |
|
|
147 |
enumerated:invalid;attribute-error;This attribute only allow a limited set of values and the specified value is not one of them. |
</section> |
148 |
no DOCTYPE;parse-error;This document does not start with the <code>DOCTYPE</code> declaration. |
|
149 |
not HTML5;parse-error;This document is written in an old version of HTML. |
<section id="attribute-value-errors"> |
150 |
not closed;parse-error;Element <code>$0</code> is not closed. |
<h2>Attribute Value Errors</h2> |
151 |
unmatched end tag;parse-error;Element <code>$0</code> is not opened. |
|
152 |
|
<div class="section attribute-error" id="enumerated:invalid"><h3>This attribute only allow a limited set of |
153 |
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. |
values and the specified value is not one of them.</h3></div> |
154 |
|
|
155 |
s:IMT:obsolete subtype;should;An <em>obsolete</em> subtype is used. |
</section> |
156 |
s:IMT:private subtype;should;A private (<code>x-</code> or <code>x.</code>) subtype is used. |
|
157 |
s:IMT:unregistered subtype;should;The subtype is not registered to IANA. |
<section id="table-model-errors"> |
158 |
|
<h2>Table Model Errors</h2> |
159 |
|
|
160 |
|
<div class="section table-model-error" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or |
161 |
|
<code>th</code>) in the last row.</h3></div> |
162 |
|
|
163 |
|
</section> |
164 |
|
|
165 |
|
<section id="imt-warnings"> |
166 |
|
<h2>Internet Media Type Warnings</h2> |
167 |
|
|
168 |
s:URI::empty path;should;This IRI should explicitly end with <code>/</code>. |
<div class="section should" id="s:IMT:obsolete-subtype"><h3>An <em>obsolete</em> subtype is used.</h3></div> |
169 |
m:URI::syntax error;must;This IRI is not syntactically valid. |
|
170 |
|
<div class="section should" id="s:IMT:private-subtype"><h3>A private (<code>x-</code> or <code>x.</code>) |
171 |
|
subtype is used.</h3></div> |
172 |
|
|
173 |
|
<div class="section should" id="s:IMT:unregistered-subtype"><h3>The subtype is not registered to IANA.</h3></div> |
174 |
|
|
175 |
|
</section> |
176 |
|
|
177 |
|
<section id="uri-errors"> |
178 |
|
<h2>URI (or IRI) Errors</h2> |
179 |
|
|
180 |
|
<div class="section must" id="m:URI::syntax-error"><h3>This string is not an IRI syntactically.</h3></div> |
181 |
|
|
182 |
|
</section> |
183 |
|
|
184 |
|
<section id="uri-errors"> |
185 |
|
<h2>URI (or IRI) Errors</h2> |
186 |
|
|
187 |
|
<div class="section should" id="s:URI::empty-path"><h3>This IRI should explicitly end with |
188 |
|
<code>/</code>.</h3></div> |
189 |
|
|
190 |
</section> |
</section> |
191 |
|
|
221 |
|
|
222 |
</section> |
</section> |
223 |
|
|
224 |
|
<d:catalog> |
225 |
|
manakaiCompatMode:quirks;;Quirks Mode |
226 |
|
manakaiCompatMode:limited quirks;;Limited Quirks Mode |
227 |
|
manakaiCompatMode:no quirks;;No Quirks Mode |
228 |
|
|
229 |
|
manakaiIsHTML:1;;HTML Document |
230 |
|
manakaiIsHTML:0;;XML Document |
231 |
|
</d:catalog> |
232 |
|
|
233 |
<section id="license"> |
<section id="license"> |
234 |
<h2>License of This Document</h2> |
<h2>License of This Document</h2> |
235 |
|
|