1 |
wakaba |
1.1 |
<!DOCTYPE html><html id="error-description" lang="ja" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml"> |
2 |
|
|
<head> |
3 |
|
|
<base href="cc/"> |
4 |
|
|
|
5 |
|
|
<link href="../cc-style" rel="stylesheet"> |
6 |
|
|
<link href="#license" rel="license"> |
7 |
|
|
</head> |
8 |
|
|
<body> |
9 |
|
|
<header> |
10 |
|
|
<h1><a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img alt="WebHACC" src="../icons/title"></abbr></a></h1> |
11 |
|
|
<h2>Description of Errors</h2> |
12 |
|
|
</header> |
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
<div class="section" id="WebHACC:Heading"><h3> |
17 |
|
|
|
18 |
|
|
</h3> |
19 |
|
|
<p><a href="./#input"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr></a> |
20 |
|
|
は、 Web 文書のための<em>適合性検査器</em> (妥当性検証器) です。 |
21 |
|
|
<a href="http://whatwg.org/html5"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>、 |
22 |
|
|
<a href="urn:ietf:rfc:4287">Atom 1.0</a>、 |
23 |
|
|
<a href="http://www.w3.org/Style/CSS/current-work"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> |
24 |
|
|
などの<a href="../standards">最新の Web 標準</a>に対応しています。</p> |
25 |
|
|
|
26 |
|
|
<p><strong><a href="./#input">文書を検査する</a></strong></p> |
27 |
|
|
|
28 |
|
|
<p><a href="../cc-about"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr> |
29 |
|
|
の詳細</a></p> |
30 |
|
|
</div> |
31 |
|
|
|
32 |
|
|
<section id="character-encoding-layer"> |
33 |
|
|
<h2>Character Encoding Layer Errors</h2> |
34 |
|
|
|
35 |
|
|
<div class="section" id="illegal-octets-error"><h3>An illegal octet in the input stream.</h3></div> |
36 |
|
|
</section> |
37 |
|
|
|
38 |
|
|
<section id="html5-character-encoding"> |
39 |
|
|
<h2>HTML5 Character Encoding Errors</h2> |
40 |
|
|
|
41 |
|
|
<div class="section" id="disallowed-character-encoding"><h3>Character encoding <code><var>{text}</var></code> |
42 |
|
|
is not allowed for <abbr>HTML</abbr> document.</h3> |
43 |
|
|
<p>The character encoding used for the document is not allowed |
44 |
|
|
for <abbr>HTML</abbr> document. The document is non‐conforming.</p> |
45 |
|
|
</div> |
46 |
|
|
|
47 |
|
|
<div class="section" id="bad-character-encoding"><h3>Character encoding <code><var>{text}</var></code> |
48 |
|
|
should not be used for <abbr>HTML</abbr> document.</h3> |
49 |
|
|
<p>The character encoding used for the document is not recommended |
50 |
|
|
for <abbr>HTML</abbr> document. The document is non‐conforming |
51 |
|
|
unless there is any good reason to use that encoding.</p> |
52 |
|
|
</div> |
53 |
|
|
|
54 |
|
|
<div class="section" id="non-utf-8-character-encoding"><h3>Use of UTF-8 is encouraged (this document |
55 |
|
|
is encoded in <code><var>{text}</var></code>).</h3> |
56 |
|
|
<p>Use of UTF-8 as the character encoding of the document is encouraged, |
57 |
|
|
though the use of another character encoding is still conforming.</p> |
58 |
|
|
</div> |
59 |
|
|
|
60 |
|
|
<div class="section" id="character-encoding-unchecked"><h3>Conformance for character encoding requirements |
61 |
|
|
cannot be checked, since the input is not a byte stream.</h3> |
62 |
|
|
<p>The conformance checker cannot detect whether the input document |
63 |
|
|
met the requirements on character encoding, since the document |
64 |
|
|
is not inputed as a serialized byte sequence. The document is |
65 |
|
|
not conforming if it is not encoded in an appropriate character |
66 |
|
|
encoding with appropriate labeling.</p> |
67 |
|
|
</div> |
68 |
|
|
|
69 |
|
|
<div class="section" id="no-character-encoding-declaration"><h3>There is no character encoding |
70 |
|
|
declaration.</h3> |
71 |
|
|
<p>The document does not contain a character encoding |
72 |
|
|
declaration. Unless the character encoding is explicitly |
73 |
|
|
specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, |
74 |
|
|
or is implied by <abbr>BOM</abbr>, there must be a character |
75 |
|
|
encoding declaration. The document is non‐conforming.</p> |
76 |
|
|
|
77 |
|
|
<p>The long character encoding declaration syntax |
78 |
|
|
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
79 |
|
|
is obsolete. The new syntax is:</p> |
80 |
|
|
<pre class="html example"> |
81 |
|
|
<code><meta charset="<var>charset-name</var>"></code></pre> |
82 |
|
|
|
83 |
|
|
<p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr> |
84 |
|
|
declaration has no effect for <abbr>HTML</abbr> document.</p> |
85 |
|
|
</div> |
86 |
|
|
|
87 |
|
|
<div class="section" id="non-ascii-superset"><h3>No character encoding metadata is found |
88 |
|
|
in lower‐level protocol nor is there <abbr>BOM</abbr>, while |
89 |
|
|
character encoding <code><var>{text}</var></code> |
90 |
|
|
is not a superset of <abbr>ASCII</abbr>.</h3> |
91 |
|
|
<p>The document is not labeled with character encoding name |
92 |
|
|
in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and |
93 |
|
|
the document is not begin with <abbr>BOM</abbr>. In addition, |
94 |
|
|
the character encoding of the document is not a superset of |
95 |
|
|
<abbr>ASCII</abbr>. The document is non‐conforming.</p> |
96 |
|
|
|
97 |
|
|
<p>Unless there is a <abbr>BOM</abbr>, the character encoding |
98 |
|
|
for the document must be specified in e.g. <abbr>HTTP</abbr>‐level, |
99 |
|
|
as:</p> |
100 |
|
|
<pre class="http example"> |
101 |
|
|
<code>Content-Type: text/html; charset=<var>charset-name</var></code></pre> |
102 |
|
|
|
103 |
|
|
<p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e. |
104 |
|
|
<code class="html example"><meta charset="<var>charset-name</var>"></code>, |
105 |
|
|
does not allow to omit <code>charset</code> parameter |
106 |
|
|
for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr> |
107 |
|
|
compatible encoding.</p> |
108 |
|
|
|
109 |
|
|
<p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>, |
110 |
|
|
and <code>ISO-2022-JP</code> are <em>not</em> a superset of |
111 |
|
|
<abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p> |
112 |
|
|
</div> |
113 |
|
|
|
114 |
|
|
<div class="section" id="sniffing:chardet"><h3>Character encoding of this document is sniffed |
115 |
|
|
as <code><var>{text}</var></code> (Sniffed because no explicit specification |
116 |
|
|
for the character encoding of this document is found in the transfer |
117 |
|
|
procotol headers).</h3></div> |
118 |
|
|
|
119 |
|
|
<div class="section" id="sniffing:default"><h3>Character encoding of this document is defaulted |
120 |
|
|
to <code><var>{text}</var></code> because no explicit specification |
121 |
|
|
for the character encoding of this document is found in the transfer |
122 |
|
|
procotol headers.</h3></div> |
123 |
|
|
|
124 |
|
|
<div class="section" id="chardecode:fallback"><h3>Since no decoder for the document character |
125 |
|
|
encoding is found, decoder for the character encoding |
126 |
|
|
<code><var>{text}</var></code> is used. Checking results might be |
127 |
|
|
<em>wrong</em>.</h3></div> |
128 |
|
|
|
129 |
|
|
<div class="section" id="chardecode:no-error"><h3>Conformance error checking for the character |
130 |
|
|
encoding <code><var>{text}</var></code> is not supported.</h3></div> |
131 |
|
|
|
132 |
|
|
<div class="section" id="charset-label:matching"><h3>Sniffed character encoding |
133 |
|
|
<code><var>{text}</var></code> is same as the character encoding specified |
134 |
|
|
in the character encoding declaration. This is <em>not</em> an |
135 |
|
|
error.</h3></div> |
136 |
|
|
|
137 |
|
|
<div class="section" id="charset-label-detected"><h3>While parsing the document as |
138 |
|
|
<code><var>{text}</var></code>, a character encoding declaration specifying |
139 |
|
|
a different character encoding is found. The document |
140 |
|
|
is reparsed.</h3> |
141 |
|
|
<p>While parsing a document in a character encoding, |
142 |
|
|
a character encoding declaration which declares the character |
143 |
|
|
encoding of the document as another character encoding is found. |
144 |
|
|
The occurence of this warning itself does not make the document |
145 |
|
|
non‐conforming. However, the failure of the first attempt to |
146 |
|
|
to detect the character encoding might be a result of non‐conformance |
147 |
|
|
of the document.</p> |
148 |
|
|
|
149 |
|
|
<p>The document will be reparsed from the beginning. Some error |
150 |
|
|
or warning might be reported again.</p> |
151 |
|
|
|
152 |
|
|
<p>These are suggestions to avoid this warning:</p> |
153 |
|
|
<ul> |
154 |
|
|
<li>Specify <code>charset</code> parameter in the <code>Content-Type</code> |
155 |
|
|
field in the <abbr>HTTP</abbr> header, as: |
156 |
|
|
<pre class="HTTP example"> |
157 |
|
|
<code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li> |
158 |
|
|
<li>Put the character encoding declaration |
159 |
|
|
(<code class="html example"><meta charset="<var>charset-name</var>"></code>) |
160 |
|
|
just after <code class="html example"><head></code> start tag.</li> |
161 |
|
|
<li>Use <code>UTF-8</code>.</li> |
162 |
|
|
</ul> |
163 |
|
|
</div> |
164 |
|
|
|
165 |
|
|
<div class="section" id="NULL"><h3>The <code class="charname">NULL</code> character |
166 |
|
|
is not allowed.</h3></div> |
167 |
|
|
|
168 |
|
|
<div class="section" id="control-char"><h3>Code point <code><var>{text}</var></code> is |
169 |
|
|
not allowed.</h3></div> |
170 |
|
|
|
171 |
|
|
</section> |
172 |
|
|
|
173 |
|
|
<section id="html5-tokenize-error"> |
174 |
|
|
<h2>HTML5 Parse Errors in Tokenization Stage</h2> |
175 |
|
|
|
176 |
|
|
<div class="section" id="after-html"><h3>Tag <code><<var>$0</var>></code> |
177 |
|
|
is not allowed after the end tag <code></html></code>.</h3> |
178 |
|
|
<p>The start or end tag of an element appears after the |
179 |
|
|
<code>html</code> element has been closed. The document is |
180 |
|
|
non-conforming.</p> |
181 |
|
|
|
182 |
|
|
<p>Any content of the document other than comments |
183 |
|
|
must be put into the <code>html</code> element.</p> |
184 |
|
|
</div> |
185 |
|
|
|
186 |
|
|
<div class="section" id="after-body"><h3>Tag <code><<var>$0</var>></code> |
187 |
|
|
is not allowed after the end tag <code></body></code>.</h3> |
188 |
|
|
<p>The start or end tag of an element appears after the |
189 |
|
|
<code>body</code> element has been closed. The document is |
190 |
|
|
non-conforming.</p> |
191 |
|
|
|
192 |
|
|
<p>Any content of the document other than <code>head</code> |
193 |
|
|
contents and comments must be put into the <code>body</code> |
194 |
|
|
element.</p> |
195 |
|
|
</div> |
196 |
|
|
|
197 |
|
|
<div class="section" id="bad-attribute-name"><h3>Attribute name cannot contain characters |
198 |
|
|
<code>"</code>, <code>'</code>, and <code>=</code>.</h3></div> |
199 |
|
|
|
200 |
|
|
<div class="section" id="bad-attribute-value"><h3>Attribute value must be quoted by <code>"</code> |
201 |
|
|
or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or |
202 |
|
|
<code>=</code> character.</h3></div> |
203 |
|
|
|
204 |
|
|
<div class="section" id="bare-ero"><h3>The <code>&</code> character must |
205 |
|
|
be escaped as <code class="html example">&amp;</code>.</h3> |
206 |
|
|
<p>An <code>&</code> character which |
207 |
|
|
is not part of any reference appears in the input stream. |
208 |
|
|
The document is non‐conforming.</p> |
209 |
|
|
|
210 |
|
|
<p><em>Any <code>&</code> character in URI (or IRI) |
211 |
|
|
must be escaped as <code class="example">&amp;</code>.</em></p> |
212 |
|
|
|
213 |
|
|
<p>The <code>&</code> character must |
214 |
|
|
be the first character of a reference: |
215 |
|
|
<dl class="switch"> |
216 |
|
|
<dt>Named entity reference</dt> |
217 |
|
|
<dd><pre class="html example"> |
218 |
|
|
<code>&<var>entity-name</var>;</code></pre> |
219 |
|
|
where <var>entity-name</var> is the name of the |
220 |
|
|
character entity to be referenced.</dd> |
221 |
|
|
<dt>Numeric character reference</dt> |
222 |
|
|
<dd><pre class="html example"> |
223 |
|
|
<code>&#<var>d</var>;</code></pre> |
224 |
|
|
where <var>d</var> is the decimal representation of |
225 |
|
|
the code position of the character to be referenced.</dd> |
226 |
|
|
<dt>Hexadecimal character reference</dt> |
227 |
|
|
<dd><pre class="html example"> |
228 |
|
|
<code>&#x<var>h</var>;</code></pre> |
229 |
|
|
where <var>h</var> is the hexadecimal representation |
230 |
|
|
of the code position of the character to be referenced.</dd> |
231 |
|
|
</dl> |
232 |
|
|
</p> |
233 |
|
|
|
234 |
|
|
<p>To represent <code>&</code> as a data character, use |
235 |
|
|
named entity reference: |
236 |
|
|
<pre class="html example"> |
237 |
|
|
<code>&amp;</code></pre> |
238 |
|
|
</p> |
239 |
|
|
</div> |
240 |
|
|
|
241 |
|
|
<div class="section" id="bare-etago"><h3>A <code></</code> string is not followed |
242 |
|
|
by a tag name.</h3> |
243 |
|
|
<p>There is a <code><</code> (<code>U+003C</code> |
244 |
|
|
<code class="charname">LESS-THAN SIGN</code>) character |
245 |
|
|
immediately followed by a <code>/</code> (<code>U+005F</code> |
246 |
|
|
<code>SOLIDUS</code>) character, which is not part |
247 |
|
|
of any end tag, in the input stream. The document |
248 |
|
|
is non-conforming.</p> |
249 |
|
|
|
250 |
|
|
<p>The <code></</code> sequence immediately followed |
251 |
|
|
by an <abbr title="End of file pseudo-character">EOF</abbr> is |
252 |
|
|
interpreted as a string data of <code></</code>.</p> |
253 |
|
|
|
254 |
|
|
<p>The <code></</code> sequence as string data must |
255 |
|
|
be escaped as: |
256 |
|
|
<pre class="html example"> |
257 |
|
|
<code>&lt;/</code></pre> |
258 |
|
|
</p> |
259 |
|
|
</div> |
260 |
|
|
|
261 |
|
|
<div class="section" id="bare-stago"><h3>A <code><</code> character is not followed |
262 |
|
|
by tag name or by a <code>!</code> character.</h3> |
263 |
|
|
<p>A <code><</code> (<code>U+003C</code> |
264 |
|
|
<code class="charname">LESS-THAN SIGN</code>) character which is not part |
265 |
|
|
of any markup appears in the input stream.</p> |
266 |
|
|
|
267 |
|
|
<p>The <code><</code> character as a data character must |
268 |
|
|
be escaped as: |
269 |
|
|
<pre class="html example"> |
270 |
|
|
<code>&lt;</code></pre> |
271 |
|
|
</p> |
272 |
|
|
</div> |
273 |
|
|
|
274 |
|
|
<div class="section" id="bare-nero"><h3>The decimal representation of the code position |
275 |
|
|
of a character must be specified after <code>&#</code>.</h3> |
276 |
|
|
<p>An <code>&</code> (<code>U+0026</code> |
277 |
|
|
<code class="charname">AMPERSAND</code>) character immediately |
278 |
|
|
followed by a <code>#</code> (<code>U+0023</code> |
279 |
|
|
<code>NUMBER SIGN</code>) character which |
280 |
|
|
is not part of any reference appears in the input stream. |
281 |
|
|
The document is non-conforming.</p> |
282 |
|
|
|
283 |
|
|
<p>The string <code>&#</code> must be the first two characters |
284 |
|
|
of a reference: |
285 |
|
|
<dl class="switch"> |
286 |
|
|
<dt>Numeric character reference</dt> |
287 |
|
|
<dd><pre class="html example"> |
288 |
|
|
<code>&#<var>d</var>;</code></pre> |
289 |
|
|
where <var>d</var> is the decimal representation of |
290 |
|
|
the code point of the character to be referenced.</dd> |
291 |
|
|
<dt>Hexadecimal character reference</dt> |
292 |
|
|
<dd><pre class="html example"> |
293 |
|
|
<code>&#x<var>h</var>;</code></pre> |
294 |
|
|
where <var>h</var> is the hexadecimal representation |
295 |
|
|
of the code point of the character to be referenced.</dd> |
296 |
|
|
</dl> |
297 |
|
|
</p> |
298 |
|
|
|
299 |
|
|
<p>To represent <code>&#</code> as data characters, use |
300 |
|
|
a named entity reference for the <code>&</code> character: |
301 |
|
|
<pre class="html example"> |
302 |
|
|
<code>&amp;#</code></pre> |
303 |
|
|
</p> |
304 |
|
|
</div> |
305 |
|
|
|
306 |
|
|
<div class="section" id="bare-hcro"><h3>The hexadecimal representation of the code position |
307 |
|
|
of a character must be specified after <code>&#x</code>.</h3> |
308 |
|
|
<p>The string <code>&#x</code> or <code>&#X</code> which |
309 |
|
|
is not part of any reference appears in the input stream. |
310 |
|
|
The document is non-conforming.</p> |
311 |
|
|
|
312 |
|
|
<p>The string <code>&#x</code> or <code>&#X</code> must |
313 |
|
|
be the first three characters of a hexadecimal reference: |
314 |
|
|
<pre class="html example"> |
315 |
|
|
<code>&#x<var>h</var>;</code></pre> |
316 |
|
|
where <var>h</var> is the hexadecimal representation |
317 |
|
|
of the code point of the character to be referenced.</p> |
318 |
|
|
|
319 |
|
|
<p>To represent <code>&#x</code> as data characters, use |
320 |
|
|
a named entity reference for the <code>&</code> character: |
321 |
|
|
<pre class="html example"> |
322 |
|
|
<code>&amp;#x</code></pre> |
323 |
|
|
</p> |
324 |
|
|
</div> |
325 |
|
|
|
326 |
|
|
<div class="section" id="bogus-comment"><h3>String <code><!</code> is not followed |
327 |
|
|
by <code>--</code>.</h3> |
328 |
|
|
<p>There is a <code><</code> (<code>U+003C</code> |
329 |
|
|
<code class="charname">LESS-THAN SIGN</code>) character |
330 |
|
|
followed by a <code>!</code> (<code>U+0021</code> |
331 |
|
|
<code class="charname">EXCLAMATION MARK</code>) character, |
332 |
|
|
which is not followed by a <code>--</code> or |
333 |
|
|
<code>!DOCTYPE</code>. The document is non-conforming.</p> |
334 |
|
|
|
335 |
|
|
<dl class="switch"> |
336 |
|
|
<dt>Comments</dt> |
337 |
|
|
<dd>In HTML document, comments must be introduced by |
338 |
|
|
<code class="example"><!--</code> (<code><!</code> |
339 |
|
|
<em>immediately</em> followed |
340 |
|
|
by <em>two</em> <code>-</code>s) and must be terminated by |
341 |
|
|
<code class="example">--></code>. |
342 |
|
|
Strings <code><!</code> not followed |
343 |
|
|
by <code>--</code> and <code><!-</code> not followed by |
344 |
|
|
<code>-</code> are not valid open delimiters for comments.</dd> |
345 |
|
|
<dt>Marked sections, including <code>CDATA</code> sections</dt> |
346 |
|
|
<dd>Marked sections are not allowed in HTML document.</dd> |
347 |
|
|
<dt>Markup declarations</dt> |
348 |
|
|
<dd>Markup declarations, except for <code>DOCTYPE</code> |
349 |
|
|
and comment declarations, are not allowed in HTML document.</dd> |
350 |
|
|
<dt>String <code><!</code></dt> |
351 |
|
|
<dd>String <code><!</code> must be escaped as |
352 |
|
|
<code class="example">&lt;!</code>.</dd> |
353 |
|
|
</dl> |
354 |
|
|
</div> |
355 |
|
|
|
356 |
|
|
<div class="section" id="bogus-end-tag"><h3>String <code></</code> is not followed |
357 |
|
|
by tag name.</h3> |
358 |
|
|
<p>There is a <code><</code> (<code>U+003C</code> |
359 |
|
|
<code class="charname">LESS-THAN SIGN</code>) character |
360 |
|
|
immediately followed by a <code>/</code> (<code>U+005F</code> |
361 |
|
|
<code>SOLIDUS</code>) character, which is not part |
362 |
|
|
of any end tag, in the input stream. The document |
363 |
|
|
is non-conforming.</p> |
364 |
|
|
|
365 |
|
|
<p>The <code></</code> sequence not followed by a |
366 |
|
|
tag name is parsed as an opening of bogus comment.</p> |
367 |
|
|
|
368 |
|
|
<p>The <code></</code> sequence as string data must |
369 |
|
|
be escaped as: |
370 |
|
|
<pre class="html example"> |
371 |
|
|
<code>&lt;/</code></pre> |
372 |
|
|
</p> |
373 |
|
|
</div> |
374 |
|
|
|
375 |
|
|
<div class="section" id="C1-character-reference"><h3>Character reference to |
376 |
|
|
<code><var>{text}</var></code> is not allowed.</h3></div> |
377 |
|
|
|
378 |
|
|
<div class="section" id="CR-character-reference"><h3>Character reference to |
379 |
|
|
<code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>) |
380 |
|
|
is not allowed.</h3></div> |
381 |
|
|
|
382 |
|
|
<div class="section" id="dash-in-comment"><h3>There is a <code>--</code> sequence |
383 |
|
|
in a comment.</h3> |
384 |
|
|
<p>There is a <code>-</code> (<code>U+002D</code> |
385 |
|
|
<code class="charname">HYPHEN-MINUS</code>) character |
386 |
|
|
at the end of the comment or a <code>--</code> sequence |
387 |
|
|
in the comment. The document is non-conforming.</p> |
388 |
|
|
|
389 |
|
|
<p>Comments cannot contain a string <code>--</code>, as in XML. |
390 |
|
|
Unlike SGML, there cannot be more than one comments |
391 |
|
|
(where <i>comment</i> is an SGML term) in the comment |
392 |
|
|
declaration.</p> |
393 |
|
|
</div> |
394 |
|
|
|
395 |
|
|
<div class="section" id="duplicate-attribute"><h3>There are two attributes with name |
396 |
|
|
<code><var>{text}</var></code>.</h3> |
397 |
|
|
<p>There are more than one attributes with the same |
398 |
|
|
name in a tag. The document is non-conforming.</p> |
399 |
|
|
|
400 |
|
|
<p>The <code>motion</code> attribute is not part of the HTML standard. |
401 |
|
|
Use <code>img</code> element with animation GIF instead.</p> |
402 |
|
|
</div> |
403 |
|
|
|
404 |
|
|
<div class="section" id="empty-start-tag"><h3>Empty start tag (<code><></code>) is not |
405 |
|
|
allowed.</h3></div> |
406 |
|
|
|
407 |
|
|
<div class="section" id="empty-end-tag"><h3>Empty end tag (<code></></code>) is not |
408 |
|
|
allowed.</h3></div> |
409 |
|
|
|
410 |
|
|
<div class="section" id="end-tag-attribute"><h3>End tag cannot have attributes.</h3></div> |
411 |
|
|
|
412 |
|
|
<div class="section" id="invalid-character-reference"><h3>Character reference to |
413 |
|
|
<code><var>{text}</var></code> is not allowed.</h3></div> |
414 |
|
|
|
415 |
|
|
<div class="section" id="nestc"><h3>Polytheistic slash (<code>/></code>) cannot be |
416 |
|
|
used for this element.</h3> |
417 |
|
|
<p>Polytheistic slash (<code>/></code>) must not be used |
418 |
|
|
for the element. The document is non-conforming.</p> |
419 |
|
|
|
420 |
|
|
<p>The polytheistic slash can only be |
421 |
|
|
used for <code>base</code>, <code>link</code>, <code>meta</code>, |
422 |
|
|
<code>hr</code>, <code>br</code>, <code>img</code>, |
423 |
|
|
<code>embed</code>, <code>param</code>, <code>area</code>, |
424 |
|
|
<code>col</code>, and <code>input</code> elements.</p> |
425 |
|
|
|
426 |
|
|
<dl class="switch"> |
427 |
|
|
<dt><code><script/></code></dt> |
428 |
|
|
<dd><p>The polytheistic slash cannot be used for <code>script</code> |
429 |
|
|
element. Even for an empty <code>script</code> element, |
430 |
|
|
there must be an explicit end tag |
431 |
|
|
<code class="html example"></script></code>.</p> |
432 |
|
|
|
433 |
|
|
<p><strong>NOTE</strong>: Though some user agents interpret |
434 |
|
|
polytheistic slash for <code>script</code> element as the |
435 |
|
|
closing of the element, such usage is not allowed under |
436 |
|
|
the current standard.</p></dd> |
437 |
|
|
<dt><code><basefont/></code>, <code><bgsound/></code>, |
438 |
|
|
<code><frame/></code>, <code><keygen/></code>, |
439 |
|
|
<code><spacer/></code>, <code><wbr/></code></dt> |
440 |
|
|
<dd>These elements are themselves non-conforming.</dd> |
441 |
|
|
<!-- isindex, image --> |
442 |
|
|
<dt><code><command/></code>, <code><event-source/></code>, |
443 |
|
|
<code><nest/></code>, or <code><source/></code></dt> |
444 |
|
|
<dd>Future revision of HTML5 parsing algorithm is expected |
445 |
|
|
to allow polytheistic slash for these elements.</dd> |
446 |
|
|
<dt><code><a/></code>, <code><p/></code></dt> |
447 |
|
|
<dd>These elements are not always empty and therefore |
448 |
|
|
polytheistic slash is not allowed. Use explicit end tag |
449 |
|
|
to represent empty element as: |
450 |
|
|
<pre class="example html"> |
451 |
|
|
<code><p></p></code></pre> |
452 |
|
|
</dd> |
453 |
|
|
</dl> |
454 |
|
|
|
455 |
|
|
<p>Note that, unlike in XML, the polytheistic slash has |
456 |
|
|
no effect in HTML.</p> |
457 |
|
|
</div> |
458 |
|
|
|
459 |
|
|
<div class="section" id="no-DOCTYPE-name"><h3>After the string <code><!DOCTYPE </code>, the |
460 |
|
|
document type name must be specified.</h3></div> |
461 |
|
|
|
462 |
|
|
<div class="section" id="no-PUBLIC-literal"><h3>After the keyword <code>PUBLIC</code>, no |
463 |
|
|
oublic identifier is specified.</h3></div> |
464 |
|
|
|
465 |
|
|
<div class="section" id="no-refc"><h3>Character reference must be closed by a |
466 |
|
|
<code>;</code> character.</h3></div> |
467 |
|
|
|
468 |
|
|
<div class="section" id="no-space-before-DOCTYPE-name"><h3>After the string <code><!DOCTYPE</code>, there |
469 |
|
|
must be at least a white space character before the document type |
470 |
|
|
name.</h3></div> |
471 |
|
|
|
472 |
|
|
<div class="section" id="no-space-between-attributes"><h3>Attributes must be separeted by at least a |
473 |
|
|
white space character.</h3></div> |
474 |
|
|
|
475 |
|
|
<div class="section" id="no-SYSTEM-literal"><h3>After the keyword <code>SYSTEM</code>, no |
476 |
|
|
system identifier is specified.</h3></div> |
477 |
|
|
|
478 |
|
|
<div class="section" id="pio"><h3>Processing instruction |
479 |
|
|
(<code><?<var>...</var>></code>) is not allowed in HTML |
480 |
|
|
document.</h3> |
481 |
|
|
<p>Processing instructions (<code><?<var>...</var>?></code>), |
482 |
|
|
including XML declaration (<code><?xml <var>...</var>?></code>) |
483 |
|
|
and XML style sheet <abbr title="processing instruction">PI</abbr> |
484 |
|
|
(<code><?xml-stylesheet <var>...</var>?></code>), are not allowed |
485 |
|
|
in the HTML syntax. The document is non-conforming.</p> |
486 |
|
|
|
487 |
|
|
<dl class="switch"> |
488 |
|
|
<dt><code><?xbl?></code> (<abbr>XBL</abbr> Association)</dt> |
489 |
|
|
<dd>An <abbr>XBL</abbr> binding cannot be associated by |
490 |
|
|
<abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr> |
491 |
|
|
document. Use <code>binding</code> property in <abbr>CSS</abbr> |
492 |
|
|
style sheet as: |
493 |
|
|
<pre class="html example"> |
494 |
|
|
<code><style> |
495 |
|
|
p { |
496 |
|
|
binding: url(binding.xbl); |
497 |
|
|
} |
498 |
|
|
</style></code></pre> |
499 |
|
|
</dd> |
500 |
|
|
<dt><code><?xml?></code> (XML declaration)</dt> |
501 |
|
|
<dd>XML declaration is unnecessary for HTML documents.</dd> |
502 |
|
|
<dt><code><?xml-stylesheet?></code> (XML style sheet |
503 |
|
|
<abbr title="processing instruction">PI</abbr>)</dt> |
504 |
|
|
<dd>Use HTML <code>link</code> element with <code>rel</code> |
505 |
|
|
attribute set to <code>stylesheet</code> (or, |
506 |
|
|
<code>alternate stylesheet</code> for an alternate style |
507 |
|
|
sheet). |
508 |
|
|
<pre class="example html"> |
509 |
|
|
<code><link rel=stylesheet href="path/to/stylesheet.css"></code></pre> |
510 |
|
|
</dd> |
511 |
|
|
<dt><code><?php?></code> or |
512 |
|
|
<code><? <var>... <abbr>PHP</abbr> code ...</var> ?></code> |
513 |
|
|
(<abbr>PHP</abbr> code)</dt> |
514 |
|
|
<dd>The conformance checker does <em>not</em> support |
515 |
|
|
checking for PHP source documents.</dd> |
516 |
|
|
<dt>Other processing instructions</dt> |
517 |
|
|
<dd>Processing instructions cannot be inserted in an HTML |
518 |
|
|
document. Use XML document or insert |
519 |
|
|
<code>ProcessingInstruction</code> node by scripting.</dd> |
520 |
|
|
</dl> |
521 |
|
|
|
522 |
|
|
<p>Web browsers will parse processing instructions as bogus |
523 |
|
|
comments. Some legacy Web browsers, such as IE:mac and |
524 |
|
|
some mobile Web browsers, will display processing instructions |
525 |
|
|
as string.</p> |
526 |
|
|
</div> |
527 |
|
|
|
528 |
|
|
<div class="section" id="string-after-DOCTYPE-name"><h3>There is a bogus string after the document type |
529 |
|
|
name.</h3></div> |
530 |
|
|
|
531 |
|
|
<div class="section" id="string-after-PUBLIC"><h3>There is a bogus string after the keyword |
532 |
|
|
<code>PUBLIC</code>.</h3></div> |
533 |
|
|
|
534 |
|
|
<div class="section" id="string-after-PUBLIC-literal"><h3>There is a bogus string after the public |
535 |
|
|
identifier.</h3></div> |
536 |
|
|
|
537 |
|
|
<div class="section" id="string-after-SYSTEM"><h3>There is a bogus string after the keyword |
538 |
|
|
<code>SYSTEM</code>.</h3></div> |
539 |
|
|
|
540 |
|
|
<div class="section" id="string-after-SYSTEM-literal"><h3>There is a bogus string after the system |
541 |
|
|
identifier.</h3></div> |
542 |
|
|
|
543 |
|
|
<div class="section" id="unclosed-attribute-value"><h3>Attribute value is not closed by a quotation |
544 |
|
|
mark.</h3></div> |
545 |
|
|
|
546 |
|
|
<div class="section" id="unclosed-comment"><h3>Comment is not closed by a string |
547 |
|
|
<code>--></code>.</h3></div> |
548 |
|
|
|
549 |
|
|
<div class="section" id="unclosed-DOCTYPE"><h3>The <code>DOCTYPE</code> is not closed by a |
550 |
|
|
<code>></code> character.</h3></div> |
551 |
|
|
|
552 |
|
|
<div class="section" id="unclosed-PUBLIC-literal"><h3>The public identifier literal is not closed by a |
553 |
|
|
quotation mark.</h3></div> |
554 |
|
|
|
555 |
|
|
<div class="section" id="unclosed-SYSTEM-literal"><h3>The system identifier literal is not closed by a |
556 |
|
|
quotation mark.</h3></div> |
557 |
|
|
|
558 |
|
|
<div class="section" id="unclosed-tag"><h3>Tag is not closed by a <code>></code> |
559 |
|
|
character.</h3></div> |
560 |
|
|
|
561 |
|
|
</section> |
562 |
|
|
|
563 |
|
|
<section id="html5-parse-errors"> |
564 |
|
|
<h2>HTML5 Parse Errors in Tree Construction Stage</h2> |
565 |
|
|
|
566 |
|
|
<div class="section" id="after-body"><h3>Start tag <code><<var>{text}</var>></code> is |
567 |
|
|
not allowed after the <code>body</code> is closed.</h3></div> |
568 |
|
|
|
569 |
|
|
<div class="section" id="after-body:/"><h3>End tag <code></<var>{text}</var>></code> is |
570 |
|
|
not allowed after the <code>body</code> is closed.</h3></div> |
571 |
|
|
|
572 |
|
|
<div class="section" id="after-body:#text"><h3>Non‐white‐space characters are not allowed |
573 |
|
|
after the <code>body</code> is closed.</h3></div> |
574 |
|
|
|
575 |
|
|
<div class="section" id="after-frameset"><h3>Start tag <code><<var>{text}</var>></code> is |
576 |
|
|
not allowed after the <code>frameset</code> is closed.</h3></div> |
577 |
|
|
|
578 |
|
|
<div class="section" id="after-frameset:/"><h3>End tag <code></<var>{text}</var>></code> is |
579 |
|
|
not allowed after the <code>frameset</code> is closed.</h3></div> |
580 |
|
|
|
581 |
|
|
<div class="section" id="after-frameset:#text"><h3>Non‐white‐space characters are not allowed |
582 |
|
|
after the <code>frame</code> is closed.</h3></div> |
583 |
|
|
|
584 |
|
|
<div class="section" id="after-head"><h3>The <code><var>{text}</var></code> element cannot be |
585 |
|
|
inserted between <code>head</code> and <code>body</code> |
586 |
|
|
elements.</h3> |
587 |
|
|
<p>A start tag appears after the <code>head</code> element is closed |
588 |
|
|
but before the <code>body</code> element is opened. |
589 |
|
|
The document is non-conforming.</p> |
590 |
|
|
</div> |
591 |
|
|
|
592 |
|
|
<div class="section" id="after-html"><h3>Start tag <code><<var>{text}</var>></code> is |
593 |
|
|
not allowed after the <code>html</code> is closed.</h3></div> |
594 |
|
|
|
595 |
|
|
<div class="section" id="after-html:/"><h3>End tag <code></<var>{text}</var>></code> is |
596 |
|
|
not allowed after the <code>html</code> is closed.</h3></div> |
597 |
|
|
|
598 |
|
|
<div class="section" id="after-html:#text"><h3>Non‐white‐space characters are not allowed |
599 |
|
|
after the <code>html</code> is closed.</h3></div> |
600 |
|
|
|
601 |
|
|
<div class="section" id="image"><h3>The <code>image</code> element is |
602 |
|
|
obsolete.</h3></div> |
603 |
|
|
|
604 |
|
|
<div class="section" id="in-a:a"><h3>Anchor cannot be nested.</h3> |
605 |
|
|
<p>HTML <code>a</code> elements cannot be nested. |
606 |
|
|
The document is non-conforming.</p> |
607 |
|
|
|
608 |
|
|
<p>In the HTML syntax, a start tag of the <code>a</code> |
609 |
|
|
implies the end tag of any opening <code>a</code> element.</p> |
610 |
|
|
</div> |
611 |
|
|
|
612 |
|
|
<div class="section" id="in-body"><h3>Start tag <code><<var>{text}</var>></code> |
613 |
|
|
is not allowed in the <code>body</code> element.</h3> |
614 |
|
|
<p>The start or end tag of an element, which |
615 |
|
|
cannot be a descendant of <code>body</code> element, appears |
616 |
|
|
in the input stream while the <code>body</code> element has been opened. |
617 |
|
|
The document is non-conforming.</p> |
618 |
|
|
</div> |
619 |
|
|
|
620 |
|
|
<div class="section" id="in-body:#eof"><h3>Some element is not closed before the end of |
621 |
|
|
file.</h3></div> |
622 |
|
|
|
623 |
|
|
<div class="section" id="in-button:button"><h3>The <code>button</code> element cannot be |
624 |
|
|
nested.</h3></div> |
625 |
|
|
|
626 |
|
|
<div class="section" id="in-CDATA:#eof"><h3>Element is not closed before the end of |
627 |
|
|
file.</h3></div> |
628 |
|
|
|
629 |
|
|
<div class="section" id="in-form:form"><h3>Start tag <code><form></code> is |
630 |
|
|
not allowed in a <code>form</code> element.</h3></div> |
631 |
|
|
|
632 |
|
|
<div class="section" id="in-frameset"><h3>Start tag <code><<var>{text}</var>></code> is |
633 |
|
|
not allowed in a <code>framset</code> element.</h3></div> |
634 |
|
|
|
635 |
|
|
<div class="section" id="in-frameset:/"><h3>End tag <code></<var>{text}</var>></code> is |
636 |
|
|
not allowed in a <code>frameset</code> element.</h3></div> |
637 |
|
|
|
638 |
|
|
<div class="section" id="in-frameset:#text"><h3>Non‐white‐space characters are not allowed |
639 |
|
|
in a <code>frameset</code> element.</h3></div> |
640 |
|
|
|
641 |
|
|
<div class="section" id="in-head:head"><h3>Start tag <code><head></code> |
642 |
|
|
is not allowed in the <code>head</code> element.</h3> |
643 |
|
|
<p>There is a start tag <code><head></code> in the |
644 |
|
|
<code><head></code> element. The document is non-conforming.</p> |
645 |
|
|
|
646 |
|
|
<p>In an HTML document there must not be more than |
647 |
|
|
one <code>head</code> element, therefore no more than one |
648 |
|
|
start tag <code><head></code> can appear in the input stream.</p> |
649 |
|
|
</div> |
650 |
|
|
|
651 |
|
|
<div class="section" id="in-html:#DOCTYPE"><h3>A <code>DOCTYPE</code> appears after any |
652 |
|
|
element or data character has been seen.</h3> |
653 |
|
|
<p>A <code>DOCTYPE</code> appears after any element or data character |
654 |
|
|
has been seen. The document is non-conforming.</p> |
655 |
|
|
|
656 |
|
|
<p>The <code>DOCTYPE</code> must be placed before any |
657 |
|
|
tag, reference, or data character. Only white space characters |
658 |
|
|
and comments can be inserted before the <code>DOCTYPE</code>.</p> |
659 |
|
|
</div> |
660 |
|
|
|
661 |
|
|
<div class="section" id="in-nobr:nobr"><h3>The <code>nobr</code> element cannot be |
662 |
|
|
nested.</h3></div> |
663 |
|
|
|
664 |
|
|
<div class="section" id="in-noscript"><h3>The <code><var>{text}</var></code> element is not |
665 |
|
|
allowed in a <code>noscript</code> element in the |
666 |
|
|
<code>head</code> element.</h3></div> |
667 |
|
|
|
668 |
|
|
<div class="section" id="in-noscript:/"><h3>An end tag <code></<var>{text}</var>></code> |
669 |
|
|
appers before the <code>noscript</code> element is closed.</h3></div> |
670 |
|
|
|
671 |
|
|
<div class="section" id="in-noscript:#eof"><h3>A <code>noscript</code> element is not closed |
672 |
|
|
before the end of file.</h3></div> |
673 |
|
|
|
674 |
|
|
<div class="section" id="in-noscript:#text"><h3>Non‐white‐space characters are not allowed |
675 |
|
|
in a <code>noscript</code> element in the <code>head</code> |
676 |
|
|
element.</h3></div> |
677 |
|
|
|
678 |
|
|
<div class="section" id="in-PCDATA:#eof"><h3>Element is not closed before the end of |
679 |
|
|
file.</h3></div> |
680 |
|
|
|
681 |
|
|
<div class="section" id="in-select"><h3>Start tag <code><<var>{text}</var>></code> |
682 |
|
|
is not allowed in a <code>select</code> element.</h3></div> |
683 |
|
|
|
684 |
|
|
<div class="section" id="in-select:/"><h3>End tag <code></<var>{text}</var>></code> |
685 |
|
|
is not allowed in a <code>select</code> element.</h3></div> |
686 |
|
|
|
687 |
|
|
<div class="section" id="in-table"><h3>Start tag <code><<var>{text}</var>></code> |
688 |
|
|
is not allowed in a <code>table</code> element.</h3> |
689 |
|
|
<p>The start or end tag of an element, which |
690 |
|
|
cannot be a child of <code>table</code> element, appears |
691 |
|
|
in the input stream while the <code>table</code> element has been opened |
692 |
|
|
but no other element has been opened. The document is non-conforming.</p> |
693 |
|
|
|
694 |
|
|
<p>In <code>table</code>, only table related elements |
695 |
|
|
are allowed; any other element must be contained in |
696 |
|
|
<code>td</code> or <code>th</code> element to form |
697 |
|
|
a part of the table, or <code>caption</code> element to create |
698 |
|
|
a table caption.</p> |
699 |
|
|
</div> |
700 |
|
|
|
701 |
|
|
<div class="section" id="in-table:/"><h3>End tag <code></<var>{text}</var>></code> |
702 |
|
|
is not allowed in a <code>table</code> element.</h3></div> |
703 |
|
|
|
704 |
|
|
<div class="section" id="in-table:#text"><h3>Non‐white‐space character is not allowed within |
705 |
|
|
the <code>table</code> element, outside of the caption and cells.</h3> |
706 |
|
|
<p>A non‐white‐space character appears in <code>table</code>. |
707 |
|
|
The document is non-conforming.</p> |
708 |
|
|
|
709 |
|
|
<p>In <code>table</code>, only table related elements |
710 |
|
|
are allowed; any other element and data character must be contained in |
711 |
|
|
<code>td</code> or <code>th</code> element to form |
712 |
|
|
a part of the table, or <code>caption</code> element to create |
713 |
|
|
a table caption.</p> |
714 |
|
|
</div> |
715 |
|
|
|
716 |
|
|
<div class="section" id="isindex"><h3>The <code>isindex</code> element is |
717 |
|
|
obsolete.</h3></div> |
718 |
|
|
|
719 |
|
|
<div class="section" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code> |
720 |
|
|
element is missing.</h3> |
721 |
|
|
<p>Start tag of a <code>tr</code> element, which is <em>not</em> |
722 |
|
|
optional, is missing. The document is non-conforming.</p> |
723 |
|
|
|
724 |
|
|
<p>In a table section, a <code><tr></code> start tag |
725 |
|
|
must occur before any <code><td></code> or |
726 |
|
|
<code><th></code> start tag. Though the HTML5 parser |
727 |
|
|
implies the <code><tr></code> start tag before |
728 |
|
|
these start tags, it must be explicitly specified.</p> |
729 |
|
|
</div> |
730 |
|
|
|
731 |
|
|
<div class="section" id="no-DOCTYPE"><h3>This document does not start with a |
732 |
|
|
<code>DOCTYPE</code>.</h3> |
733 |
|
|
<p>The document does not start with a <code>DOCTYPE</code>. |
734 |
|
|
The document is non-conforming.</p> |
735 |
|
|
|
736 |
|
|
<p>An HTML document must start by a <code>DOCTYPE</code>: |
737 |
|
|
<pre class="html example"> |
738 |
|
|
<code><!DOCTYPE HTML></code></pre> |
739 |
|
|
</p> |
740 |
|
|
|
741 |
|
|
<p>Only white space characters and comments are allowed |
742 |
|
|
before the <code>DOCTYPE</code>. XML declaration is <em>not</em> |
743 |
|
|
allowed in HTML document.</p> |
744 |
|
|
</div> |
745 |
|
|
|
746 |
|
|
<div class="section" id="not-closed"><h3>Element <code><var>{text}</var></code> is not |
747 |
|
|
closed.</h3> |
748 |
|
|
<p>End tag of an element is not found before, for example, |
749 |
|
|
an end tag of another element appears or |
750 |
|
|
the end of the document. The document is non-conforming.</p> |
751 |
|
|
|
752 |
|
|
<p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>, |
753 |
|
|
<code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>, |
754 |
|
|
<code>ol</code>, <code>option</code>, <code>optgroup</code>, |
755 |
|
|
<code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>, |
756 |
|
|
<code>tbody</code>, <code>td</code>, <code>tfoot</code>, |
757 |
|
|
<code>th</code>, <code>thead</code>, <code>tr</code>, |
758 |
|
|
<code>ul</code> end tag can be omitted in HTML documents. |
759 |
|
|
For any element except for void element, there must be an explicit |
760 |
|
|
end tag.</p> |
761 |
|
|
|
762 |
|
|
<dl class="switch"> |
763 |
|
|
<dt>HTML <code>canvas</code> element</dt> |
764 |
|
|
<dd>Though the element is void in earlier versions of Safari, |
765 |
|
|
the <code>canvas</code> element is <em>no</em> longer |
766 |
|
|
defined as empty. There must be an end tag |
767 |
|
|
<code class="html example"></canvas></code>.</dd> |
768 |
|
|
</dl> |
769 |
|
|
|
770 |
|
|
<p>Note that misnesting tags, such as |
771 |
|
|
<code class="bad example"><a><b></a></b></code>, are not |
772 |
|
|
allowed and they also cause this error.</p> |
773 |
|
|
</div> |
774 |
|
|
|
775 |
|
|
<div class="section" id="not-first-start-tag"><h3>This <code><html></code> tag is not |
776 |
|
|
the first start tag.</h3> |
777 |
|
|
<p>There is a start tag of the <code>html</code> element |
778 |
|
|
that it not the first start tag in the input stream. |
779 |
|
|
The document is non-conforming.</p> |
780 |
|
|
|
781 |
|
|
<p>In an HTML document, there cannot be more than one |
782 |
|
|
<code>html</code> element and therefore there cannot be |
783 |
|
|
more than one <code><html></code> tag. In addition, |
784 |
|
|
nothing can be placed before the <code><html></code> tag |
785 |
|
|
except a <code>DOCTYPE</code>, white space characters, |
786 |
|
|
and comments.</p> |
787 |
|
|
</div> |
788 |
|
|
|
789 |
|
|
<div class="section" id="not-HTML5"><h3>This document is written in an old version of |
790 |
|
|
HTML.</h3> |
791 |
|
|
<p>The document contains a <code>DOCTYPE</code> declaration |
792 |
|
|
that is different from HTML5 <code>DOCTYPE</code> (i.e. |
793 |
|
|
<code class="example html"><!DOCTYPE HTML></code>). |
794 |
|
|
The document is non‐conforming.</p> |
795 |
|
|
|
796 |
|
|
<p>The document might or might not be conformant to |
797 |
|
|
some version of HTML. However, conformance to any HTML |
798 |
|
|
specification other than HTML5 provides for no practical |
799 |
|
|
convenience, since Web borwsers will parse any |
800 |
|
|
HTML document (roughly) as defined in HTML5.</p> |
801 |
|
|
</div> |
802 |
|
|
|
803 |
|
|
<div class="section" id="start-tag-not-allowed"><h3>Start tag <code><<var>{text}</var>></code> is |
804 |
|
|
not allowed here.</h3></div> |
805 |
|
|
|
806 |
|
|
<div class="section" id="unmatched-end-tag"><h3>Element <code><var>{text}</var></code> is not |
807 |
|
|
opened.</h3> |
808 |
|
|
<p>An end tag appears though no element with the same name |
809 |
|
|
has been opened. The document is non-conforming.</p> |
810 |
|
|
|
811 |
|
|
<p>For any end tag in HTML document, there must be a |
812 |
|
|
corresponding start tag.</p> |
813 |
|
|
|
814 |
|
|
<dl class="switch"> |
815 |
|
|
<dt>HTML <code>base</code>, <code>basefont</code>, |
816 |
|
|
<code>bgsound</code>, <code>br</code>, <code>col</code>, |
817 |
|
|
<code>embed</code>, <code>frame</code>, <code>hr</code>, |
818 |
|
|
<code>image</code>, <code>img</code>, <code>input</code>, |
819 |
|
|
<code>isindex</code>, <code>link</code>, <code>meta</code>, |
820 |
|
|
<code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt> |
821 |
|
|
<dd>End tag is not allowed for these elements, since |
822 |
|
|
those content must always be empty. Remove end tag.</dd> |
823 |
|
|
<!-- keygen --> |
824 |
|
|
<!-- command, event-source, nest, source --> |
825 |
|
|
</dl> |
826 |
|
|
</div> |
827 |
|
|
|
828 |
|
|
</section> |
829 |
|
|
|
830 |
|
|
<section id="element-content-model-errors"> |
831 |
|
|
<h2>Element Content Model Errors</h2> |
832 |
|
|
|
833 |
|
|
<div class="section" id="basehref-after-URL-attribute"><h3>The <code>base</code> element with the |
834 |
|
|
<code>href</code> attribute specified cannot be placed after |
835 |
|
|
any attribute with a URL.</h3></div> |
836 |
|
|
|
837 |
|
|
<div class="section" id="basetarget-after-hyperlink"><h3>The <code>base</code> element with the |
838 |
|
|
<code>target</code> attribute specified cannot be placed after |
839 |
|
|
any element that defines a hyperlink.</h3></div> |
840 |
|
|
|
841 |
|
|
<div class="section" id="character-not-allowed"><h3>Data character is not allowed in this |
842 |
|
|
context.</h3> |
843 |
|
|
<p>A data character appears where it is not allowed in this |
844 |
|
|
context. The document is non-conforming.</p> |
845 |
|
|
|
846 |
|
|
<p>Possible causes: |
847 |
|
|
<ul> |
848 |
|
|
<li><p>A data character cannot be a child |
849 |
|
|
of certain sectioning elements such as <code>body</code>, |
850 |
|
|
<code>section</code>, and <code>blockquote</code>.</p> |
851 |
|
|
|
852 |
|
|
<p>Any inline-level content must be put |
853 |
|
|
in e.g. paragraph element such as <code>p</code>.</p></li> |
854 |
|
|
<li><p>Though some elements such as <code>div</code>, |
855 |
|
|
<code>li</code>, and <code>td</code> allow |
856 |
|
|
<em>either one</em> of block-level or inline-level content |
857 |
|
|
is allowed. If there is a block-level content, |
858 |
|
|
any inline-level content must be put |
859 |
|
|
in e.g. paragraph element such as <code>p</code>.</p></li> |
860 |
|
|
</ul> |
861 |
|
|
</p> |
862 |
|
|
</div> |
863 |
|
|
|
864 |
|
|
<div class="section" id="character-not-allowed:empty"><h3>Non‐white‐space characters are not allowed in |
865 |
|
|
an empty element.</h3></div> |
866 |
|
|
|
867 |
|
|
<div class="section" id="character-not-allowed:atom|PersonConstruct"><h3>Non‐white‐space characters are not allowed in |
868 |
|
|
Person construct.</h3></div> |
869 |
|
|
|
870 |
|
|
<div class="section" id="character-not-allowed:atom|TextConstruct"><h3>Non‐white‐space characters are not allowed in |
871 |
|
|
Text construct.</h3></div> |
872 |
|
|
|
873 |
|
|
<div class="section" id="child-element-missing"><h3>There must be an element |
874 |
|
|
<code><var>{text}</var></code> as a child of this element.</h3> |
875 |
|
|
<p>The content model of the element is so defined that it |
876 |
|
|
must contain a <code><var>$0</var></code> child element. |
877 |
|
|
The document is non-conforming.</p> |
878 |
|
|
|
879 |
|
|
<dl class="switch"> |
880 |
|
|
<dt>HTML <code>head</code> element</dt> |
881 |
|
|
<dd>There must be a <code>title</code> child element.</dd> |
882 |
|
|
<dt>HTML <code>html</code> element</dt> |
883 |
|
|
<dd>There must be a <code>head</code> child element followed |
884 |
|
|
by a <code>body</code> element.</dd> |
885 |
|
|
<dt>HTML <code>tr</code> element</dt> |
886 |
|
|
<dd><a href="#child-element-missing:td%7Cth">There must be |
887 |
|
|
one or more <code>td</code> or <code>th</code> child element.</a></dd> |
888 |
|
|
</dl> |
889 |
|
|
</div> |
890 |
|
|
|
891 |
|
|
<div class="section" id="child-element-missing:td|th"><h3>There must be a <code>td</code> |
892 |
|
|
or <code>th</code> element as a child of this element.</h3> |
893 |
|
|
<p>The <code>tr</code> element must contain at least one |
894 |
|
|
<code>td</code> or <code>th</code> child element. The document |
895 |
|
|
is non-conforming.</p> |
896 |
|
|
</div> |
897 |
|
|
|
898 |
|
|
<div class="section" id="child-element-missing:atom"><h3>There must be an element |
899 |
|
|
<code><var>{text}</var></code> in the Atom namespace as a child of this |
900 |
|
|
element.</h3></div> |
901 |
|
|
|
902 |
|
|
<div class="section" id="child-element-missing:atom:link:alternate"><h3>There must be an Atom <code>link</code> element |
903 |
|
|
whose <code>rel</code> attribute is set to <code>alternate</code> as a |
904 |
|
|
child of this element.</h3></div> |
905 |
|
|
|
906 |
|
|
<div class="section" id="child-element-missing:atom:link:self"><h3>There should be an Atom <code>link</code> element |
907 |
|
|
whose <code>rel</code> attribute is set to <code>self</code> as a |
908 |
|
|
child of this element.</h3></div> |
909 |
|
|
|
910 |
|
|
<div class="section" id="element-missing:hn"><h3>There must be at least one |
911 |
|
|
<code>h<var>n</var></code> element descendant.</h3></div> |
912 |
|
|
|
913 |
|
|
<div class="section" id="element-not-allowed"><h3>This element is not allowed in this |
914 |
|
|
context.</h3> |
915 |
|
|
<p>An element appears where it is not allowed. The document |
916 |
|
|
is non-conforming.</p> |
917 |
|
|
|
918 |
|
|
<p>Possible causes: |
919 |
|
|
<dl class="switch"> |
920 |
|
|
<dt>If the element with the error is an inline-level element, |
921 |
|
|
such as <code>a</code>, <code>progress</code>, or <code>img</code></dt> |
922 |
|
|
<dd><p>An inline-level element cannot be a child |
923 |
|
|
of certain sectioning elements such as <code>body</code>, |
924 |
|
|
<code>section</code>, and <code>blockquote</code>.</p> |
925 |
|
|
|
926 |
|
|
<p>Any inline-level content must be put |
927 |
|
|
in e.g. paragraph element such as <code>p</code>.</p></dd> |
928 |
|
|
<dt>If it is a block-level elements, such as <code>aside</code>, |
929 |
|
|
<code>div</code>, <code>h<var>n</var></code>, |
930 |
|
|
<code>p</code>, or <code>section</code></dt> |
931 |
|
|
<dd><dl class="switch"> |
932 |
|
|
<dt>If the parent element is <code>div</code>, |
933 |
|
|
<code>li</code>, <code>td</code>, or <code>th</code></dt> |
934 |
|
|
<!-- @@ TODO: more... --> |
935 |
|
|
<!-- @@ TODO: <p><ul><li><p> --> |
936 |
|
|
<dd><p>The parent element allows <em>either</em> |
937 |
|
|
block-level or inline-level content. If there is a |
938 |
|
|
block-level content, any inline-level content must be |
939 |
|
|
put in e.g. paragraph element such as <code>p</code>.</p> |
940 |
|
|
<p>For example, an HTML document fragment |
941 |
|
|
<code class="html bad example"><div><p>Hello!</p> World!</div></code> |
942 |
|
|
is non-conforming, since a word <q>World!</q> does not belong |
943 |
|
|
to any paragraph. (If not part of any paragraph, what is |
944 |
|
|
it!?) A conforming example would be: |
945 |
|
|
<pre class="html example"> |
946 |
|
|
<code><div><p>Hello!</p> <p>World!</p></div></code></pre> |
947 |
|
|
</p></dd> |
948 |
|
|
<dt>If the parent element does <em>not</em> allow |
949 |
|
|
block-level elements as content</dt> |
950 |
|
|
<dd>The element is not allowed to be inserted here. |
951 |
|
|
For example, a <code>div</code> element cannot be |
952 |
|
|
a child of an <code>h1</code> element.</dd> |
953 |
|
|
</dl></dd> |
954 |
|
|
<dt>If the element with the error is a <code>noscript</code> element</dt> |
955 |
|
|
<dd>The <code>noscript</code> element is allowed only in the context |
956 |
|
|
where a block-level or inline-level content is expected |
957 |
|
|
and in the <code>head</code> element. |
958 |
|
|
It cannot be used in e.g. <code>ul</code>, <code>table</code>, |
959 |
|
|
or <code>select</code>.</dd> |
960 |
|
|
<dt>If the element with the error is <code>blink</code>, |
961 |
|
|
<code>center</code>, or <code>marquee</code> element</dt> |
962 |
|
|
<dd>These elements are not part of the HTML standard. |
963 |
|
|
Use CSS for styling control.</dd> |
964 |
|
|
|
965 |
|
|
<dt><code>button</code>, <code>datalist</code>, |
966 |
|
|
<code>fieldset</code>, <code>form</code>, |
967 |
|
|
<code>input</code>, <code>label</code>, |
968 |
|
|
<code>optgroup</code>, <code>option</code>, <code>output</code>, |
969 |
|
|
<code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>, |
970 |
|
|
<code>textarea</code>, or <code>textarea</code> element</dt> |
971 |
|
|
<!-- rbc, rtc ? --> |
972 |
|
|
<dd>These elements are intentionally not supported by the conformance |
973 |
|
|
checker <em>yet</em>.</dd> |
974 |
|
|
</dl> |
975 |
|
|
</p> |
976 |
|
|
</div> |
977 |
|
|
|
978 |
|
|
<div class="section" id="element-not-allowed:area"><h3>An <code>area</code> element cannot be used |
979 |
|
|
outside of a <code>map</code> element.</h3></div> |
980 |
|
|
|
981 |
|
|
<div class="section" id="element-not-allowed:base"><h3>There is another <code>base</code> |
982 |
|
|
element.</h3></div> |
983 |
|
|
|
984 |
|
|
<div class="section" id="element-not-allowed:datatemplate"><h3>In a <code>datatemplate</code> element, only |
985 |
|
|
<code>rule</code> elements are allowed.</h3></div> |
986 |
|
|
|
987 |
|
|
<div class="section" id="element-not-allowed:details-legend"><h3>In a <code>details</code> element, only at the |
988 |
|
|
beginning of the element a <code>lengend</code> element |
989 |
|
|
may be used.</h3></div> |
990 |
|
|
|
991 |
|
|
<div class="section" id="element-not-allowed:empty"><h3>Elements are not allowed in an empty |
992 |
|
|
element.</h3></div> |
993 |
|
|
|
994 |
|
|
<div class="section" id="element-not-allowed:figure-legend"><h3>In a <code>figure</code> element, only at the |
995 |
|
|
beginning or only at the end of the element a <code>lengend</code> element |
996 |
|
|
may be used.</h3></div> |
997 |
|
|
|
998 |
|
|
<div class="section" id="element-not-allowed:flow"><h3>This element is not allowed where flow |
999 |
|
|
content is expected.</h3></div> |
1000 |
|
|
|
1001 |
|
|
<div class="section" id="element-not-allowed:flow-style"><h3>A <code>style</code> element without |
1002 |
|
|
<code>scoped</code> attribute is not allowed in this context.</h3></div> |
1003 |
|
|
|
1004 |
|
|
<div class="section" id="element-not-allowed:head-noscript"><h3>This element is not allowed in a |
1005 |
|
|
<code>noscript</code> element in the <code>head</code> element.</h3></div> |
1006 |
|
|
|
1007 |
|
|
<div class="section" id="element-not-allowed:head-style"><h3>A <code>style</code> element with |
1008 |
|
|
<code>scoped</code> attribute is not allowed in the <code>head</code> |
1009 |
|
|
element.</h3></div> |
1010 |
|
|
|
1011 |
|
|
<div class="section" id="element-not-allowed:head-title"><h3>There is another <code>title</code> |
1012 |
|
|
element.</h3></div> |
1013 |
|
|
|
1014 |
|
|
<div class="section" id="element-not-allowed:minus"><h3>This element is not allowed in this |
1015 |
|
|
context.</h3></div> |
1016 |
|
|
|
1017 |
|
|
<div class="section" id="element-not-allowed:meta-charset"><h3>The character encoding declaration must be the |
1018 |
|
|
first element in the <code>head</code> element.</h3></div> |
1019 |
|
|
|
1020 |
|
|
<div class="section" id="element-not-allowed:metadata"><h3>This element is not allowed where metadata |
1021 |
|
|
content is expected.</h3></div> |
1022 |
|
|
|
1023 |
|
|
<div class="section" id="element-not-allowed:phrasing"><h3>This element is not allowed where phrasing |
1024 |
|
|
content is expected.</h3></div> |
1025 |
|
|
|
1026 |
|
|
<div class="section" id="element-not-allowed:root"><h3>This element is not allowed as the root |
1027 |
|
|
element of a document.</h3> |
1028 |
|
|
<p>An element that is not allowed as the root element |
1029 |
|
|
is used as the root element of the document. The document is |
1030 |
|
|
non-conforming, as far as the conformance checker can tell.</p> |
1031 |
|
|
|
1032 |
|
|
<dl class="switch"> |
1033 |
|
|
<dt><code>html</code> element in an XHTML document</dt> |
1034 |
|
|
<dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code> |
1035 |
|
|
element must have an <code>xmlns</code> attribute as: |
1036 |
|
|
<pre class="xml example"> |
1037 |
|
|
<code><html xmlns="http://www.w3.org/1999/xhtml"></code></pre></p></dd> |
1038 |
|
|
<dt><code>rss</code> element</dt> |
1039 |
|
|
<dd><p>The document is written in some version of RSS.</p> |
1040 |
|
|
<p>The conformance checker does not support any version |
1041 |
|
|
of RSS. Use Atom 1.0 for feed documents.</p></dd> |
1042 |
|
|
<dt><code>feed</code> element</dt> |
1043 |
|
|
<dd><p>The Atom <code>feed</code> element must be |
1044 |
|
|
in the <code>http://www.w3.org/2005/Atom</code> |
1045 |
|
|
namespace as: |
1046 |
|
|
<pre class="xml example"> |
1047 |
|
|
<code><feed xmlns="http://www.w3.org/2005/Atom"></code></pre> |
1048 |
|
|
</p> |
1049 |
|
|
<p>The conformance checker does not support Atom 0.3. |
1050 |
|
|
Use Atom 1.0 for feed documents.</p></dd> |
1051 |
|
|
</dl> |
1052 |
|
|
</div> |
1053 |
|
|
|
1054 |
|
|
<div class="section" id="element-not-allowed:root:xml"><h3>This element is not allowed as the root element |
1055 |
|
|
of an XML document.</h3></div> |
1056 |
|
|
|
1057 |
|
|
<div class="section" id="element-not-allowed:ruby-base"><h3>This element is not allowed in the <code>ruby</code> |
1058 |
|
|
element.</h3></div> |
1059 |
|
|
|
1060 |
|
|
<div class="section" id="element-not-allowed:text"><h3>This element is not allowed in this |
1061 |
|
|
context.</h3></div> |
1062 |
|
|
|
1063 |
|
|
<div class="section" id="element-not-allowed:atom|content"><h3>This element is not allowed in an Atom |
1064 |
|
|
<code>content</code> element.</h3></div> |
1065 |
|
|
|
1066 |
|
|
<div class="section" id="element-not-allowed:atom|PersonConstruct"><h3>This element is not allowed in Person |
1067 |
|
|
construct.</h3></div> |
1068 |
|
|
|
1069 |
|
|
<div class="section" id="element-not-allowed:atom|TextConstruct"><h3>This element is not allowed in Text |
1070 |
|
|
construct.</h3></div> |
1071 |
|
|
|
1072 |
|
|
<div class="section" id="element-not-defined"><h3>This element is not defined.</h3></div> |
1073 |
|
|
|
1074 |
|
|
<div class="section" id="no-significant-content"><h3>No significant content is contained |
1075 |
|
|
in this element.</h3></div> |
1076 |
|
|
|
1077 |
|
|
<div class="section" id="no-significant-content-before"><h3>There is no significant content |
1078 |
|
|
before this element.</h3></div> |
1079 |
|
|
|
1080 |
|
|
<div class="section" id="no-significant-content-at-the-end"><h3>No significant content is contained |
1081 |
|
|
at the end of this element.</h3></div> |
1082 |
|
|
|
1083 |
|
|
<div class="section" id="ps-element-missing"><h3>There is no <code><var>{text}</var></code> |
1084 |
|
|
element before this element.</h3> |
1085 |
|
|
<p>There must be an element before another element, but there |
1086 |
|
|
is not. The document is non-conforming.</p> |
1087 |
|
|
|
1088 |
|
|
<p>For example, there must be a <code>dt</code> element |
1089 |
|
|
before any <code>dd</code> element.</p> |
1090 |
|
|
</div> |
1091 |
|
|
|
1092 |
|
|
<div class="section" id="rp:syntax-error"><h3>The content of a <code>rp</code> element must |
1093 |
|
|
be a parenthesis.</h3></div> |
1094 |
|
|
|
1095 |
|
|
</section> |
1096 |
|
|
|
1097 |
|
|
<section id="attribute-errors"> |
1098 |
|
|
<h2>Attribute Errors</h2> |
1099 |
|
|
|
1100 |
|
|
<div class="section" id="attribute-missing"><h3>Required attribute <code><var>{text}</var></code> |
1101 |
|
|
is not specified.</h3> |
1102 |
|
|
<p>A required attribute is not specified. The document |
1103 |
|
|
is non-conforming.</p> |
1104 |
|
|
|
1105 |
|
|
<p>Some attribute is defined as <i>required</i>. |
1106 |
|
|
Without required attributes specified, user agents |
1107 |
|
|
cannot provide full functionality of the element to the user.</p> |
1108 |
|
|
|
1109 |
|
|
<dl class="switch"> |
1110 |
|
|
<dt>HTML <code>img</code> element</dt> |
1111 |
|
|
<dd>The <code>src</code> attribute must be specified. |
1112 |
|
|
Additionally, the <code>alt</code> attribute must be specified |
1113 |
|
|
in many cases.</dd> |
1114 |
|
|
<dt>HTML <code>link</code> element</dt> |
1115 |
|
|
<dd>The <code>rel</code> attribute must be specified. |
1116 |
|
|
Note that the <code>rev</code> attribute is obsolete.</dd> |
1117 |
|
|
</dl> |
1118 |
|
|
</div> |
1119 |
|
|
|
1120 |
|
|
<div class="section" id="attribute-missing:data|type"><h3>For an <code>object</code> at least one of |
1121 |
|
|
<code>data</code> and <code>type</code> attributes must be |
1122 |
|
|
specified.</h3></div> |
1123 |
|
|
|
1124 |
|
|
<div class="section" id="attribute-missing:href|target"><h3>For a <code>base</code> element, at least one of |
1125 |
|
|
<code>href</code> and <code>target</code> attributes must be |
1126 |
|
|
specified.</h3></div> |
1127 |
|
|
|
1128 |
|
|
<div class="section" id="attribute-missing:name|http-equiv"><h3>For a <code>meta</code> element with the |
1129 |
|
|
<code>content</code> attribute specified, exactly one of |
1130 |
|
|
<code>name</code> and <code>http-equiv</code> attributes must be |
1131 |
|
|
specified.</h3></div> |
1132 |
|
|
|
1133 |
|
|
<div class="section" id="attribute-missing:name|http-equiv|charset"><h3>For a <code>meta</code> element, exactly one of |
1134 |
|
|
<code>name</code>, <code>http-equiv</code>, and <code>charset</code> |
1135 |
|
|
attributes must be specified.</h3></div> |
1136 |
|
|
|
1137 |
|
|
<div class="section" id="attribute-not-allowed"><h3>Attribute |
1138 |
|
|
<code><var>{local-name}</var></code> is not allowed for |
1139 |
|
|
<code><var>{element-local-name}</var></code> element.</h3> |
1140 |
|
|
<p>An attribute is specified where it is not allowed. |
1141 |
|
|
The document is non-conforming.</p> |
1142 |
|
|
|
1143 |
|
|
<dl> |
1144 |
|
|
<dt>HTML <code>meta</code> element</dt> |
1145 |
|
|
<dd>For HTML <code>meta</code> element, <em>only one</em> of |
1146 |
|
|
<code>name</code>, <code>http-equiv</code>, or <code>charset</code> |
1147 |
|
|
attribute is allowed.</dd> |
1148 |
|
|
</dl> |
1149 |
|
|
</div> |
1150 |
|
|
|
1151 |
|
|
<div class="section" id="attribute-not-allowed:ismap"><h3>The <code>ismap</code> attribute may only be |
1152 |
|
|
used for the image contained in an <code>a</code> element.</h3></div> |
1153 |
|
|
|
1154 |
|
|
<div class="section" id="attribute-not-defined"><h3>This attribute is not defined.</h3></div> |
1155 |
|
|
|
1156 |
|
|
<div class="section" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute is not |
1157 |
|
|
allowed in HTML document.</h3> |
1158 |
|
|
<p>The <code>xml:lang</code> attribute is not allowed in |
1159 |
|
|
HTML document. The document is non-conforming.</p> |
1160 |
|
|
|
1161 |
|
|
<p>Use of the <code>xml:lang</code> attribute is conforming |
1162 |
|
|
<em>only</em> in XML documents.</p> |
1163 |
|
|
|
1164 |
|
|
<p>To specify natural language information in HTML document, |
1165 |
|
|
use <code>lang</code> attribute instead.</p> |
1166 |
|
|
|
1167 |
|
|
<p>XHTML 1.0 Appendix C was encouraged to specify both |
1168 |
|
|
<code>lang</code> and <code>xml:lang</code> attributes with |
1169 |
|
|
the same value. Such a duplication has <em>no effect</em> in practice. |
1170 |
|
|
Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in |
1171 |
|
|
XML).</p> |
1172 |
|
|
|
1173 |
|
|
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
1174 |
|
|
from an HTML document? --> |
1175 |
|
|
</div> |
1176 |
|
|
|
1177 |
|
|
<div class="section" id="in-XML:charset"><h3>The <code>charset</code> attribute is not |
1178 |
|
|
allowed in XML document.</h3> |
1179 |
|
|
<p>The <code>charset</code> attribute of a |
1180 |
|
|
<code>meta</code> element is not allowed in XML document. |
1181 |
|
|
The document is non-conforming.</p> |
1182 |
|
|
|
1183 |
|
|
<p>To specify the character encoding used for serialization, |
1184 |
|
|
if necessary, use XML declaration instead: |
1185 |
|
|
<pre class="xml example"> |
1186 |
|
|
<code><?xml version="1.0" encoding="<var>encoding-name</var>"?></code></pre> |
1187 |
|
|
</p> |
1188 |
|
|
</div> |
1189 |
|
|
|
1190 |
|
|
<div class="section" id="in-XML:lang"><h3>The <code>lang</code> attribute is not |
1191 |
|
|
allowed in XML document.</h3> |
1192 |
|
|
<p>The HTML <code>lang</code> attribute is not allowed in |
1193 |
|
|
XML document. The document is non-conforming.</p> |
1194 |
|
|
|
1195 |
|
|
<p>The <code>lang</code> attribute in <code>null</code> |
1196 |
|
|
namespace for HTML elements is conforming <em>only</em> in |
1197 |
|
|
HTML documents.</p> |
1198 |
|
|
|
1199 |
|
|
<p>To specify natural language information in XML document, |
1200 |
|
|
use <code>xml:lang</code> attribute instead.</p> |
1201 |
|
|
</div> |
1202 |
|
|
|
1203 |
|
|
<div class="section" id="in-XML:noscript"><h3>A <code>noscript</code> element cannot be |
1204 |
|
|
used in XML document.</h3></div> |
1205 |
|
|
|
1206 |
|
|
<div class="section" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute |
1207 |
|
|
in the <code>null</code> namespace is not allowed in |
1208 |
|
|
XHTML document. The document is non-conforming.</h3> |
1209 |
|
|
<p>The <code>xmlns</code> attribute in the <code>null</code> |
1210 |
|
|
namespace is not allowed in XHTML document.</p> |
1211 |
|
|
|
1212 |
|
|
<p>This error should not occur in conformance-checking of |
1213 |
|
|
static documents.</p> |
1214 |
|
|
</div> |
1215 |
|
|
|
1216 |
|
|
</section> |
1217 |
|
|
|
1218 |
|
|
<section id="attribute-value-errors"> |
1219 |
|
|
<h2>Attribute Value Errors</h2> |
1220 |
|
|
|
1221 |
|
|
<div class="section" id="boolean:invalid"><h3>Attribute value <code><var>{@}</var></code> |
1222 |
|
|
is not allowed. It must be an empty string or a string |
1223 |
|
|
<code><var>{local-name}</var></code>.</h3></div> |
1224 |
|
|
|
1225 |
|
|
<div class="section" id="char:syntax-error"><h3>The attribute value must be exactly one |
1226 |
|
|
character.</h3></div> |
1227 |
|
|
|
1228 |
|
|
<div class="section" id="charref-in-charset"><h3>A character reference cannot be used to |
1229 |
|
|
represent a character encoding name.</h3></div> |
1230 |
|
|
|
1231 |
|
|
<div class="section" id="charset:not-preferred"><h3>Character encoding name |
1232 |
|
|
<code><var>{value}</var></code> is not the preferred name of that |
1233 |
|
|
character encoding.</h3></div> |
1234 |
|
|
|
1235 |
|
|
<div class="section" id="charset:not-registered"><h3>Character encoding name |
1236 |
|
|
<code><var>{value}</var></code> is not a registered name.</h3> |
1237 |
|
|
<p>The specified character encoding name is not registered to |
1238 |
|
|
<abbr>IANA</abbr>. Use of registered character encoding name |
1239 |
|
|
is a good practice to facilitate interoperability.</p> |
1240 |
|
|
|
1241 |
|
|
<dl class="switch"> |
1242 |
|
|
<dt><code>EUC-TW</code></dt> |
1243 |
|
|
<dd><code>EUC-TW</code> is not registered. Unfortunately, there |
1244 |
|
|
is no registered name for that character encoding. Use |
1245 |
|
|
Big5 encoding with character encoding name <code>Big5</code> |
1246 |
|
|
if it is enough to represent the document.</dd> |
1247 |
|
|
<dt><code>ISO-2022-JP-1</code></dt> |
1248 |
|
|
<dd><code>ISO-2022-JP-1</code> is not registered, nevertheless |
1249 |
|
|
this character encoding name is documented in |
1250 |
|
|
<a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>. Use |
1251 |
|
|
<code>ISO-2022-JP-2</code> instead, since that character encoding |
1252 |
|
|
is a superset of ISO-2022-JP-1.</dd> |
1253 |
|
|
<dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt> |
1254 |
|
|
<dd>These names are not registered and obsoleted in favor of |
1255 |
|
|
<code>ISO-2022-JP-2004</code> and |
1256 |
|
|
<code>ISO-2022-JP-2004-plane1</code>.</dd> |
1257 |
|
|
<dt><code>ISO-2022-JP-2003</code>, |
1258 |
|
|
<code>ISO-2022-JP-2003-plane1</code></dt> |
1259 |
|
|
<dd>These names are not registered and corrected to |
1260 |
|
|
<code>ISO-2022-JP-2004</code> and |
1261 |
|
|
<code>ISO-2022-JP-2004-plane1</code>.</dd> |
1262 |
|
|
<dt><code>ISO-2022-JP-2004</code>, |
1263 |
|
|
<code>ISO-2022-JP-2004-plane1</code></dt> |
1264 |
|
|
<dd>These names are not registered. Unfortunately, there is |
1265 |
|
|
no registered name for these character encodings.</dd> |
1266 |
|
|
<dt><code>UTF-8N</code></dt> |
1267 |
|
|
<dd><code>UTF-8N</code> is not registered. Character encoding |
1268 |
|
|
name <code>UTF-8</code> represents UTF-8 encoding with or |
1269 |
|
|
without <abbr>BOM</abbr>.</dd> |
1270 |
|
|
</dl> |
1271 |
|
|
|
1272 |
|
|
<p><strong>WARNING</strong>: This error might be raised for |
1273 |
|
|
a registered character encoding name, since the character encoding |
1274 |
|
|
name database of the conformance checker is not complete yet.</p> |
1275 |
|
|
</div> |
1276 |
|
|
|
1277 |
|
|
<div class="section" id="charset:private"><h3>Character encoding name |
1278 |
|
|
<code><var>{value}</var></code> is a private name.</h3> |
1279 |
|
|
<p>The specified character encoding name is a private name and |
1280 |
|
|
not registered to <abbr>IANA</abbr>. Use of registered character |
1281 |
|
|
encoding name is a good practice to facilitate interoperability.</p> |
1282 |
|
|
|
1283 |
|
|
<dl class="switch"> |
1284 |
|
|
<dt><code>x-euc-jp</code></dt> |
1285 |
|
|
<dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr> |
1286 |
|
|
character encoding.</dd> |
1287 |
|
|
<dt><code>x-sjis</code></dt> |
1288 |
|
|
<dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of |
1289 |
|
|
<abbr>JIS</abbr> coded character set, or <code>Windows-31J</code> |
1290 |
|
|
for Microsoft standard character set as implemented by |
1291 |
|
|
Microsoft Windows.</dd> |
1292 |
|
|
</dl> |
1293 |
|
|
</div> |
1294 |
|
|
|
1295 |
|
|
<div class="section" id="charset:syntax-error"><h3>The specified value <code><var>{value}</var></code> |
1296 |
|
|
is syntactically not a character encoding name.</h3> |
1297 |
|
|
<p>The attribute value must be a character encoding name. However, |
1298 |
|
|
the specified value is not a character encoding name syntactically. |
1299 |
|
|
The document is non‐conforming.</p> |
1300 |
|
|
<p>Character encoding name is a string of <abbr>ASCII</abbr> |
1301 |
|
|
printable characters, up to 40 characters.</p> |
1302 |
|
|
</div> |
1303 |
|
|
|
1304 |
|
|
<div class="section" id="color:syntax-error"><h3>The specified value is not a color |
1305 |
|
|
name or hexadecimal color number.</h3></div> |
1306 |
|
|
|
1307 |
|
|
<div class="section" id="coords:number-not-3"><h3>The <code>coords</code> attribute have to |
1308 |
|
|
contain three (3) numbers (specified: |
1309 |
|
|
<code><var>{text}</var></code>).</h3></div> |
1310 |
|
|
|
1311 |
|
|
<div class="section" id="coords:number-not-4"><h3>The <code>coords</code> attribute have to |
1312 |
|
|
contain four (4) numbers (specified: |
1313 |
|
|
<code><var>{text}</var></code>).</h3></div> |
1314 |
|
|
|
1315 |
|
|
<div class="section" id="coords:number-lt-6"><h3>The <code>coords</code> attribute have to |
1316 |
|
|
contain more than or equal to six (6) numbers (specified: |
1317 |
|
|
<code><var>{text}</var></code>).</h3></div> |
1318 |
|
|
|
1319 |
|
|
<div class="section" id="coords:number-not-even"><h3>The <code>coords</code> attribute have to |
1320 |
|
|
contain even number of numbers (specified: |
1321 |
|
|
<code><var>{text}</var></code>).</h3></div> |
1322 |
|
|
|
1323 |
|
|
<div class="section" id="coords:out-of-range"><h3>The specified value <code><var>{value}</var></code> |
1324 |
|
|
is out of range.</h3></div> |
1325 |
|
|
|
1326 |
|
|
<div class="section" id="coords:syntax-error"><h3>The specified value is not valid.</h3></div> |
1327 |
|
|
|
1328 |
|
|
<div class="section" id="datetime:bad-year"><h3>Year number is out of range.</h3></div> |
1329 |
|
|
|
1330 |
|
|
<div class="section" id="datetime:bad-month"><h3>Month number is out of range.</h3></div> |
1331 |
|
|
|
1332 |
|
|
<div class="section" id="datetime:bad-day"><h3>Day number is out of range.</h3></div> |
1333 |
|
|
|
1334 |
|
|
<div class="section" id="datetime:bad-hour"><h3>Hour number is out of range.</h3></div> |
1335 |
|
|
|
1336 |
|
|
<div class="section" id="datetime:bad-minute"><h3>Minute number is out of range.</h3></div> |
1337 |
|
|
|
1338 |
|
|
<div class="section" id="datetime:bad-second"><h3>Second number is out of range.</h3></div> |
1339 |
|
|
|
1340 |
|
|
<div class="section" id="datetime:bad-timezone-hour"><h3>Hour number of the timezone component is out of |
1341 |
|
|
range.</h3></div> |
1342 |
|
|
|
1343 |
|
|
<div class="section" id="datetime:bad-timezone-minute"><h3>Minute number of the timezone component is out of |
1344 |
|
|
range.</h3></div> |
1345 |
|
|
|
1346 |
|
|
<div class="section" id="datetime:syntax-error"><h3>The attribute value is not a datetime.</h3></div> |
1347 |
|
|
|
1348 |
|
|
<div class="section" id="dateortime:syntax-error"><h3>The attribute value is not a date or |
1349 |
|
|
time.</h3></div> |
1350 |
|
|
|
1351 |
|
|
<div class="section" id="enumerated:invalid"><h3>This attribute only allow a limited set of |
1352 |
|
|
values and the specified value <code><var>{@}</var></code> is not one |
1353 |
|
|
of them.</h3> |
1354 |
|
|
<p>For this attribute only several values are allowed and the |
1355 |
|
|
value of the attribute is not one of them. The document |
1356 |
|
|
is non-conforming.</p> |
1357 |
|
|
|
1358 |
|
|
<dl> |
1359 |
|
|
<dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt> |
1360 |
|
|
<dd><p>Only values <code>Default-Style</code> and <code>Refresh</code> |
1361 |
|
|
are allowed.</p> |
1362 |
|
|
<p>Value <code>Content-Type</code> is obsolete; for charset |
1363 |
|
|
declaration, the <code>charset</code> attribute can be used as: |
1364 |
|
|
<pre class="html example"> |
1365 |
|
|
<code><meta charset="<var>charset-name</var>"></code></pre> |
1366 |
|
|
... where <var>charset-name</var> is a name of the character encoding |
1367 |
|
|
of the document, such as <code>utf-8</code>.</p> |
1368 |
|
|
<p>Values <code>Content-Style-Type</code> and |
1369 |
|
|
<code>Content-Script-Type</code> are currently not allowed.</p> |
1370 |
|
|
<p>Value <code>Keywords</code> is not allowed. Use |
1371 |
|
|
<code>name</code> attribute instead of <code>http-equiv</code> |
1372 |
|
|
attribute.</p> |
1373 |
|
|
<p>Values <code>Expires</code>, <code>Pragma</code>, |
1374 |
|
|
and <code>Cache-Control</code> are not allowed; |
1375 |
|
|
use <em>real</em> HTTP header fields for cache control.</p></dd> |
1376 |
|
|
</dl> |
1377 |
|
|
</div> |
1378 |
|
|
|
1379 |
|
|
<div class="section" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax |
1380 |
|
|
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
1381 |
|
|
is obsolete.</h3> |
1382 |
|
|
<p>Old long character encoding declaration syntax |
1383 |
|
|
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
1384 |
|
|
is in use. The document is non‐conforming.</p> |
1385 |
|
|
|
1386 |
|
|
<p>The new character encoding declaration syntax is: |
1387 |
|
|
<pre class="html example"> |
1388 |
|
|
<code><meta charset="<var>charset-name</var>"></code></pre> |
1389 |
|
|
</p> |
1390 |
|
|
</div> |
1391 |
|
|
|
1392 |
|
|
<div class="section" id="enumerated:non-conforming"><h3>Attribute value <code><var>{@}</var></code> |
1393 |
|
|
is not allowed.</h3></div> |
1394 |
|
|
|
1395 |
|
|
<div class="section" id="duplicate-http-equiv"><h3>There is another pragma |
1396 |
|
|
<code><var>{value}</var></code>.</h3></div> |
1397 |
|
|
|
1398 |
|
|
<div class="section" id="duplicate-ID"><h3>This identifier has already been |
1399 |
|
|
assigned to another element.</h3></div> |
1400 |
|
|
|
1401 |
|
|
<div class="section" id="duplicate-token"><h3>The token <code><var>{value}</var></code> |
1402 |
|
|
appears in the attribute value twice.</h3></div> |
1403 |
|
|
|
1404 |
|
|
<div class="section" id="empty-attribute-value"><h3>The attribute value must not be empty.</h3></div> |
1405 |
|
|
|
1406 |
|
|
<div class="section" id="float:out-of-range"><h3>The specified value is out of range.</h3></div> |
1407 |
|
|
|
1408 |
|
|
<div class="section" id="float:syntax-error"><h3>The attribute value is not a real |
1409 |
|
|
number.</h3></div> |
1410 |
|
|
|
1411 |
|
|
<div class="section" id="fragment-points-itself"><h3>A fragment identifier references the element |
1412 |
|
|
itself.</h3></div> |
1413 |
|
|
|
1414 |
|
|
<div class="section" id="fragment-points-nothing"><h3>A fragment identifier references no |
1415 |
|
|
node.</h3></div> |
1416 |
|
|
|
1417 |
|
|
<div class="section" id="hashref:syntax-error"><h3>A hash−name reference must start with a |
1418 |
|
|
<code>#</code> character.</h3></div> |
1419 |
|
|
|
1420 |
|
|
<div class="section" id="id-ne-name"><h3>The <code>id</code> attribute value is |
1421 |
|
|
different from the <code>name</code> attribute value.</h3></div> |
1422 |
|
|
|
1423 |
|
|
<div class="section" id="integer:syntax-error"><h3>The attribute value is not an integer.</h3></div> |
1424 |
|
|
|
1425 |
|
|
<div class="section" id="link-type:bad-context"><h3>The link type <code><var>{value}</var></code> |
1426 |
|
|
cannot be specified for this element.</h3> |
1427 |
|
|
<p>The specified link type cannot be used for the element. |
1428 |
|
|
The document is non-conforming.</p> |
1429 |
|
|
|
1430 |
|
|
<p>Link types are associated with limited set of elements. |
1431 |
|
|
They cannot be used with other elements.</p> |
1432 |
|
|
|
1433 |
|
|
<p>For example, link type <code>bookmark</code> |
1434 |
|
|
can be used with <code>a</code> or <code>area</code> element, |
1435 |
|
|
while it cannot be used with <code>link</code> element.</p> |
1436 |
|
|
</div> |
1437 |
|
|
|
1438 |
|
|
<div class="section" id="invalid-attribute-value"><h3>Attribute value <code><var>{@}</var></code> |
1439 |
|
|
is not an allowed value.</h3></div> |
1440 |
|
|
|
1441 |
|
|
<div class="section" id="length:syntax-error"><h3>The attribute value is not a length |
1442 |
|
|
value.</h3></div> |
1443 |
|
|
|
1444 |
|
|
<div class="section" id="link-type:non-conforming"><h3>The link type <code><var>{value}</var></code> |
1445 |
|
|
is non-conforming.</h3> |
1446 |
|
|
<p>The specified link type is non-conforming, and therefore |
1447 |
|
|
the document is non-conforming.</p> |
1448 |
|
|
|
1449 |
|
|
<dl class="switch"> |
1450 |
|
|
<dt>Link type <code>contents</code></dt> |
1451 |
|
|
<dd>Use link type <code>index</code>.</dd> |
1452 |
|
|
<dt>Link type <code>copyright</code></dt> |
1453 |
|
|
<dd>Use link type <code>license</code>.</dd> |
1454 |
|
|
<dt>Link type <code>home</code></dt> |
1455 |
|
|
<dd>Use link type <code>index</code>.</dd> |
1456 |
|
|
<dt>Link type <code>previous</code></dt> |
1457 |
|
|
<dd>Use link type <code>prev</code>.</dd> |
1458 |
|
|
<dt>Link type <code>start</code></dt> |
1459 |
|
|
<dd>Use link type <code>first</code>.</dd> |
1460 |
|
|
<dt>Link type <code>toc</code> or <code>top</code></dt> |
1461 |
|
|
<dd>Use link type <code>index</code>.</dd> |
1462 |
|
|
</dl> |
1463 |
|
|
</div> |
1464 |
|
|
|
1465 |
|
|
<div class="section" id="meta-content-type-syntax-error"><h3>The specified value is not a valid as a long |
1466 |
|
|
character encoding declaration.</h3></div> |
1467 |
|
|
|
1468 |
|
|
<div class="section" id="mismatched-charset-name"><h3>The specified character encoding name |
1469 |
|
|
<code><var>{value}</var></code> is different from the actual document |
1470 |
|
|
character encoding <code><var>{text}</var></code>.</h3> |
1471 |
|
|
<p>The specified character encoding name is different from |
1472 |
|
|
the character encoding of the document. The document |
1473 |
|
|
is non‐conforming.</p> |
1474 |
|
|
</div> |
1475 |
|
|
|
1476 |
|
|
<div class="section" id="mismatched-charset-name-not-checked"><h3>Whether the specified character encoding name |
1477 |
|
|
<code><var>{value}</var></code> matches to the actual character encoding |
1478 |
|
|
name cannot be checked since the input is not a byte stream.</h3></div> |
1479 |
|
|
|
1480 |
|
|
<div class="section" id="mode:syntax-error"><h3>The attribute value is not a valid mode |
1481 |
|
|
name.</h3></div> |
1482 |
|
|
|
1483 |
|
|
<div class="section" id="nninteger:out-of-range"><h3>The specified value is out of range.</h3></div> |
1484 |
|
|
|
1485 |
|
|
<div class="section" id="nninteger:syntax-error"><h3>The attribute value is not a non‐negative |
1486 |
|
|
integer.</h3></div> |
1487 |
|
|
|
1488 |
|
|
<div class="section" id="no-referenced-map"><h3>The <code>usemap</code> attribute references |
1489 |
|
|
no image map.</h3></div> |
1490 |
|
|
|
1491 |
|
|
<div class="section" id="no-referenced-menu"><h3>The <code>contextmenu</code> attribute references |
1492 |
|
|
no menu.</h3></div> |
1493 |
|
|
|
1494 |
|
|
<div class="section" id="no-referenced-header-cell"><h3>There is no table header cell whose <code>id</code> |
1495 |
|
|
is <code><var>{value}</var></code> in the same table.</h3></div> |
1496 |
|
|
|
1497 |
|
|
<div class="section" id="refresh:syntax-error"><h3>the specified value is not a valid as part |
1498 |
|
|
of a <code>Refresh</code> pragma.</h3></div> |
1499 |
|
|
|
1500 |
|
|
<div class="section" id="repeat:syntax-error"><h3>The attribute value is not an integer or |
1501 |
|
|
a string <code>template</code>.</h3></div> |
1502 |
|
|
|
1503 |
|
|
<div class="section" id="reserved-browsing-context-name"><h3>Browsing context name |
1504 |
|
|
<code><var>{@}</var></code> is reserved.</h3> |
1505 |
|
|
<p>The specified browsing context name is reserved. |
1506 |
|
|
The document is non-conforming.</p> |
1507 |
|
|
|
1508 |
|
|
<p>Names of browsing contexts starting with <code>_</code> |
1509 |
|
|
(<code>U+005F</code> <code class="charname">LOW LINE</code>) |
1510 |
|
|
are reserved so that it must not be used.</p> |
1511 |
|
|
|
1512 |
|
|
<p>Old version of HTML, non-HTML markup languages, and |
1513 |
|
|
Web browsers define or implements special reserved |
1514 |
|
|
browsing context names <code>_blank</code>, |
1515 |
|
|
<code>_main</code>, and <code>_replace</code>. |
1516 |
|
|
However, they are <em>not</em> conforming attribute values.</p> |
1517 |
|
|
</div> |
1518 |
|
|
|
1519 |
|
|
<div class="section" id="Reserved-Prefixes-and-Namespace-Names:Name"><h3>Namespace name <code><var>{text}</var></code> |
1520 |
|
|
is reserved and cannot be used for an arbitrary prefix.</h3></div> |
1521 |
|
|
|
1522 |
|
|
<div class="section" id="Reserved-Prefixes-and-Namespace-Names:Prefix"><h3>Namespace prefix <code><var>{text}</var></code> |
1523 |
|
|
is reserved and cannot be used for an arbitrary namespace name.</h3></div> |
1524 |
|
|
|
1525 |
|
|
<div class="section" id="link-type:proposed"><h3>Link type <code><var>{value}</var></code> |
1526 |
|
|
is proposed but not accepted yet; it <em>should not</em> be |
1527 |
|
|
used until it has been accepted.</h3> |
1528 |
|
|
<p>The link type is in the <i>proposed</i> status; it |
1529 |
|
|
<em>should not</em> be used until it has been |
1530 |
|
|
accepted.</p> |
1531 |
|
|
|
1532 |
|
|
<p><strong>Warning</strong>: The data served to the |
1533 |
|
|
conforming checker might be out of date; it might have already |
1534 |
|
|
been accepted or rejected. The document might or might not be |
1535 |
|
|
conforming depending on the status. See WHATWG Wiki |
1536 |
|
|
for the latest information.</p> |
1537 |
|
|
</div> |
1538 |
|
|
|
1539 |
|
|
<div class="section" id="sizes:syntax-error"><h3>The specified value <code><var>{value}</var></code> |
1540 |
|
|
is not a valid value.</h3></div> |
1541 |
|
|
|
1542 |
|
|
<div class="section" id="space-in-ID"><h3>White space characters are not allowed |
1543 |
|
|
in the <code>id</code> attribute.</h3></div> |
1544 |
|
|
|
1545 |
|
|
<div class="section" id="template:not-template"><h3>The node referenced by the <code>template</code> |
1546 |
|
|
attribute is not a template.</h3></div> |
1547 |
|
|
|
1548 |
|
|
<div class="section" id="window-name:empty"><h3>Browsing context name must not be empty.</h3></div> |
1549 |
|
|
|
1550 |
|
|
<div class="section" id="window-name:reserved"><h3>Browsing context name |
1551 |
|
|
<code><var>{value}</var></code> is reserved.</h3></div> |
1552 |
|
|
|
1553 |
|
|
<div class="section" id="word-not-allowed"><h3>The word <code><var>{value}</var></code> is not |
1554 |
|
|
allowed in this attribute.</h3></div> |
1555 |
|
|
|
1556 |
|
|
<div class="section" id="XML-1.0-NCName:syntax-error"><h3>The specified value is not a legal XML Namespaces |
1557 |
|
|
1.0 <code>NCName</code>.</h3></div> |
1558 |
|
|
|
1559 |
|
|
</section> |
1560 |
|
|
|
1561 |
|
|
<section id="table-model-errors"> |
1562 |
|
|
<h2>Table Model Errors</h2> |
1563 |
|
|
|
1564 |
|
|
<div class="section" id="cell-overlapping"><h3>Cell slot (<var>{text}</var>) is filled by |
1565 |
|
|
multiple cells.</h3></div> |
1566 |
|
|
|
1567 |
|
|
<div class="section" id="colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute |
1568 |
|
|
results in creating a table column that does not contain |
1569 |
|
|
any cell anchored to it.</h3></div> |
1570 |
|
|
|
1571 |
|
|
<div class="section" id="column-with-no-anchored-cell"><h3>This column has no anchored cell.</h3></div> |
1572 |
|
|
|
1573 |
|
|
<div class="section" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or |
1574 |
|
|
<code>th</code>) in the last row.</h3></div> |
1575 |
|
|
|
1576 |
|
|
<div class="section" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute |
1577 |
|
|
results in creating a table row that does not contain |
1578 |
|
|
any cell anchored to it.</h3> |
1579 |
|
|
<p>The <code>rowspan</code> attribute value of the cell |
1580 |
|
|
is so specified that it extends a table in the row axis. |
1581 |
|
|
However, the extended row does not contain any cell by itself. |
1582 |
|
|
The document is non-conforming.</p> |
1583 |
|
|
|
1584 |
|
|
<p>For example, the table below is non-conforming: |
1585 |
|
|
<pre class="html bad example"> |
1586 |
|
|
<code><table> |
1587 |
|
|
<tbody> |
1588 |
|
|
<tr><td rowspan=2></td></tr> |
1589 |
|
|
</tbody> |
1590 |
|
|
</table></code></pre> |
1591 |
|
|
... since the second row contains only |
1592 |
|
|
a cell that spans between first and second rows.</p> |
1593 |
|
|
</div> |
1594 |
|
|
|
1595 |
|
|
<div class="section" id="row-with-no-anchored-cell"><h3>This row has no anchored cell.</h3></div> |
1596 |
|
|
|
1597 |
|
|
<div class="section" id="rowspan-creates-row-with-no-anchored-cell"><h3>This <code>rowspan</code> attribute |
1598 |
|
|
results in creating a table row that does not contain |
1599 |
|
|
any cell anchored to it.</h3></div> |
1600 |
|
|
|
1601 |
|
|
|
1602 |
|
|
</section> |
1603 |
|
|
|
1604 |
|
|
<section id="imt-warnings"> |
1605 |
|
|
<h2>Internet Media Type Errors</h2> |
1606 |
|
|
|
1607 |
|
|
<div class="section" id="IMT:composite"><h3>The specified media type is a composite |
1608 |
|
|
type, which is not allowed in this context.</h3></div> |
1609 |
|
|
|
1610 |
|
|
<div class="section" id="IMT:syntax-error"><h3>The specified value is not an Internet Media |
1611 |
|
|
Type.</h3></div> |
1612 |
|
|
|
1613 |
|
|
<div class="section" id="IMT:obsolete-subtype"><h3><code><var>{@}</var></code>: An <em>obsolete</em> |
1614 |
|
|
subtype is used.</h3></div> |
1615 |
|
|
|
1616 |
|
|
<div class="section" id="IMT:private-subtype"><h3><code><var>{@}</var></code>: A private |
1617 |
|
|
(<code>x-</code> or <code>x.</code>) subtype is used.</h3></div> |
1618 |
|
|
|
1619 |
|
|
<div class="section" id="IMT:unregistered-subtype"><h3><code><var>{@}</var></code>: The subtype is |
1620 |
|
|
not registered to IANA.</h3></div> |
1621 |
|
|
|
1622 |
|
|
<div class="section" id="not-IMT"><h3>A value that is not an Internet Media Type |
1623 |
|
|
is not allowed here.</h3></div> |
1624 |
|
|
|
1625 |
|
|
</section> |
1626 |
|
|
|
1627 |
|
|
<section id="uri-errors"> |
1628 |
|
|
<h2>URL Errors</h2> |
1629 |
|
|
|
1630 |
|
|
<div class="section" id="syntax-error:iri3987"><h3>The specified value is syntactically not an |
1631 |
|
|
IRI.</h3></div> |
1632 |
|
|
|
1633 |
|
|
<div class="section" id="syntax-error:iriref3987"><h3>The specified value is syntactically not an IRI |
1634 |
|
|
reference.</h3> |
1635 |
|
|
<p>The specified value does not satisfy the syntactical requirements |
1636 |
|
|
for IRI references. The document is non-conforming.</p> |
1637 |
|
|
|
1638 |
|
|
<p>Possible causes: |
1639 |
|
|
<ul> |
1640 |
|
|
<li>The string might contain one or more white space characters. |
1641 |
|
|
Especially, the <code> </code> (<code>U+0020</code> |
1642 |
|
|
<code class="charname">SPACE</code>) character cannot be |
1643 |
|
|
used in IRI references.</li> |
1644 |
|
|
</ul> |
1645 |
|
|
</p> |
1646 |
|
|
</div> |
1647 |
|
|
|
1648 |
|
|
<div class="section" id="syntax-error:rdfuriref"><h3>The specified value is syntactically not an RDF |
1649 |
|
|
URI reference.</h3></div> |
1650 |
|
|
|
1651 |
|
|
<div class="section" id="syntax-error:uri2396"><h3>The specified value is syntactically not a |
1652 |
|
|
URI according to RFC 2396.</h3></div> |
1653 |
|
|
|
1654 |
|
|
<div class="section" id="syntax-error:uri3986"><h3>The specified value is syntactically not a |
1655 |
|
|
URI.</h3></div> |
1656 |
|
|
|
1657 |
|
|
<div class="section" id="URL:address-format"><h3>URL host address format |
1658 |
|
|
<code><var>{value}</var></code> is not supported by the |
1659 |
|
|
conformance checker.</h3></div> |
1660 |
|
|
|
1661 |
|
|
<div class="section" id="URL:default-port"><h3>Default port number should be omitted.</h3></div> |
1662 |
|
|
|
1663 |
|
|
<div class="section" id="URL:dot-segment"><h3>A dot-segment (<code>.</code> or |
1664 |
|
|
<code>..</code>) occurs in an absolute reference.</h3> |
1665 |
|
|
<p>Dot-segment (<code>.</code> or <code>..</code>) should |
1666 |
|
|
not occur in an absolute reference.</p> |
1667 |
|
|
|
1668 |
|
|
<p>In relative references, dot-segments are used to represent |
1669 |
|
|
the current (<code>.</code>) or the parent (<code>..</code>) |
1670 |
|
|
hierarchy of the path. Though they are also allowed |
1671 |
|
|
in absolute references, it should be resolved to the |
1672 |
|
|
canonical form before it has been published.</p> |
1673 |
|
|
</div> |
1674 |
|
|
|
1675 |
|
|
<div class="section" id="URL:empty-host"><h3>The host component of the URL is empty.</h3></div> |
1676 |
|
|
|
1677 |
|
|
<div class="section" id="URL:empty-path"><h3>The URL does not end with |
1678 |
|
|
a <code>/</code> character.</h3></div> |
1679 |
|
|
|
1680 |
|
|
<div class="section" id="URL:empty-port"><h3>The port component of the URL is empty.</h3></div> |
1681 |
|
|
|
1682 |
|
|
<div class="section" id="URL-fragment-not-allowed"><h3>The fragment component of the URL is not |
1683 |
|
|
allowed.</h3></div> |
1684 |
|
|
|
1685 |
|
|
<div class="section" id="URL:long-host"><h3>The host component of the URL |
1686 |
|
|
is too long.</h3></div> |
1687 |
|
|
|
1688 |
|
|
<div class="section" id="URL:lowercase-hexadecimal-digit"><h3>A lowercase hexadecimal digit is used |
1689 |
|
|
in percent-encoding.</h3> |
1690 |
|
|
<p>The hexadecimal digit in percent-encoding string in the IRI |
1691 |
|
|
is in lowercase. Though the IRI <em>is</em> conforming, |
1692 |
|
|
it should be in uppercase.</p> |
1693 |
|
|
</div> |
1694 |
|
|
|
1695 |
|
|
<div class="section" id="URL:non-DNS-host"><h3>The host component of the URL |
1696 |
|
|
is not a DNS host name.</h3></div> |
1697 |
|
|
|
1698 |
|
|
<div class="section" id="URL:non-UTF-8-host"><h3>The host component of the URL |
1699 |
|
|
is not encoded in UTF-8.</h3></div> |
1700 |
|
|
|
1701 |
|
|
<div class="section" id="URL:password"><h3>Password should not be included in a URL |
1702 |
|
|
for the security.</h3></div> |
1703 |
|
|
|
1704 |
|
|
<div class="section" id="URL:percent-encoded-unreserved"><h3>An unreserved character is |
1705 |
|
|
percent-encoded.</h3> |
1706 |
|
|
<p>An unreserved character is percent-encoded in the IRI. |
1707 |
|
|
Though it <em>is</em> conforming, it should be in the |
1708 |
|
|
decoded (or bare) form.</p> |
1709 |
|
|
</div> |
1710 |
|
|
|
1711 |
|
|
<div class="section" id="URL:uppercase-host"><h3>The host <code><var>{value}</var></code> |
1712 |
|
|
should be spelt in lowercase.</h3></div> |
1713 |
|
|
|
1714 |
|
|
<div class="section" id="URL:uppercase-scheme-name"><h3>URL scheme name is in uppercase.</h3> |
1715 |
|
|
<p>The scheme part of the IRI is written in uppercase letter.</p> |
1716 |
|
|
|
1717 |
|
|
<p>Uppercase scheme names are not required to be processed |
1718 |
|
|
correctly.</p> |
1719 |
|
|
<!-- @@ |
1720 |
|
|
RFC 3986 3.1. |
1721 |
|
|
> Although schemes are case- |
1722 |
|
|
insensitive, the canonical form is lowercase and documents that |
1723 |
|
|
specify schemes must do so with lowercase letters. |
1724 |
|
|
|
1725 |
|
|
> An implementation ... should only produce lowercase scheme names for |
1726 |
|
|
consistency. |
1727 |
|
|
--> |
1728 |
|
|
</div> |
1729 |
|
|
|
1730 |
|
|
</section> |
1731 |
|
|
|
1732 |
|
|
<section id="mq-errors"> |
1733 |
|
|
<h2>Media Query Errors</h2> |
1734 |
|
|
|
1735 |
|
|
<div class="section" id="mq-syntax-error"><h3>The specified value has a syntax error as a |
1736 |
|
|
media query.</h3></div> |
1737 |
|
|
|
1738 |
|
|
<div class="section" id="unknown-media-type"><h3>Media type <code><var>{value}</var></code> is |
1739 |
|
|
not supported by the conformance checker.</h3></div> |
1740 |
|
|
|
1741 |
|
|
</section> |
1742 |
|
|
|
1743 |
|
|
<section id="selectors-errors"> |
1744 |
|
|
<h2>Selectors Errors</h2> |
1745 |
|
|
|
1746 |
|
|
<div class="section" id="an+b-not-closed"><h3>Argument list of the pseudo-class is |
1747 |
|
|
not closed by a <code>)</code> character.</h3></div> |
1748 |
|
|
|
1749 |
|
|
<div class="section" id="ab+b-not-integer"><h3>Numbers in the argument |
1750 |
|
|
<code><var>a</var>n+<var>b</var></code> have to be integers.</h3></div> |
1751 |
|
|
|
1752 |
|
|
<div class="section" id="an+b-syntax-error"><h3>Argument <code><var>a</var>n+<var>b</var></code> is |
1753 |
|
|
syntactically incorrect.</h3></div> |
1754 |
|
|
|
1755 |
|
|
<div class="section" id="attr-selector-not-closed"><h3>Attribute selector is not closed by |
1756 |
|
|
a <code>]</code> character.</h3></div> |
1757 |
|
|
|
1758 |
|
|
<div class="section" id="lang-selector-not-closed"><h3>Argument list of the <code>:lang</code> |
1759 |
|
|
selector is not closed by a <code>)</code> character.</h3></div> |
1760 |
|
|
|
1761 |
|
|
<div class="section" id="namespace-prefix:not-declared"><h3>Namespace prefix <code><var>{value}</var></code> |
1762 |
|
|
is not declared.</h3></div> |
1763 |
|
|
|
1764 |
|
|
<div class="section" id="no-attr-local-name"><h3>Attribute local name is missing.</h3></div> |
1765 |
|
|
|
1766 |
|
|
<div class="section" id="no-attr-match"><h3>Attribute matching operator (e.g. |
1767 |
|
|
<code>=</code>) is missing.</h3></div> |
1768 |
|
|
|
1769 |
|
|
<div class="section" id="no-attr-name"><h3>Attribute name is missing.</h3></div> |
1770 |
|
|
|
1771 |
|
|
<div class="section" id="no-attr-namespace-separator"><h3>Attribute namespace wildcard <code>*</code> |
1772 |
|
|
is not followed by a <code>|</code> character.</h3></div> |
1773 |
|
|
|
1774 |
|
|
<div class="section" id="no-attr-value"><h3>Attribute value is missing.</h3></div> |
1775 |
|
|
|
1776 |
|
|
<div class="section" id="no-class-name-selector"><h3>Class name is missing.</h3></div> |
1777 |
|
|
|
1778 |
|
|
<div class="section" id="no-combinator"><h3>Combinator is missing.</h3></div> |
1779 |
|
|
|
1780 |
|
|
<div class="section" id="no-contains-string"><h3>No string is specified in the argument |
1781 |
|
|
list of the <code>:-manakai-contains</code> pseudo-class |
1782 |
|
|
selector.</h3></div> |
1783 |
|
|
|
1784 |
|
|
<div class="section" id="no-lang-tag"><h3>Language tag argument is missing.</h3></div> |
1785 |
|
|
|
1786 |
|
|
<div class="section" id="no-local-name-selector"><h3>Local name part of the type selector (or |
1787 |
|
|
<code>*</code> for the universal selector) is missing.</h3></div> |
1788 |
|
|
|
1789 |
|
|
<div class="section" id="no-pseudo-class-name"><h3>Pseudo-class name is missing.</h3></div> |
1790 |
|
|
|
1791 |
|
|
<div class="section" id="no-pseudo-element-name"><h3>Pseudo-element name is missing.</h3></div> |
1792 |
|
|
|
1793 |
|
|
<div class="section" id="no-sss"><h3>Sequence of simple selectors is |
1794 |
|
|
expected.</h3></div> |
1795 |
|
|
|
1796 |
|
|
<div class="section" id="not-not-closed"><h3>Argument list of the <code>:not</code> selector |
1797 |
|
|
is not closed by a <code>)</code> character.</h3></div> |
1798 |
|
|
|
1799 |
|
|
<div class="section" id="ss-after-pseudo-element"><h3>Simple selector is not allowed after a |
1800 |
|
|
pseudo element.</h3></div> |
1801 |
|
|
|
1802 |
|
|
<div class="section" id="unknown-pseudo-class"><h3>Pseudo-class <code>:<var>{value}</var></code> |
1803 |
|
|
is not supported by the conformance checker.</h3></div> |
1804 |
|
|
|
1805 |
|
|
<div class="section" id="unknown-pseudo-element"><h3>Pseudo-element <code>::<var>{value}</var></code> |
1806 |
|
|
is not supported by the conformance checker.</h3></div> |
1807 |
|
|
|
1808 |
|
|
</section> |
1809 |
|
|
|
1810 |
|
|
<section id="css-errors"> |
1811 |
|
|
<h2>CSS Errors</h2> |
1812 |
|
|
|
1813 |
|
|
<div class="section" id="at-rule-not-allowed"><h3>An <code>@<var>{text}</var></code> rule is not |
1814 |
|
|
allowed here.</h3></div> |
1815 |
|
|
|
1816 |
|
|
<div class="section" id="at-rule-syntax-error"><h3>The <code>@<var>{text}</var></code> rule is |
1817 |
|
|
syntactically incorrect.</h3></div> |
1818 |
|
|
|
1819 |
|
|
<div class="section" id="block-not-closed"><h3>Block is not closed before the end of |
1820 |
|
|
file.</h3></div> |
1821 |
|
|
|
1822 |
|
|
<div class="section" id="CSS-duplication"><h3>Component <code><<var>{text}</var>></code> is |
1823 |
|
|
already specified.</h3></div> |
1824 |
|
|
|
1825 |
|
|
<div class="section" id="CSS-cursor-hand"><h3>Value <code>hand</code> is not valid as |
1826 |
|
|
<code><'cursor'></code>.</h3></div> |
1827 |
|
|
|
1828 |
|
|
<div class="section" id="CSS-syntax-error"><h3>Specified value is syntactically not a correct |
1829 |
|
|
<code><<var>{text}</var>></code>.</h3></div> |
1830 |
|
|
|
1831 |
|
|
<div class="section" id="no-declaration-block"><h3>No declaration block is found after a group of |
1832 |
|
|
selectors.</h3></div> |
1833 |
|
|
|
1834 |
|
|
<div class="section" id="no-property-colon"><h3>A <code>:</code> character is missing after |
1835 |
|
|
a property name.</h3></div> |
1836 |
|
|
|
1837 |
|
|
<div class="section" id="no-property-name"><h3>Property name is expected.</h3></div> |
1838 |
|
|
|
1839 |
|
|
<div class="section" id="no-property-semicolon"><h3>A <code>;</code> character is missing at the |
1840 |
|
|
end of the property.</h3></div> |
1841 |
|
|
|
1842 |
|
|
<div class="section" id="priority-syntax-error"><h3>Priority part of the declaration is syntactically |
1843 |
|
|
incorrect.</h3></div> |
1844 |
|
|
|
1845 |
|
|
<div class="section" id="unknown-at-rule"><h3>The <code>@<var>{value}</var></code> rule is |
1846 |
|
|
not supported by the conformance checker.</h3></div> |
1847 |
|
|
|
1848 |
|
|
<div class="section" id="unknown-property"><h3>Property <code><var>{value}</var></code> is |
1849 |
|
|
not supported by the conformance checker.</h3></div> |
1850 |
|
|
|
1851 |
|
|
</section> |
1852 |
|
|
|
1853 |
|
|
<section id="cache-manifest-errors"> |
1854 |
|
|
<h2>Cache Manifest Errors</h2> |
1855 |
|
|
|
1856 |
|
|
<div class="section" id="both-in-entries-and-whitelist"><h3>This URL is found both in the explicit or |
1857 |
|
|
fallback entries and in the online whitelist.</h3></div> |
1858 |
|
|
|
1859 |
|
|
<div class="section" id="different-origin-from-manifest"><h3>The specified URL has different origin from |
1860 |
|
|
the manifest.</h3></div> |
1861 |
|
|
|
1862 |
|
|
<div class="section" id="different-scheme-from-manifest"><h3>The scheme component of the URL is |
1863 |
|
|
different from that of the manifest URL. The URL is ignored.</h3></div> |
1864 |
|
|
|
1865 |
|
|
<div class="section" id="duplicate-oc-namespace"><h3>This oppotunistic caching namespace is already |
1866 |
|
|
specified.</h3></div> |
1867 |
|
|
|
1868 |
|
|
<div class="section" id="no-fallback-entry-URL"><h3>Fallback entry URL is missing.</h3></div> |
1869 |
|
|
|
1870 |
|
|
<div class="section" id="not-manifest"><h3>This document is not a cache manifest.</h3> |
1871 |
|
|
<p>The specified document is <em>not</em> a cache manifest. |
1872 |
|
|
The document is non-conforming.</p> |
1873 |
|
|
|
1874 |
|
|
<p>An entity labeled as Internet media type |
1875 |
|
|
<code>text/cache-manifest</code> must contain a cache manifest.</p> |
1876 |
|
|
|
1877 |
|
|
<p>A cache manifest must start with a line whose content is |
1878 |
|
|
<code class="manifest example">CACHE MANIFEST</code> |
1879 |
|
|
(exactly one space character between |
1880 |
|
|
<code>CACHE</code> and <code>MANIFEST</code>).</p> |
1881 |
|
|
</div> |
1882 |
|
|
|
1883 |
|
|
<div class="section" id="same-as-manifest-URL"><h3>This URL is same as the manifest URL.</h3></div> |
1884 |
|
|
|
1885 |
|
|
</section> |
1886 |
|
|
|
1887 |
|
|
<section id="information"> |
1888 |
|
|
<h2>Stability Information</h2> |
1889 |
|
|
|
1890 |
|
|
<div class="section" id="deprecated:attr"><h3>This attribute is deprecated.</h3></div> |
1891 |
|
|
|
1892 |
|
|
<div class="section" id="deprecated:element"><h3>This element is deprecated.</h3></div> |
1893 |
|
|
|
1894 |
|
|
<div class="section" id="status:cr:element"><h3>This element is in the |
1895 |
|
|
<strong>call for implementation</strong> stage.</h3> |
1896 |
|
|
<p>The element is in the call for implementation stage.</p> |
1897 |
|
|
|
1898 |
|
|
<p>Usually, using the element is safe. However, it is a new feature |
1899 |
|
|
so that it might not be implemented correctly. If it is found that |
1900 |
|
|
the feature is hard or impossible to implement, the feature |
1901 |
|
|
might be revised, or in some case it might be dropped.</p> |
1902 |
|
|
|
1903 |
|
|
<p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0 |
1904 |
|
|
(W3C Candidate Recommendation) belong to this class.</p> |
1905 |
|
|
</div> |
1906 |
|
|
|
1907 |
|
|
<div class="section" id="status:lc:element"><h3>This element is in the <strong>last |
1908 |
|
|
call for comments</strong> stage.</h3> |
1909 |
|
|
<p>The element is in the last call for comments stage.</p> |
1910 |
|
|
|
1911 |
|
|
<p>The element is relatively mature, though the standardization |
1912 |
|
|
is not done yet. It may be used for experiments. Since it is a new |
1913 |
|
|
feature, it might not be implemented correctly or at all. If it is |
1914 |
|
|
found that the feature is hard or impossible to implement, the feature |
1915 |
|
|
might be revised or might be dropped.</p> |
1916 |
|
|
|
1917 |
|
|
<p>Elements defined by Web Forms 2.0 as well as some elements |
1918 |
|
|
defined by HTML5 belong to this class.</p> |
1919 |
|
|
</div> |
1920 |
|
|
|
1921 |
|
|
<div class="section" id="status:wd:element"><h3>This element is documented in a <strong>working |
1922 |
|
|
draft</strong>.</h3> |
1923 |
|
|
<p>The element is documented in a working or editor's draft |
1924 |
|
|
and not yet completed.</p> |
1925 |
|
|
|
1926 |
|
|
<p>The element should not be used for any practical purpose. |
1927 |
|
|
The feature might be drastically changed later or might be |
1928 |
|
|
entirely removed.</p> |
1929 |
|
|
|
1930 |
|
|
<p>Most of new elements defined by HTML5 belong to this class.</p> |
1931 |
|
|
</div> |
1932 |
|
|
|
1933 |
|
|
<div class="section" id="status:non-standard:element"><h3>This element is <strong>not part of any |
1934 |
|
|
standard</strong> the conformance checker knows.</h3> |
1935 |
|
|
<p>The element is not part of any standard or draft the conformance |
1936 |
|
|
checker is aware of.</p> |
1937 |
|
|
|
1938 |
|
|
<p>The element should not be used for any practical purpose unless |
1939 |
|
|
there is really a standard that defines the element.</p> |
1940 |
|
|
</div> |
1941 |
|
|
|
1942 |
|
|
<div class="section" id="status:cr:attr"><h3>This attribute is in the |
1943 |
|
|
<strong>call for implementation</strong> stage.</h3> |
1944 |
|
|
<p>The attribute is in the call for implementation stage.</p> |
1945 |
|
|
|
1946 |
|
|
<p>Usually, using the attribute is safe. However, it is a new feature |
1947 |
|
|
so that it might not be implemented correctly. If it is found that |
1948 |
|
|
the feature is hard or impossible to implement, the feature |
1949 |
|
|
might be revised, or in some case it might be dropped.</p> |
1950 |
|
|
</div> |
1951 |
|
|
|
1952 |
|
|
<div class="section" id="status:lc:attr"><h3>This attribute is in the <strong>last |
1953 |
|
|
call for comments</strong> stage.</h3> |
1954 |
|
|
<p>The attribute is in the last call for comments stage.</p> |
1955 |
|
|
|
1956 |
|
|
<p>The attribute is relatively mature, though the standardization |
1957 |
|
|
is not done yet. It may be used for experiments. Since it is a new |
1958 |
|
|
feature, it might not be implemented correctly or at all. If it is |
1959 |
|
|
found that the feature is hard or impossible to implement, the feature |
1960 |
|
|
might be revised or might be dropped.</p> |
1961 |
|
|
</div> |
1962 |
|
|
|
1963 |
|
|
<div class="section" id="status:wd:attr"><h3>This attribute is documented in a <strong>working |
1964 |
|
|
draft</strong>.</h3> |
1965 |
|
|
<p>The attribute is documented in a working or editor's draft |
1966 |
|
|
and not yet completed.</p> |
1967 |
|
|
|
1968 |
|
|
<p>The attribute should not be used for any practical purpose. |
1969 |
|
|
The feature might be drastically changed later or might be |
1970 |
|
|
entirely removed.</p> |
1971 |
|
|
</div> |
1972 |
|
|
|
1973 |
|
|
<div class="section" id="status:non-standard:attr"><h3>This attribute is <strong>not part of any |
1974 |
|
|
standard</strong> the conformance checker knows.</h3> |
1975 |
|
|
<p>The attribute is not part of any standard or draft the conformance |
1976 |
|
|
checker is aware of.</p> |
1977 |
|
|
|
1978 |
|
|
<p>The attribute should not be used for any practical purpose unless |
1979 |
|
|
there is really a standard that defines the attribute.</p> |
1980 |
|
|
</div> |
1981 |
|
|
</section> |
1982 |
|
|
|
1983 |
|
|
<section id="langtag-errors"> |
1984 |
|
|
<h2>Language Tag Errors</h2> |
1985 |
|
|
|
1986 |
|
|
<div class="section" id="langtag:extension:duplication"><h3>There is another extension subtag |
1987 |
|
|
<code><var>{value}</var></code>.</h3></div> |
1988 |
|
|
|
1989 |
|
|
<div class="section" id="langtag:illegal"><h3>Subtag <code><var>{value}</var></code> is |
1990 |
|
|
syntactically invalid.</h3></div> |
1991 |
|
|
|
1992 |
|
|
<div class="section" id="langtag:language:case"><h3>It is a good practice to represent ISO 639-1 |
1993 |
|
|
language code <code><var>{value}</var></code> in lowercase.</h3></div> |
1994 |
|
|
|
1995 |
|
|
<div class="section" id="langtag:language:mul"><h3>Langauge tag <code>mul</code> should not be |
1996 |
|
|
used.</h3></div> |
1997 |
|
|
|
1998 |
|
|
<div class="section" id="langtag:language:nosemantics"><h3>No semantics is defined for language subtag |
1999 |
|
|
<code><var>{value}</var></code>.</h3></div> |
2000 |
|
|
|
2001 |
|
|
<div class="section" id="langtag:language:syntax"><h3>The language subtag <code><var>{value}</var></code> |
2002 |
|
|
is syntactically invalid.</h3></div> |
2003 |
|
|
|
2004 |
|
|
<div class="section" id="langtag:language:und"><h3>Langauge tag <code>und</code> should not be |
2005 |
|
|
used.</h3></div> |
2006 |
|
|
|
2007 |
|
|
<div class="section" id="langtag:private"><h3>It would be better if a private use language |
2008 |
|
|
tag (<code><var>{value}</var></code>) is not used.</h3></div> |
2009 |
|
|
|
2010 |
|
|
<div class="section" id="langtag:privateuse:syntax"><h3>Private use subtag <code><var>{value}</var></code> |
2011 |
|
|
is syntactically invalid.</h3></div> |
2012 |
|
|
|
2013 |
|
|
<div class="section" id="langtag:region:case"><h3>It is a good practice to represent ISO 3166 |
2014 |
|
|
country code <code><var>{value}</var></code> in uppercase.</h3></div> |
2015 |
|
|
|
2016 |
|
|
<div class="section" id="langtag:region:nosemantics"><h3>No semantics is defined for region subtag |
2017 |
|
|
<code><var>{value}</var></code>.</h3></div> |
2018 |
|
|
|
2019 |
|
|
<div class="section" id="langtag:region:private"><h3>Use of private use country code |
2020 |
|
|
<code><var>{value}</var></code> is not allowed.</h3></div> |
2021 |
|
|
|
2022 |
|
|
</section> |
2023 |
|
|
|
2024 |
|
|
<section id="rdfxml-errors"> |
2025 |
|
|
<h2>RDF/XML Errors</h2> |
2026 |
|
|
|
2027 |
|
|
<div class="section" id="bad-rdf-namespace"><h3>The namespace URI of an element that |
2028 |
|
|
represents an RDF concept must be |
2029 |
|
|
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>.</h3></div> |
2030 |
|
|
|
2031 |
|
|
<div class="section" id="duplicate-rdf-id"><h3>The specified value is already used as an |
2032 |
|
|
ID.</h3></div> |
2033 |
|
|
|
2034 |
|
|
<div class="section" id="duplicate-unqualified-attr"><h3>Both unqualified attribute and namespace‐qualified |
2035 |
|
|
RDF attribute are specified, which is not allowed.</h3></div> |
2036 |
|
|
|
2037 |
|
|
<div class="section" id="parse-type-other"><h3>An invalid value is specified to |
2038 |
|
|
the <code>parseType</code> attribute.</h3></div> |
2039 |
|
|
|
2040 |
|
|
<div class="section" id="second-node-element"><h3>There is another element, such that |
2041 |
|
|
this element is not allowed.</h3></div> |
2042 |
|
|
|
2043 |
|
|
<div class="section" id="unqualified-attr"><h3>Unqualified attribute is not allowed.</h3></div> |
2044 |
|
|
|
2045 |
|
|
<div class="section" id="unqualified-rdf-attr"><h3>RDF attribute should be |
2046 |
|
|
namespace‐qualified.</h3></div> |
2047 |
|
|
|
2048 |
|
|
</section> |
2049 |
|
|
|
2050 |
|
|
<section id="unsupported-messages"> |
2051 |
|
|
<h2><i>Unsupported</i> Messages</h2> |
2052 |
|
|
|
2053 |
|
|
<div class="section" id="unknown-element"><h3>Conformance checking for element |
2054 |
|
|
<code><var>{local-name}</var></code> is not supported; <em>it might or |
2055 |
|
|
might not be conforming</em>.</h3> |
2056 |
|
|
<p>The conformant checker does not support the element. |
2057 |
|
|
It cannot determine whether the document is conforming or not.</p> |
2058 |
|
|
</div> |
2059 |
|
|
|
2060 |
|
|
<div class="section" id="unknown-attribute"><h3>Conformance checking for attribute |
2061 |
|
|
<code><var>{local-name}</var></code> of element |
2062 |
|
|
<code><var>{element-local-name}</var></code> is not supported; |
2063 |
|
|
<em>it might or might not be conforming</em>.</h3> |
2064 |
|
|
<p>The conformant checker does not support the attribute. |
2065 |
|
|
It cannot determine whether the document is conforming or not.</p> |
2066 |
|
|
</div> |
2067 |
|
|
|
2068 |
|
|
<div class="section" id="unknown-link-type"><h3>Link type <code><var>{value}</var></code> is not |
2069 |
|
|
standardized or registered at the time of the release of the conformance |
2070 |
|
|
checker; <em>it is non-conforming unless it now has been |
2071 |
|
|
registered</em>.</h3> |
2072 |
|
|
<p>The <code>rel</code> attribute is defined as a list of link types. |
2073 |
|
|
Some common link types are defined in the HTML5 specification. |
2074 |
|
|
Additional link types can be registered to the WHATWG Wiki. |
2075 |
|
|
use of any other link type is non-conforming.</p> |
2076 |
|
|
|
2077 |
|
|
<p>The specified link type is not part of the standard or registry |
2078 |
|
|
when the database used by the conformance cheker is created. |
2079 |
|
|
The link type might have been added to the registry since then. |
2080 |
|
|
In such case it might be conforming. Otherwise, the |
2081 |
|
|
document is non-conforming.</p> |
2082 |
|
|
|
2083 |
|
|
<dl> |
2084 |
|
|
<dt>Link types <code>shortcut icon</code></dt> |
2085 |
|
|
<dd>Link type <code>shortcut</code> is not registered. |
2086 |
|
|
Use only <code>icon</code> for linking to so-called favicon.</dd> |
2087 |
|
|
</dl> |
2088 |
|
|
</div> |
2089 |
|
|
|
2090 |
|
|
<div class="section" id="event-handler"><h3>Conformance checking for event handler attribute |
2091 |
|
|
is not supported; <em>it might or might not be conforming.</em></h3></div> |
2092 |
|
|
|
2093 |
|
|
<div class="section" id="media-query"><h3>Conformance checking for media query |
2094 |
|
|
is not supported; <em>it might or might not be conforming.</em></h3></div> |
2095 |
|
|
|
2096 |
|
|
<div class="section" id="addr-spec-not-supported"><h3>Conformance checking for an <code>addr-spec</code> |
2097 |
|
|
is not supported; <em>it might or might not be conforming.</em></h3></div> |
2098 |
|
|
|
2099 |
|
|
<div class="section" id="XML-script-lang"><h3>Conformance checking for script |
2100 |
|
|
language <code><var>{text}</var></code> is not supported; |
2101 |
|
|
<em>it might or might not be conforming.</em></h3></div> |
2102 |
|
|
|
2103 |
|
|
<div class="section" id="XML-style-lang"><h3>Conformance checking for style |
2104 |
|
|
language <code><var>{text}</var></code> is not supported; |
2105 |
|
|
<em>it might or might not be conforming.</em></h3></div> |
2106 |
|
|
|
2107 |
|
|
<div class="section" id="atom|content-not-supported"><h3>Conformance checking for an Atom |
2108 |
|
|
<code>content</code> element with <code>type</code> |
2109 |
|
|
<code><var>{text}</var></code> is not supported.</h3></div> |
2110 |
|
|
|
2111 |
|
|
<div class="section" id="help-not-available"><h3>No more information is available.</h3> |
2112 |
|
|
<p>No more information is available for this topic.</p> |
2113 |
|
|
</div> |
2114 |
|
|
|
2115 |
|
|
</section> |
2116 |
|
|
|
2117 |
|
|
|
2118 |
|
|
|
2119 |
|
|
|
2120 |
|
|
|
2121 |
|
|
|
2122 |
|
|
|
2123 |
|
|
|
2124 |
|
|
|
2125 |
|
|
|
2126 |
|
|
|
2127 |
|
|
|
2128 |
|
|
|
2129 |
|
|
|
2130 |
|
|
|
2131 |
|
|
|
2132 |
|
|
|
2133 |
|
|
|
2134 |
|
|
|
2135 |
|
|
|
2136 |
|
|
|
2137 |
|
|
|
2138 |
|
|
|
2139 |
|
|
|
2140 |
|
|
|
2141 |
|
|
|
2142 |
|
|
|
2143 |
|
|
|
2144 |
|
|
|
2145 |
|
|
|
2146 |
|
|
|
2147 |
|
|
|
2148 |
|
|
|
2149 |
|
|
|
2150 |
|
|
|
2151 |
|
|
|
2152 |
|
|
|
2153 |
|
|
|
2154 |
|
|
|
2155 |
|
|
|
2156 |
|
|
|
2157 |
|
|
|
2158 |
|
|
|
2159 |
|
|
|
2160 |
|
|
|
2161 |
|
|
|
2162 |
|
|
|
2163 |
|
|
|
2164 |
|
|
|
2165 |
|
|
|
2166 |
|
|
|
2167 |
|
|
|
2168 |
|
|
|
2169 |
|
|
|
2170 |
|
|
|
2171 |
|
|
|
2172 |
|
|
|
2173 |
|
|
|
2174 |
|
|
|
2175 |
|
|
|
2176 |
|
|
|
2177 |
|
|
|
2178 |
|
|
|
2179 |
|
|
|
2180 |
|
|
|
2181 |
|
|
|
2182 |
|
|
|
2183 |
|
|
|
2184 |
|
|
|
2185 |
|
|
|
2186 |
|
|
|
2187 |
|
|
|
2188 |
|
|
|
2189 |
|
|
|
2190 |
|
|
|
2191 |
|
|
|
2192 |
|
|
|
2193 |
|
|
|
2194 |
|
|
|
2195 |
|
|
|
2196 |
|
|
|
2197 |
|
|
|
2198 |
|
|
|
2199 |
|
|
|
2200 |
|
|
|
2201 |
|
|
|
2202 |
|
|
|
2203 |
|
|
|
2204 |
|
|
|
2205 |
|
|
|
2206 |
|
|
|
2207 |
|
|
|
2208 |
|
|
|
2209 |
|
|
|
2210 |
|
|
|
2211 |
|
|
|
2212 |
|
|
|
2213 |
|
|
|
2214 |
|
|
|
2215 |
|
|
|
2216 |
|
|
|
2217 |
|
|
|
2218 |
|
|
|
2219 |
|
|
|
2220 |
|
|
|
2221 |
|
|
|
2222 |
|
|
|
2223 |
|
|
|
2224 |
|
|
|
2225 |
|
|
|
2226 |
|
|
|
2227 |
|
|
|
2228 |
|
|
|
2229 |
|
|
|
2230 |
|
|
|
2231 |
|
|
|
2232 |
|
|
|
2233 |
|
|
|
2234 |
|
|
|
2235 |
|
|
|
2236 |
|
|
|
2237 |
|
|
|
2238 |
|
|
|
2239 |
|
|
|
2240 |
|
|
|
2241 |
|
|
|
2242 |
|
|
|
2243 |
|
|
|
2244 |
|
|
|
2245 |
|
|
|
2246 |
|
|
|
2247 |
|
|
|
2248 |
|
|
|
2249 |
|
|
|
2250 |
|
|
|
2251 |
|
|
|
2252 |
|
|
|
2253 |
|
|
|
2254 |
|
|
|
2255 |
|
|
|
2256 |
|
|
|
2257 |
|
|
|
2258 |
|
|
|
2259 |
|
|
|
2260 |
|
|
|
2261 |
|
|
|
2262 |
|
|
|
2263 |
|
|
|
2264 |
|
|
|
2265 |
|
|
|
2266 |
|
|
|
2267 |
|
|
|
2268 |
|
|
|
2269 |
|
|
|
2270 |
|
|
|
2271 |
|
|
|
2272 |
|
|
|
2273 |
|
|
|
2274 |
|
|
|
2275 |
|
|
|
2276 |
|
|
|
2277 |
|
|
|
2278 |
|
|
|
2279 |
|
|
|
2280 |
|
|
|
2281 |
|
|
|
2282 |
|
|
|
2283 |
|
|
|
2284 |
|
|
|
2285 |
|
|
|
2286 |
|
|
|
2287 |
|
|
|
2288 |
|
|
|
2289 |
|
|
|
2290 |
|
|
|
2291 |
|
|
|
2292 |
|
|
|
2293 |
|
|
|
2294 |
|
|
|
2295 |
|
|
|
2296 |
|
|
|
2297 |
|
|
|
2298 |
|
|
|
2299 |
|
|
|
2300 |
|
|
|
2301 |
|
|
|
2302 |
|
|
|
2303 |
|
|
|
2304 |
|
|
|
2305 |
|
|
|
2306 |
|
|
|
2307 |
|
|
|
2308 |
|
|
|
2309 |
|
|
|
2310 |
|
|
|
2311 |
|
|
|
2312 |
|
|
|
2313 |
|
|
|
2314 |
|
|
|
2315 |
|
|
|
2316 |
|
|
|
2317 |
|
|
|
2318 |
|
|
|
2319 |
|
|
|
2320 |
|
|
|
2321 |
|
|
|
2322 |
|
|
|
2323 |
|
|
<div class="section" id="Error-level-m"><h3><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></h3> |
2324 |
|
|
<p>A violation to a hard requirement of the specification. |
2325 |
|
|
The document is non‐conforming.</p> |
2326 |
|
|
</div> |
2327 |
|
|
|
2328 |
|
|
<div class="section" id="Error-level-s"><h3><a href="../error-description#Error-level-s" rel="help"><em class="rfc2119" title="RECOMMENDED">推奨</em>級の誤り</a></h3> |
2329 |
|
|
<p>A violation to a requirement of the specification. |
2330 |
|
|
The violation might be legitimize in some case. Otherwise, |
2331 |
|
|
the document is non‐conforming.</p> |
2332 |
|
|
</div> |
2333 |
|
|
|
2334 |
|
|
<div class="section" id="Error-level-w"><h3><a href="../error-description#Error-level-w" rel="help">警告</a></h3> |
2335 |
|
|
<p>A warning is an advice from the conformance checker |
2336 |
|
|
to avoid solving a problem in a confusing or possibly wrong way. |
2337 |
|
|
It does not affect to the conformance of the document, and |
2338 |
|
|
may sometimes be inappropriate.</p> |
2339 |
|
|
</div> |
2340 |
|
|
|
2341 |
|
|
<div class="section" id="Error-level-i"><h3><a href="../error-description#Error-level-i" rel="help">情報</a></h3> |
2342 |
|
|
<p>An informational message just provides an additional information |
2343 |
|
|
on the feature used in the document or the status of the retrieval |
2344 |
|
|
or so on. |
2345 |
|
|
It does not affect to the conformance of the document.</p> |
2346 |
|
|
</div> |
2347 |
|
|
|
2348 |
|
|
<div class="section" id="Error-level-u"><h3><a href="../error-description#Error-level-u" rel="help">未対応</a></h3> |
2349 |
|
|
<p>Some feature that is not supported by the conformance checker |
2350 |
|
|
is used in the document.</p> |
2351 |
|
|
</div> |
2352 |
|
|
|
2353 |
|
|
<section id="license"> |
2354 |
|
|
<h2>License of This Document</h2> |
2355 |
|
|
|
2356 |
|
|
<p>Copyright <time>2007</time>‐<time>2008</time> |
2357 |
|
|
<a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a> |
2358 |
|
|
<code class="mail"><<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></code>.</p> |
2359 |
|
|
|
2360 |
|
|
<p>This document is free software; you can redistribute it |
2361 |
|
|
and/or modify it under the same terms as Perl itself.</p> |
2362 |
|
|
</section> |
2363 |
|
|
|
2364 |
|
|
<!-- $Date: 2008/08/16 08:37:12 $ --> |
2365 |
|
|
</body> |
2366 |
|
|
</html> |