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