/[suikacvs]/test/html-webhacc/error-description-source.xml
Suika

Diff of /test/html-webhacc/error-description-source.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by wakaba, Mon Jul 16 13:56:26 2007 UTC revision 1.5 by wakaba, Tue Jul 17 13:52:54 2007 UTC
# Line 183  Web Document Conformance Checker (BETA)< Line 183  Web Document Conformance Checker (BETA)<
183    </d:desc>    </d:desc>
184  </d:item>  </d:item>
185    
186    
187    <d:item name="pio"
188        class="tokenize-error">
189      <d:message xml:lang="en">Processing instruction
190      (<code>&lt;?<var>...</var>?></code>) cannot be used.</d:message>
191      <d:desc xml:lang="en">
192        <p>Processing instructions (<code>&lt;?<var>...</var>?></code>),
193        including XML declaration (<code>&lt;?xml <var>...</var>?></code>)
194        and XML style sheet <abbr title="processing instruction">PI</abbr>
195        (<code>&lt;xml-stylesheet <var>...</var>?></code>), are not allowed
196        in the HTML syntax.  The document is non-conforming.</p>
197    
198        <p>If it is necessary to embed a processing instruction
199        in the HTML document, you must use the XML syntax instead.</p>
200    
201        <p>In the HTML syntax, XML declaration is not necessary.</p>
202    
203        <p>Instead of XML style sheet,
204        <abbr title="processing instruction">PI</abbr>s, you must
205        use the HTML <code>link</code> element whose <code>rel</code>
206        attribute is set to <code>stylesheet</code> (or <code>alternate
207        stylesheet</code> for an aleternate style sheet).</p>
208    
209        <p>Web browsers will parse processing instructions as bogus
210        comments.  Some legacy Web browsers, such as IE:mac and
211        some mobile browsers, will display processing instructions
212        as string.</p>
213      </d:desc>
214    </d:item>
215    
216  </section>  </section>
217    
218  <section id="html5-parse-errors">  <section id="html5-parse-errors">
# Line 213  Web Document Conformance Checker (BETA)< Line 243  Web Document Conformance Checker (BETA)<
243    </d:desc>    </d:desc>
244  </d:item>  </d:item>
245    
246    <d:item name="in a:a"
247        class="parse-error">
248      <d:message xml:lang="en">Anchor cannot be nested.</d:message>
249      <d:desc xml:lang="en">
250        <p>HTML <code>a</code> elements cannot be nested.
251        The document is non-conforming.</p>
252    
253        <p>In the HTML syntax, a start tag of the <code>a</code>
254        implies the end tag of any opening <code>a</code> element.</p>
255      </d:desc>
256    </d:item>
257    
258  <d:item name="in body"  <d:item name="in body"
259      class="parse-error">      class="parse-error">
260    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>
261    is not allowed in <code>body</code>.</d:message>    is not allowed in a <code>body</code> element.</d:message>
262    <d:desc xml:lang="en">    <d:desc xml:lang="en">
263      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
264      cannot be a descendant of <code>body</code> element, appears      cannot be a descendant of <code>body</code> element, appears
# Line 225  Web Document Conformance Checker (BETA)< Line 267  Web Document Conformance Checker (BETA)<
267    </d:desc>    </d:desc>
268  </d:item>  </d:item>
269    
270    <d:item name="in head:head"
271        class="parse-error">
272      <d:message xml:lang="en">Start tag <code>&lt;<var>head</var>&gt;</code>
273      is not allowed in the <code>head</code> element.</d:message>
274      <d:desc xml:lang="en">
275        <p>There is a start tag <code>&lt;head></code> in the
276        <code>&lt;head></code> element.  The document is non-conforming.</p>
277    
278        <p>In an HTML document there must not be more than
279        one <code>head</code> element, therefore no more than one
280        start tag <code>&lt;head></code> can appear in the input stream.</p>
281      </d:desc>
282    </d:item>
283    
284  <d:item name="in table"  <d:item name="in table"
285      class="parse-error">      class="parse-error">
286    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>
287    is not allowed in <code>table</code>.</d:message>    is not allowed in a <code>table</code> element.</d:message>
288    <d:desc xml:lang="en">    <d:desc xml:lang="en">
289      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
290      cannot be a child of <code>table</code> element, appears      cannot be a child of <code>table</code> element, appears
# Line 546  Web Document Conformance Checker (BETA)< Line 602  Web Document Conformance Checker (BETA)<
602    <!-- @@ <id=a xml:id=a>? -->    <!-- @@ <id=a xml:id=a>? -->
603  </d:item>  </d:item>
604    
605  <d:item name="link type:bad-context"  <d:item name="link type:bad context"
606      class="attribute-value-error">      class="attribute-value-error">
607    <d:message xml:lang="en">The link type <code><var>$0</var></code>    <d:message xml:lang="en">The link type <code><var>$0</var></code>
608    cannot be specified for this element.</d:message>    cannot be specified for this element.</d:message>
# Line 665  Web Document Conformance Checker (BETA)< Line 721  Web Document Conformance Checker (BETA)<
721    
722  <d:item name="URI::syntax error"  <d:item name="URI::syntax error"
723      class="must" level="m">      class="must" level="m">
724    <d:message xml:lang="en">This string is not an IRI syntactically.</d:message>    <d:message xml:lang="en">This string is syntactically not an IRI.</d:message>
725  </d:item>  </d:item>
726    
727  </section>  </section>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24