/[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.1 - (hide annotations) (download)
Sun Jul 1 10:02:24 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
++ ChangeLog	1 Jul 2007 10:02:07 -0000
	* cc.cgi: Return 404 if |PATH_INFO| is different from |/|.
	Link to |error-description|.

	* error-description-source.xml: New.

	* mkdescription.pl: New.

2007-07-01  Wakaba  <wakaba@suika.fam.cx>

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     <section id="html5-parse-errors">
12     <h2>HTML5 Parse Errors</h2>
13    
14     <div class="section parse-error" id="after-head"><h3>The <code><var>$0</var></code> element cannot be
15     inserted between <code>head</code> and <code>body</code> elements.</h3>
16     <p>A start tag occurs after the <code>head</code> element is closed
17     but before the <code>body</code> element is opened.
18     The document is non-conforming.</p>
19     </div>
20    
21     <div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with same name.</h3>
22     <p>Attributes must be unique in an element. Specifying
23     attributes with same name more than once is non-conforming.</p>
24    
25     <p>The <code>motion</code> attribute is not part of the HTML standard.
26     Use <code>img</code> element with animation GIF instead.</p>
27     </div>
28    
29     <div class="section tokenize-error" id="nestc"><h3>Void element syntax (<code>/&gt;</code>) cannot be
30     used for this element.</h3>
31     <p>The void element syntax <code>/&gt;</code> syntax can only be
32     used for <code>base</code>, <code>link</code>, <code>meta</code>,
33     <code>hr</code>, <code>br</code>, <code>img</code>,
34     <code>embed</code>, <code>param</code>, <code>area</code>,
35     <code>col</code>, and <code>input</code> elements.
36     For any other elements, using that syntax is non-conforming.</p>
37    
38     <p>Unlike XML, the void element syntax (<code>/&gt;</code>) has
39     no effect in HTML.</p>
40     </div>
41    
42     </section>
43    
44     <section id="element-content-model-errors">
45     <h2>Element Content Model Errors</h2>
46    
47     <div class="section content-model-error" id="character-not-allowed"><h3>Data character is not allowed in this
48     context.</h3>
49     <p>A data character occurs where it is not allowed in this
50     context. The document is non-conforming.</p>
51    
52     <p>Possible causes:
53     <dl>
54     <dt>If the erred element is an inline-level element (such
55     as <code>a</code> or <code>span</code>)</dt>
56     <dd><p>A data character cannot be a child
57     of certain sectioning elements such as <code>body</code>,
58     <code>section</code>, and <code>blockquote</code>.</p>
59    
60     <p>Any inline-level content must be put
61     in e.g. paragraph element such as <code>p</code>.</p></dd>
62     <dt>If the erred element is a block-level element (such as
63     <code>div</code> or <code>h<var>n</var></code>)</dt>
64     <dd><p>Though some elements such as <code>div</code>,
65     <code>li</code>, and <code>td</code> allow
66     <em>either one</em> of block-level or inline-level content
67     is allowed. If there is a block-level content,
68     any inline-level content must be put
69     in e.g. paragraph element such as <code>p</code>.</p></dd>
70     </dl>
71     </p>
72     </div>
73    
74     <div class="section content-model-error" id="child-element-missing"><h3>There must be a <code><var>$0</var></code>
75     element as a child of this element.</h3>
76     <p>The content model of the element is so defined that it
77     must contain a <code><var>$0</var></code> child element.
78     Without such an element, the document is non-conforming.</p>
79    
80     <p>For example:
81     <ul>
82     <li>The <code>head</code> element must contain exactly one
83     <code>title</code> child element.</li>
84     <li><a href="#child-element-missing:td%7Cth">The <code>tr</code>
85     element must contain one or more <code>td</code> or <code>th</code>
86     child element.</a></li>
87     </ul>
88     </p>
89     </div>
90    
91     <div class="section content-model-error" id="child-element-missing:td|th"><h3>There must be a <code>td</code>
92     or <code>th</code> element as a child of this element.</h3>
93     <p>The <code>tr</code> element must contain at least one
94     <code>td</code> or <code>th</code> child element. Without
95     such an element, the document is non-conforming.</p>
96     </div>
97    
98     <div class="section content-model-error" id="element-not-allowed"><h3>This element is not allowed in this
99     context.</h3>
100     <p>An element occurs where it is not allowed. The document
101     is non-conforming.</p>
102    
103     <p>Possible causes:
104     <dl>
105     <dt>If the erred element is an inline-level element (such
106     as <code>a</code> or <code>span</code>)</dt>
107     <dd><p>An inline-level element cannot be a child
108     of certain sectioning elements such as <code>body</code>,
109     <code>section</code>, and <code>blockquote</code>.</p>
110    
111     <p>Any inline-level content must be put
112     in e.g. paragraph element such as <code>p</code>.</p></dd>
113     <dt>If the erred element is a block-level element (such as
114     <code>div</code> or <code>h<var>n</var></code>)</dt>
115     <dd><p>Though some elements such as <code>div</code>,
116     <code>li</code>, and <code>td</code> allow
117     <em>either one</em> of block-level or inline-level content
118     is allowed. If there is a block-level content,
119     any inline-level content must be put
120     in e.g. paragraph element such as <code>p</code>.</p></dd>
121     <dt>If the erred element is the root <code>html</code> element</dt>
122     <dd><p>In an XHTML document, the root <code>html</code>
123     element must have an <code>xmlns</code> attribute
124     whose value is set to
125     <code>http://www.w3.org/1999/xhtml</code>.</p></dd>
126     </dl>
127     </p>
128     </div>
129    
130     enumerated:invalid;attribute-error;This attribute only allow a limited set of values and the specified value is not one of them.
131     no DOCTYPE;parse-error;This document does not start with the <code>DOCTYPE</code> declaration.
132     not HTML5;parse-error;This document is written in an old version of HTML.
133     not closed;parse-error;Element <code>$0</code> is not closed.
134     unmatched end tag;parse-error;Element <code>$0</code> is not opened.
135    
136     table:no cell in last row;table-model-error;The table has no cell (<code>td</code> or <code>th</code>) in the last row.
137    
138     s:IMT:obsolete subtype;should;An <em>obsolete</em> subtype is used.
139     s:IMT:private subtype;should;A private (<code>x-</code> or <code>x.</code>) subtype is used.
140     s:IMT:unregistered subtype;should;The subtype is not registered to IANA.
141    
142     s:URI::empty path;should;This IRI should explicitly end with <code>/</code>.
143     m:URI::syntax error;must;This IRI is not syntactically valid.
144    
145     </section>
146    
147     <section id="unsupported-messages">
148     <h2><i>Unsupported</i> Messages</h2>
149    
150     <div class="section unsupported" id="unsupported:attribute"><h3>This attribute is not supported by the
151     conformance checker; <em>it might or might not be conforming</em>.</h3>
152     <p>The conformant checker does not support the attribute.
153     It cannot determine whether the document is conforming or not.</p>
154     </div>
155    
156     <div class="section unsupported" id="unsupported:element"><h3>This element is not supported by the
157     conformance checker; <em>it might or might not be conforming</em>.</h3>
158     <p>The conformant checker does not support the element.
159     It cannot determine whether the document is conforming or not.</p>
160     </div>
161    
162     <div class="section unsupported" id="unsupported:link-type"><h3>The link type <code>$0</code> is not standardized
163     or registered at the time of the release of the conformance checker;
164     <em>it is non-conforming unless it has now been registered</em>.</h3>
165     <p>The <code>rel</code> attribute is defined as a list of link types.
166     Some common link types are defined in the HTML5 specification.
167     Additional link types can be registered to the WHATWG Wiki.
168     use of any other link type is non-conforming.</p>
169    
170     <p>The specified link type is not part of the standard or registry
171     when the database used by the conformance cheker is created.
172     The link type might have been added to the registry since then.
173     In such case it might be conforming. Otherwise, the
174     document is non-conforming.</p>
175     </div>
176    
177     </section>
178    
179     <section id="license">
180     <h2>License of This Document</h2>
181    
182     <p>Copyright 2007 <a href="http://suika.fam.cx/~wakaba/who?">Wakaba</a></p>
183     <p>This library is free software; you can redistribute it
184     and/or modify it under the same terms as Perl itself.</p>
185     </section>
186    
187     <!-- $Date:$ -->
188     </body>
189     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24