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