/[suikacvs]/test/html-webhacc/error-description.en.html.u8
Suika

Contents of /test/html-webhacc/error-description.en.html.u8

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Tue Jul 17 13:52:54 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +37 -3 lines
++ ChangeLog	17 Jul 2007 13:52:41 -0000
2007-07-17  Wakaba  <wakaba@suika.fam.cx>

	* alert.png, error.png, info.png: New images.

	* LICENSE: New image file names are added.

	* cc-interface.en.html: Link to the style sheet is added.

	* cc-style.css: Duplicate identifiers and terms
	are decorated by icon.

	* cc.cgi: |h1| links to the interface page.
	(#identifiers): New section.

	* error-description-source.en.xml: More error types are
	added.

1 wakaba 1.1 <!DOCTYPE html><html id="error-description" lang="en" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml">
2     <head>
3     <title xml:lang="en">Description of Errors —
4     Web Document Conformance Checker (BETA)</title>
5     <link href="cc-style" rel="stylesheet">
6     <link href="#license" rel="license">
7     </head>
8     <body>
9     <h1>Description of Errors</h1>
10    
11 wakaba 1.2 <section id="html5-tokenize-error">
12     <h2>HTML5 Parse Errors in Tokenization Stage</h2>
13 wakaba 1.1
14 wakaba 1.3 <div class="section parse-error" id="after-html"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
15     is not allowed after the end tag <code>&lt;/html&gt;</code>.</h3>
16     <p>The start or end tag of an element appears after the
17     <code>html</code> element has been closed. The document is
18     non-conforming.</p>
19    
20     <p>Any content of the document other than comments
21     must be put into the <code>html</code> element.</p>
22     </div>
23    
24     <div class="section tokenize-error" id="bare-ero"><h3>The <code>&amp;</code> character must
25     introduce a reference.</h3>
26     <p>An <code>&amp;</code> (<code>U+0026</code>
27     <code class="charname">AMPERSAND</code>) character which
28     is not part of any reference appears in the input stream.
29     The document is non-conforming.</p>
30    
31     <p>The <code>&amp;</code> character must
32     be the first character of a reference:
33     <dl>
34     <dt>Named entity reference</dt>
35     <dd><pre class="html example">
36     <code>&amp;<var>entity-name</var>;</code></pre>
37     where <var>entity-name</var> is the name of the
38     character entity to be referenced.</dd>
39     <dt>Numeric character reference</dt>
40     <dd><pre class="html example">
41     <code>&amp;#<var>d</var>;</code></pre>
42     where <var>d</var> is the decimal representation of
43     the code position of the character to be referenced.</dd>
44     <dt>Hexadecimal character reference</dt>
45     <dd><pre class="html example">
46     <code>&amp;#x<var>h</var>;</code></pre>
47     where <var>h</var> is the hexadecimal representation
48     of the code position of the character to be referenced.</dd>
49     </dl>
50     </p>
51    
52     <p>To represent <code>&amp;</code> as a data character, use
53     named entity reference:
54     <pre class="html example">
55     <code>&amp;amp;</code></pre>
56     </p>
57     </div>
58    
59 wakaba 1.4 <div class="section tokenize-error" id="bare-stago"><h3>A <code>&lt;</code> character is not followed
60     by tag name or by a <code>!</code> character.</h3>
61     <p>A <code>&lt;</code> (<code>U+003C</code> <code class="charname">LESS-THAN
62     SIGN</code>) character which is not part of any markup appears
63     in the input stream.</p>
64    
65     <p>The <code>&lt;</code> character as a data character must
66     be escaped as:
67     <pre class="html example">
68     <code>&lt;lt;</code></pre>
69     </p>
70     </div>
71    
72 wakaba 1.3 <div class="section tokenize-error" id="bare-nero"><h3>The decimal representation of the code position
73     of a character must be specified after <code>&amp;#</code>.</h3>
74     <p>An <code>&amp;</code> (<code>U+0026</code>
75     <code class="charname">AMPERSAND</code>) character immediately
76     followed by a <code>#</code> (<code>U+0023</code>
77     <code>NUMBER SIGN</code>) character which
78     is not part of any reference appears in the input stream.
79     The document is non-conforming.</p>
80    
81     <p>The string <code>&amp;#</code> must be the first two characters
82     <code>NUMBER SIGN</code>) character must be the first two characters
83     of a reference:
84     <dl>
85     <dt>Numeric character reference</dt>
86     <dd><pre class="html example">
87     <code>&amp;#<var>d</var>;</code></pre>
88     where <var>d</var> is the decimal representation of
89     the code point of the character to be referenced.</dd>
90     <dt>Hexadecimal character reference</dt>
91     <dd><pre class="html example">
92     <code>&amp;#x<var>h</var>;</code></pre>
93     where <var>h</var> is the hexadecimal representation
94     of the code point of the character to be referenced.</dd>
95     </dl>
96     </p>
97    
98     <p>To represent <code>&amp;#</code> as data characters, use
99     named entity reference:
100     <pre class="html example">
101     <code>&amp;amp;#</code></pre>
102     </p>
103     </div>
104    
105     <div class="section tokenize-error" id="bare-hcro"><h3>The hexadecimal representation of the code position
106     of a character must be specified after <code>&amp;#x</code>.</h3>
107     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> which
108     is not part of any reference appears in the input stream.
109     The document is non-conforming.</p>
110    
111     <p>The string <code>&amp;#x</code> or <code>&amp;#X</code> must
112     be the first three characters of a hexadecimal reference:
113     <pre class="html example">
114     <code>&amp;#x<var>h</var>;</code></pre>
115     where <var>h</var> is the hexadecimal representation
116     of the code point of the character to be referenced.</p>
117    
118     <p>To represent <code>&amp;#x</code> as data characters, use
119     named entity reference:
120     <pre class="html example">
121     <code>&amp;amp;#x</code></pre>
122     </p>
123     </div>
124    
125 wakaba 1.4 <div class="section tokenize-error" id="dash-in-comment"><h3>There is a <code>--</code> sequence
126     in a comment.</h3>
127     <p>There is a <code>-</code> (<code>U+002D</code>
128     <code class="charname">HYPHEN-MINUS</code>) character
129     at the end of the comment or a <code>--</code> sequence
130     in the comment. The document is non-conforming.</p>
131    
132     <p>Comments cannot contain a string <code>--</code>, as in XML.
133     Unlike SGML, there cannot be more than one comments
134     (where <i>comment</i> is an SGML term) in the comment
135     declaration.</p>
136     </div>
137    
138 wakaba 1.1 <div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with same name.</h3>
139 wakaba 1.3 <p>There are more than one attributes with the same
140     name in a tag. The document is non-conforming.</p>
141 wakaba 1.1
142     <p>The <code>motion</code> attribute is not part of the HTML standard.
143     Use <code>img</code> element with animation GIF instead.</p>
144     </div>
145    
146     <div class="section tokenize-error" id="nestc"><h3>Void element syntax (<code>/&gt;</code>) cannot be
147     used for this element.</h3>
148 wakaba 1.3 <p>Void element syntax (<code>/&gt;</code>) must not be used
149     for the element. The document is non-conforming.</p>
150    
151     <p>The void element syntax can only be
152 wakaba 1.1 used for <code>base</code>, <code>link</code>, <code>meta</code>,
153     <code>hr</code>, <code>br</code>, <code>img</code>,
154     <code>embed</code>, <code>param</code>, <code>area</code>,
155 wakaba 1.3 <code>col</code>, and <code>input</code> elements.</p>
156 wakaba 1.1
157 wakaba 1.3 <p>Note that, unlike in XML, the void element syntax has
158 wakaba 1.1 no effect in HTML.</p>
159     </div>
160    
161 wakaba 1.5
162     <div class="section tokenize-error" id="pio"><h3>Processing instruction
163     (<code>&lt;?<var>...</var>?&gt;</code>) cannot be used.</h3>
164     <p>Processing instructions (<code>&lt;?<var>...</var>?&gt;</code>),
165     including XML declaration (<code>&lt;?xml <var>...</var>?&gt;</code>)
166     and XML style sheet <abbr title="processing instruction">PI</abbr>
167     (<code>&lt;xml-stylesheet <var>...</var>?&gt;</code>), are not allowed
168     in the HTML syntax. The document is non-conforming.</p>
169    
170     <p>If it is necessary to embed a processing instruction
171     in the HTML document, you must use the XML syntax instead.</p>
172    
173     <p>In the HTML syntax, XML declaration is not necessary.</p>
174    
175     <p>Instead of XML style sheet,
176     <abbr title="processing instruction">PI</abbr>s, you must
177     use the HTML <code>link</code> element whose <code>rel</code>
178     attribute is set to <code>stylesheet</code> (or <code>alternate
179     stylesheet</code> for an aleternate style sheet).</p>
180    
181     <p>Web browsers will parse processing instructions as bogus
182     comments. Some legacy Web browsers, such as IE:mac and
183     some mobile browsers, will display processing instructions
184     as string.</p>
185     </div>
186    
187 wakaba 1.1 </section>
188    
189 wakaba 1.2 <section id="html5-parse-errors">
190     <h2>HTML5 Parse Errors in Tree Construction Stage</h2>
191    
192     <div class="section parse-error" id="after-head"><h3>The <code><var>$0</var></code> element cannot be
193     inserted between <code>head</code> and <code>body</code> elements.</h3>
194 wakaba 1.3 <p>A start tag appears after the <code>head</code> element is closed
195 wakaba 1.2 but before the <code>body</code> element is opened.
196     The document is non-conforming.</p>
197     </div>
198    
199 wakaba 1.4 <div class="section parse-error" id="DOCTYPE-in-the-middle"><h3>A <code>DOCTYPE</code> appears after any
200     element or data character has been seen.</h3>
201     <p>A <code>DOCTYPE</code> appears after any element or data character
202     has been seen. The document is non-conforming.</p>
203    
204     <p>The <code>DOCTYPE</code> must be placed before any
205     tag, reference, or data character. Only white space characters
206     and comments can be inserted before the <code>DOCTYPE</code>.</p>
207     </div>
208    
209 wakaba 1.5 <div class="section parse-error" id="in-a:a"><h3>Anchor cannot be nested.</h3>
210     <p>HTML <code>a</code> elements cannot be nested.
211     The document is non-conforming.</p>
212    
213     <p>In the HTML syntax, a start tag of the <code>a</code>
214     implies the end tag of any opening <code>a</code> element.</p>
215     </div>
216    
217 wakaba 1.4 <div class="section parse-error" id="in-body"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
218     is not allowed in <code>body</code>.</h3>
219     <p>The start or end tag of an element, which
220     cannot be a descendant of <code>body</code> element, appears
221     in the input stream while the <code>body</code> element has been opened.
222     The document is non-conforming.</p>
223     </div>
224    
225 wakaba 1.3 <div class="section parse-error" id="in-table"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
226     is not allowed in <code>table</code>.</h3>
227 wakaba 1.4 <p>The start or end tag of an element, which
228     cannot be a child of <code>table</code> element, appears
229     in the input stream while the <code>table</code> element has been opened
230     but no other element has been opened. The document is non-conforming.</p>
231 wakaba 1.3
232     <p>In <code>table</code>, only table related elements
233     are allowed; any other element must be contained in
234     <code>td</code> or <code>th</code> element to form
235     a part of the table, or <code>caption</code> element to create
236     a table caption.</p>
237     </div>
238    
239     <div class="section parse-error" id="in-table:#character"><h3>Data character is not allowed in
240     <code>table</code>.</h3>
241     <p>A data character appears in <code>table</code>. The document
242     is non-conforming.</p>
243    
244     <p>In <code>table</code>, only table related elements
245     are allowed; any other element and data character must be contained in
246     <code>td</code> or <code>th</code> element to form
247     a part of the table, or <code>caption</code> element to create
248     a table caption.</p>
249     </div>
250    
251     <div class="section parse-error" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code>
252     element is missing.</h3>
253     <p>Start tag of a <code>tr</code> element, which is <em>not</em>
254     optional, is missing. The document is non-conforming.</p>
255    
256     <p>In a table section, a <code>&lt;tr&gt;</code> start tag
257     must occur before any <code>&lt;td&gt;</code> or
258     <code>&lt;th&gt;</code> start tag. Though the HTML5 parser
259     implies the <code>&lt;tr&gt;</code> start tag before
260     these start tags, it must be explicitly specified.</p>
261     </div>
262    
263 wakaba 1.2 <div class="section parse-error" id="no-DOCTYPE"><h3>This document does not start with the
264 wakaba 1.3 <code>DOCTYPE</code>.</h3>
265     <p>The document does not start with a <code>DOCTYPE</code>.
266     The document is non-conforming.</p>
267    
268     <p>An HTML document must start by a <code>DOCTYPE</code>:
269     <pre class="html example">
270     <code>&lt;!DOCTYPE HTML&gt;</code></pre>
271     </p>
272    
273     <p>Only white space characters and comments are allowed
274     before the <code>DOCTYPE</code>.</p>
275     </div>
276 wakaba 1.2
277     <div class="section parse-error" id="not-closed"><h3>Element <code><var>$0</var></code> is not
278 wakaba 1.3 closed.</h3>
279     <p>End tag of an element is not found before, for example,
280     an end tag of another element appears or
281     the end of the document. The document is non-conforming.</p>
282     </div>
283 wakaba 1.2
284     <div class="section parse-error" id="not-HTML5"><h3>This document is written in an old version of
285 wakaba 1.3 HTML.</h3>
286     <p>The document contains a <code>DOCTYPE</code> declaration
287     that is different from HTML5 <code>DOCTYPE</code> (i.e. <code>&lt;!DOCTYPE
288     HTML&gt;</code>). The document is non-conforming.</p>
289    
290     <p>The document might or might not be conformant to
291     some version of HTML. However, conformance to any HTML
292     specification other than HTML5 provides for no practical
293     convenience, since Web borwsers will parse any
294     HTML document (roughly) as defined in HTML5.</p>
295     </div>
296 wakaba 1.2
297     <div class="section parse-error" id="unmatched-end-tag"><h3>Element <code><var>$0</var></code> is not
298 wakaba 1.4 opened.</h3>
299     <p>An end tag appears though no element with the same name
300     has been opened. The document is non-conforming.</p>
301    
302     <p>For any end tag in HTML document, there must be a
303     corresponding start tag.</p>
304     </div>
305 wakaba 1.2
306     </section>
307    
308 wakaba 1.1 <section id="element-content-model-errors">
309     <h2>Element Content Model Errors</h2>
310    
311     <div class="section content-model-error" id="character-not-allowed"><h3>Data character is not allowed in this
312     context.</h3>
313 wakaba 1.3 <p>A data character appears where it is not allowed in this
314 wakaba 1.1 context. The document is non-conforming.</p>
315    
316     <p>Possible causes:
317     <dl>
318     <dt>If the erred element is an inline-level element (such
319     as <code>a</code> or <code>span</code>)</dt>
320     <dd><p>A data character cannot be a child
321     of certain sectioning elements such as <code>body</code>,
322     <code>section</code>, and <code>blockquote</code>.</p>
323    
324     <p>Any inline-level content must be put
325     in e.g. paragraph element such as <code>p</code>.</p></dd>
326     <dt>If the erred element is a block-level element (such as
327     <code>div</code> or <code>h<var>n</var></code>)</dt>
328     <dd><p>Though some elements such as <code>div</code>,
329     <code>li</code>, and <code>td</code> allow
330     <em>either one</em> of block-level or inline-level content
331     is allowed. If there is a block-level content,
332     any inline-level content must be put
333     in e.g. paragraph element such as <code>p</code>.</p></dd>
334     </dl>
335     </p>
336     </div>
337    
338     <div class="section content-model-error" id="child-element-missing"><h3>There must be a <code><var>$0</var></code>
339     element as a child of this element.</h3>
340     <p>The content model of the element is so defined that it
341     must contain a <code><var>$0</var></code> child element.
342 wakaba 1.3 The document is non-conforming.</p>
343 wakaba 1.1
344     <p>For example:
345     <ul>
346     <li>The <code>head</code> element must contain exactly one
347     <code>title</code> child element.</li>
348     <li><a href="#child-element-missing:td%7Cth">The <code>tr</code>
349     element must contain one or more <code>td</code> or <code>th</code>
350     child element.</a></li>
351     </ul>
352     </p>
353     </div>
354    
355     <div class="section content-model-error" id="child-element-missing:td|th"><h3>There must be a <code>td</code>
356     or <code>th</code> element as a child of this element.</h3>
357     <p>The <code>tr</code> element must contain at least one
358 wakaba 1.3 <code>td</code> or <code>th</code> child element. The document
359     is non-conforming.</p>
360 wakaba 1.1 </div>
361    
362     <div class="section content-model-error" id="element-not-allowed"><h3>This element is not allowed in this
363     context.</h3>
364 wakaba 1.3 <p>An element appears where it is not allowed. The document
365 wakaba 1.1 is non-conforming.</p>
366    
367 wakaba 1.3 <p><strong>Note</strong>: The conformance checker does
368     <em>not</em> support form elements yet.</p>
369    
370 wakaba 1.1 <p>Possible causes:
371     <dl>
372     <dt>If the erred element is an inline-level element (such
373     as <code>a</code> or <code>span</code>)</dt>
374     <dd><p>An inline-level element cannot be a child
375     of certain sectioning elements such as <code>body</code>,
376     <code>section</code>, and <code>blockquote</code>.</p>
377    
378     <p>Any inline-level content must be put
379     in e.g. paragraph element such as <code>p</code>.</p></dd>
380     <dt>If the erred element is a block-level element (such as
381     <code>div</code> or <code>h<var>n</var></code>)</dt>
382     <dd><p>Though some elements such as <code>div</code>,
383     <code>li</code>, and <code>td</code> allow
384     <em>either one</em> of block-level or inline-level content
385     is allowed. If there is a block-level content,
386     any inline-level content must be put
387     in e.g. paragraph element such as <code>p</code>.</p></dd>
388     <dt>If the erred element is the root <code>html</code> element</dt>
389     <dd><p>In an XHTML document, the root <code>html</code>
390     element must have an <code>xmlns</code> attribute
391     whose value is set to
392     <code>http://www.w3.org/1999/xhtml</code>.</p></dd>
393     </dl>
394     </p>
395     </div>
396    
397 wakaba 1.2 </section>
398    
399 wakaba 1.3 <section id="attribute-errors">
400     <h2>Attribute Errors</h2>
401    
402     <div class="section attribute-error" id="attribute-missing"><h3>Required attribute <code><var>$0</var></code>
403     is not specified.</h3>
404     <p>A required attribute is not specified. The document
405     is non-conforming.</p>
406    
407     <p>Some attribute is defined as <i>required</i>.
408     For example, any <code>img</code> element must have
409     <code>alt</code> and <code>src</code> attributes specified.
410     Without required attributes specified, user agents
411     cannot provide the full functionality of the element
412     to the user.</p>
413     </div>
414    
415     <div class="section attribute-error" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute is not
416     allowed in HTML document.</h3>
417     <p>The <code>xml:lang</code> attribute is not allowed in
418     HTML document. The document is non-conforming.</p>
419    
420 wakaba 1.4 <p>The <code>lang</code> attribute in the <code>null</code>
421     namespace for HTML elements is defined as conforming <em>only</em> for
422 wakaba 1.3 XML document.</p>
423    
424     <p>To specify natural language information in HTML document,
425     use <code>lang</code> attribute instead.</p>
426     <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created
427     from an HTML document? -->
428     </div>
429    
430     <div class="section attribute-error" id="in-XML:charset"><h3>The <code>charset</code> attribute is not
431     allowed in XML document.</h3>
432     <p>The <code>charset</code> attribute of a
433     <code>meta</code> element is not allowed in XML document.
434     The document is non-conforming.</p>
435    
436     <p>To specify the character encoding used for serialization,
437     if necessary, use XML declaration instead:
438     <pre class="xml example">
439     <code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;<var>encoding-name</var>&quot;?&gt;</code></pre>
440     </p>
441     </div>
442    
443     <div class="section attribute-error" id="in-XML:lang"><h3>The <code>lang</code> attribute is not
444     allowed in XML document.</h3>
445     <p>The HTML <code>lang</code> attribute is not allowed in
446     XML document. The document is non-conforming.</p>
447    
448     <p>The <code>lang</code> attribute in <code>null</code>
449 wakaba 1.4 namespace for HTML elements is defined as conforming <em>only</em> for
450 wakaba 1.3 HTML document.</p>
451    
452     <p>To specify natural language information in XML document,
453     use <code>xml:lang</code> attribute instead.</p>
454     </div>
455    
456     <div class="section attribute-error" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute
457     in the <code>null</code> namespace is not allowed in
458     XHTML document. The document is non-conforming.</h3>
459     <p>The <code>xmlns</code> attribute in the <code>null</code>
460     namespace is not allowed in XHTML document.</p>
461    
462     <p>This error should not occur in conformance-checking
463     static documents.</p>
464     </div>
465    
466     </section>
467    
468 wakaba 1.2 <section id="attribute-value-errors">
469     <h2>Attribute Value Errors</h2>
470    
471 wakaba 1.3 <div class="section attribute-value-error" id="enumerated:invalid"><h3>This attribute only allow a limited set of
472 wakaba 1.2 values and the specified value is not one of them.</h3></div>
473    
474 wakaba 1.3 <div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been
475     assigned to another element.</h3></div>
476    
477 wakaba 1.4 <div class="section attribute-value-error" id="link-type:bad-context"><h3>The link type <code><var>$0</var></code>
478     cannot be specified for this element.</h3>
479     <p>The specified link type cannot be used for the element.
480     The document is non-conforming.</p>
481    
482     <p>Link types are associated with limited set of elements.
483     They cannot be used with other elements.</p>
484    
485     <p>For example, link type <code>bookmark</code>
486     can be used with <code>a</code> or <code>area</code> element,
487     while it cannot be used with <code>link</code> element.</p>
488     </div>
489    
490     <div class="section attribute-value-error" id="link-type:non-conforming"><h3>The link type <code><var>$0</var></code>
491     is non-conforming.</h3>
492     <p>The specified link type is non-conforming. The entire document
493     is non-conforming.</p>
494    
495     <p>For example, in place of non-conforming link type <code>copyright</code>
496     you must use link type <code>license</code>.</p>
497     </div>
498    
499 wakaba 1.3 <div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>This browsing context name is reserved.</h3></div>
500    
501 wakaba 1.2 </section>
502    
503 wakaba 1.4 <section id="attribute-value-warnings">
504     <h2>Attribute Value Warnings</h2>
505    
506     <div class="section attribute-value-warning should" id="s:link-type:proposed"><h3>Link type <code><var>$0</var></code>
507     is proposed but not accepted yet; it <em>should not</em> be
508     used until it has been accepted.</h3>
509     <p>The link type is in the <i>proposed</i> status; it
510     <em>should not</em> be used until it has been
511     accepted.</p>
512    
513     <p><strong>Warning</strong>: The data served to the
514     conforming checker might be out of date; it might have already
515     been accepted or rejected, depending on which the document
516     might be conforming or non-conforming. See WHATWG Wiki
517     for the latest information.</p>
518     </div>
519    
520     </section>
521    
522 wakaba 1.2 <section id="table-model-errors">
523     <h2>Table Model Errors</h2>
524    
525 wakaba 1.3 <div class="section table-model-error" id="table:colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute
526     results in creating a table column that does not contain
527     any cell anchored to it.</h3></div>
528    
529 wakaba 1.2 <div class="section table-model-error" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or
530     <code>th</code>) in the last row.</h3></div>
531    
532     </section>
533    
534     <section id="imt-warnings">
535     <h2>Internet Media Type Warnings</h2>
536 wakaba 1.1
537 wakaba 1.2 <div class="section should" id="s:IMT:obsolete-subtype"><h3>An <em>obsolete</em> subtype is used.</h3></div>
538    
539     <div class="section should" id="s:IMT:private-subtype"><h3>A private (<code>x-</code> or <code>x.</code>)
540     subtype is used.</h3></div>
541    
542     <div class="section should" id="s:IMT:unregistered-subtype"><h3>The subtype is not registered to IANA.</h3></div>
543    
544     </section>
545    
546     <section id="uri-errors">
547     <h2>URI (or IRI) Errors</h2>
548    
549 wakaba 1.5 <div class="section must" id="m:URI::syntax-error"><h3>This string is syntactically not an IRI.</h3></div>
550 wakaba 1.2
551     </section>
552    
553 wakaba 1.3 <section id="uri-warnings">
554     <h2>URI (or IRI) Warnings</h2>
555    
556     <div class="section should" id="s:URI::dot-segment"><h3>Dot-segment (<code>.</code> or
557     <code>..</code>) should not occur in an absolute reference.</h3>
558     <p>Dot-segment (<code>.</code> or <code>..</code>) should
559     not occur in an absolute reference.</p>
560    
561     <p>In relative references, dot-segments are used to represent
562     the current (<code>.</code>) or the parent (<code>..</code>)
563     hierarchy of the path. Though they are also allowed
564     in absolute references, it should be resolved to the
565     canonical form before it has been published.</p>
566     </div>
567 wakaba 1.2
568     <div class="section should" id="s:URI::empty-path"><h3>This IRI should explicitly end with
569     <code>/</code>.</h3></div>
570 wakaba 1.1
571 wakaba 1.4 <div class="section should" id="s:URI::lowercase-hexadecimal-digit"><h3>Hexadecimal digit in percent-encoding
572     should be in lowercase.</h3>
573 wakaba 1.5 <p>The hexadecimal digit in percent-encoding string in the IRI
574 wakaba 1.4 is in lowercase. Though the IRI <em>is</em> conforming,
575     it should be in uppercase.</p>
576     </div>
577    
578     <div class="section should" id="s:URI::percent-encoded-unreserved"><h3>An unreserved character is
579     percent-encoded.</h3>
580     <p>An unreserved character is percent-encoded in the IRI.
581     Though it <em>is</em> conforming, it should be in the
582     decoded (or bare) form.</p>
583     </div>
584    
585 wakaba 1.1 </section>
586    
587     <section id="unsupported-messages">
588     <h2><i>Unsupported</i> Messages</h2>
589    
590     <div class="section unsupported" id="unsupported:attribute"><h3>This attribute is not supported by the
591     conformance checker; <em>it might or might not be conforming</em>.</h3>
592     <p>The conformant checker does not support the attribute.
593     It cannot determine whether the document is conforming or not.</p>
594     </div>
595    
596     <div class="section unsupported" id="unsupported:element"><h3>This element is not supported by the
597     conformance checker; <em>it might or might not be conforming</em>.</h3>
598     <p>The conformant checker does not support the element.
599     It cannot determine whether the document is conforming or not.</p>
600     </div>
601    
602 wakaba 1.4 <div class="section unsupported" id="unsupported:link-type"><h3>The link type <code><var>$0</var></code> is not
603     standardized or registered at the time of the release of the conformance
604     checker; <em>it is non-conforming unless it has now been
605     registered</em>.</h3>
606 wakaba 1.1 <p>The <code>rel</code> attribute is defined as a list of link types.
607     Some common link types are defined in the HTML5 specification.
608     Additional link types can be registered to the WHATWG Wiki.
609     use of any other link type is non-conforming.</p>
610    
611     <p>The specified link type is not part of the standard or registry
612     when the database used by the conformance cheker is created.
613     The link type might have been added to the registry since then.
614     In such case it might be conforming. Otherwise, the
615     document is non-conforming.</p>
616     </div>
617    
618 wakaba 1.4 <div class="section unsupported" id="unsupported:event-handler"><h3>Conformance checking for event handler attribute
619     is not supported; <em>it might or might not be conforming.</em></h3></div>
620    
621     <div class="section unsupported" id="unsupported:language-tag"><h3>Conformance checking for language tag
622     is not supported; <em>it might or might not be conforming.</em></h3></div>
623    
624     <div class="section unsupported" id="unsupported:media-query"><h3>Conformance checking for media query
625     is not supported; <em>it might or might not be conforming.</em></h3></div>
626    
627     <div class="section unsupported" id="unsupported:script"><h3>Conformance checking for script
628     language <code><var>$0</var></code> is not supported;
629     <em>it might or might not be conforming.</em></h3></div>
630    
631     <div class="section unsupported" id="unsupported:style"><h3>Conformance checking for style
632     language <code><var>$0</var></code> is not supported;
633     <em>it might or might not be conforming.</em></h3></div>
634    
635 wakaba 1.1 </section>
636    
637 wakaba 1.3
638 wakaba 1.2
639 wakaba 1.1 <section id="license">
640     <h2>License of This Document</h2>
641    
642     <p>Copyright 2007 <a href="http://suika.fam.cx/~wakaba/who?">Wakaba</a></p>
643     <p>This library is free software; you can redistribute it
644     and/or modify it under the same terms as Perl itself.</p>
645     </section>
646    
647 wakaba 1.5 <!-- $Date: 2007/07/16 13:56:26 $ -->
648 wakaba 1.1 </body>
649     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24