/[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.9 by wakaba, Mon Sep 3 14:30:46 2007 UTC revision 1.10 by wakaba, Tue Sep 4 11:40:02 2007 UTC
# Line 261  Web Document Conformance Checker (BETA)< Line 261  Web Document Conformance Checker (BETA)<
261    
262  <d:item name="nestc"  <d:item name="nestc"
263      class="tokenize-error">      class="tokenize-error">
264    <d:message xml:lang="en">Void element syntax (<code>/></code>) cannot be    <d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be
265    used for this element.</d:message>    used for this element.</d:message>
266    <d:desc xml:lang="en">    <d:desc xml:lang="en">
267      <p>Void element syntax (<code>/></code>) must not be used      <p>Polytheistic slash (<code>/></code>) must not be used
268      for the element.  The document is non-conforming.</p>      for the element.  The document is non-conforming.</p>
269    
270      <p>The void element syntax can only be      <p>The polytheistic slash can only be
271      used for <code>base</code>, <code>link</code>, <code>meta</code>,      used for <code>base</code>, <code>link</code>, <code>meta</code>,
272      <code>hr</code>, <code>br</code>, <code>img</code>,      <code>hr</code>, <code>br</code>, <code>img</code>,
273      <code>embed</code>, <code>param</code>, <code>area</code>,      <code>embed</code>, <code>param</code>, <code>area</code>,
# Line 275  Web Document Conformance Checker (BETA)< Line 275  Web Document Conformance Checker (BETA)<
275    
276      <dl>      <dl>
277      <dt><code>&lt;script/></code></dt>      <dt><code>&lt;script/></code></dt>
278          <dd><p>The void element syntax cannot be used for <code>script</code>          <dd><p>The polytheistic slash cannot be used for <code>script</code>
279          element.  Even for an empty <code>script</code> element,          element.  Even for an empty <code>script</code> element,
280          there must be an explicit end tag <code>&lt;/script></code>.</p>          there must be an explicit end tag <code>&lt;/script></code>.</p>
281    
282          <p><strong>NOTE</strong>: Though some user agents interpret          <p><strong>NOTE</strong>: Though some user agents interpret
283          void element syntax for <code>script</code> element as the          polytheistic slash for <code>script</code> element as the
284          closing of the element, such usage is not allowed under          closing of the element, such usage is not allowed under
285          the current standard.</p></dd>          the current standard.</p></dd>
286      <dt><code>&lt;basefont/></code>, <code>&lt;bgsound/></code>,      <dt><code>&lt;basefont/></code>, <code>&lt;bgsound/></code>,
# Line 291  Web Document Conformance Checker (BETA)< Line 291  Web Document Conformance Checker (BETA)<
291      <dt><code>&lt;command/></code>, <code>&lt;event-source/></code>,      <dt><code>&lt;command/></code>, <code>&lt;event-source/></code>,
292      <code>&lt;source/></code></dt>      <code>&lt;source/></code></dt>
293          <dd>Future revision of HTML5 parsing algorithm is expected          <dd>Future revision of HTML5 parsing algorithm is expected
294          to allow void element syntax for these elements.</dd>          to allow polytheistic slash for these elements.</dd>
295      <dt><code>&lt;a/></code>, <code>&lt;p/></code></dt>      <dt><code>&lt;a/></code>, <code>&lt;p/></code></dt>
296          <dd>These elements are not always empty and therefore          <dd>These elements are not always empty and therefore
297          void element syntax is not allowed.</dd>          polytheistic slash is not allowed.</dd>
298      </dl>      </dl>
299    
300      <p>Note that, unlike in XML, the void element syntax has      <p>Note that, unlike in XML, the polytheistic slash has
301      no effect in HTML.</p>      no effect in HTML.</p>
302    </d:desc>    </d:desc>
303  </d:item>  </d:item>
# Line 482  Web Document Conformance Checker (BETA)< Line 482  Web Document Conformance Checker (BETA)<
482      <p>End tag of an element is not found before, for example,      <p>End tag of an element is not found before, for example,
483      an end tag of another element appears or      an end tag of another element appears or
484      the end of the document.  The document is non-conforming.</p>      the end of the document.  The document is non-conforming.</p>
485    
486        <p>Only <code>body</code>, <code>dd</code>, <code>dt</code>,
487        <code>head</code>, <code>html</code>, <code>li</code>,
488        <code>ol</code>, <code>option</code>, <code>optgroup</code>,
489        <code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>, or
490        <code>ul</code> end tag can be implied in HTML documents.
491        For any element except for void element, there must be an explicit
492        end tag.</p>
493    
494        <p>Note that misnesting tags, such as
495        <code class="bad example">&lt;a>&lt;b>&lt;/a>&lt;/b></code>, are not
496        allowed and they also cause this error.</p>
497    </d:desc>    </d:desc>
498  </d:item>  </d:item>
499    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24