/[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.7 by wakaba, Sat Aug 11 13:54:55 2007 UTC revision 1.8 by wakaba, Sun Sep 2 07:59:01 2007 UTC
# Line 573  Web Document Conformance Checker (BETA)< Line 573  Web Document Conformance Checker (BETA)<
573            element must have an <code>xmlns</code> attribute            element must have an <code>xmlns</code> attribute
574            whose value is set to            whose value is set to
575            <code>http://www.w3.org/1999/xhtml</code>.</p></dd>            <code>http://www.w3.org/1999/xhtml</code>.</p></dd>
576          <dt>If the element with the error is <code>blink</code>,
577          <code>center</code>, or <code>marquee</code> element</dt>
578              <dd>These elements are not part of the HTML standard.
579              Use CSS for styling control.</dd>
580        </dl>        </dl>
581      </p>      </p>
582    </d:desc>    </d:desc>
# Line 613  Web Document Conformance Checker (BETA)< Line 617  Web Document Conformance Checker (BETA)<
617    </d:desc>    </d:desc>
618  </d:item>  </d:item>
619    
620    <d:item name="attribute not allowed" class="attribute-error">
621      <d:message xml:lang="en">Attribute
622      <code><var>{local-name}</var></code> is not allowed for
623      <code><var>{element-local-name}</var></code> element.</d:message>
624      <d:desc xml:lang="en">
625        <p>An attribute is specified where it is not allowed.
626        The document is non-conforming.</p>
627    
628        <dl>
629        <dt>HTML <code>meta</code> element</dt>
630            <dd>For HTML <code>meta</code> element, <em>only one</em> of
631            <code>name</code>, <code>http-equiv</code>, or <code>charset</code>
632            attribute is allowed.</dd>
633        </dl>
634      </d:desc>
635    </d:item>
636    
637  <d:item name="in HTML:xml:lang"  <d:item name="in HTML:xml:lang"
638      class="attribute-error">      class="attribute-error">
639    <d:message xml:lang="en">The <code>xml:lang</code> attribute is not    <d:message xml:lang="en">The <code>xml:lang</code> attribute is not
640    allowed in HTML document.</d:message>    allowed in HTML document.</d:message>
641    <d:desc>    <d:desc xml:lang="en">
642      <p>The <code>xml:lang</code> attribute is not allowed in      <p>The <code>xml:lang</code> attribute is not allowed in
643      HTML document.  The document is non-conforming.</p>      HTML document.  The document is non-conforming.</p>
644    
# Line 681  Web Document Conformance Checker (BETA)< Line 702  Web Document Conformance Checker (BETA)<
702      <p>The <code>xmlns</code> attribute in the <code>null</code>      <p>The <code>xmlns</code> attribute in the <code>null</code>
703      namespace is not allowed in XHTML document.</p>      namespace is not allowed in XHTML document.</p>
704    
705      <p>This error should not occur in conformance-checking      <p>This error should not occur in conformance-checking of
706      static documents.</p>      static documents.</p>
707    </d:desc>    </d:desc>
708  </d:item>  </d:item>
# Line 696  Web Document Conformance Checker (BETA)< Line 717  Web Document Conformance Checker (BETA)<
717    <d:message xml:lang="en">This attribute only allow a limited set of    <d:message xml:lang="en">This attribute only allow a limited set of
718    values and the specified value <code><var>{@}</var></code> is not one    values and the specified value <code><var>{@}</var></code> is not one
719    of them.</d:message>    of them.</d:message>
720      <d:desc xml:lang="en">
721        <p>For this attribute only several values are allowed and the
722        value of the attribute is not one of them.  The document
723        is non-conforming.</p>
724    
725        <dl>
726        <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
727            <dd><p>Only <code>Default-Style</code> and <code>Refresh</code>
728            is allowed.</p>
729            <p>Value <code>Content-Type</code> is obsolete; for charset
730            declaration, the <code>charset</code> attribute can be used as:
731            <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
732            ... where <var>charset-name</var> is a name of the character encoding
733            of the document, such as <code>utf-8</code>.</p>
734            <p>Values <code>Content-Style-Type</code> and
735            <code>Content-Script-Type</code> are currently not allowed.</p>
736            <p>Value <code>Keywords</code> is not allowed.  Use
737            <code>name</code> attribute instead of <code>http-equiv</code>
738            attribute.</p>
739            <p>Values <code>Expires</code>, <code>Pragma</code>,
740            and <code>Cache-Control</code> are not allowed;
741            use <em>real</em> HTTP header fields for cache control.</p></dd>
742        </dl>
743      </d:desc>
744  </d:item>  </d:item>
745    
746  <d:item name="duplicate ID"  <d:item name="duplicate ID"
# Line 987  Web Document Conformance Checker (BETA)< Line 1032  Web Document Conformance Checker (BETA)<
1032      The link type might have been added to the registry since then.      The link type might have been added to the registry since then.
1033      In such case it might be conforming.  Otherwise, the      In such case it might be conforming.  Otherwise, the
1034      document is non-conforming.</p>      document is non-conforming.</p>
1035    
1036        <dl>
1037        <dt>Link types <code>shortcut icon</code></dt>
1038            <dd>Link type <code>shortcut</code> is not registered.
1039            Use only <code>icon</code> for linking to so-called favicon.</dd>
1040        </dl>
1041    </d:desc>    </d:desc>
1042  </d:item>  </d:item>
1043    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24