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