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