<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4514</bug_id>
          
          <creation_ts>2007-04-30 15:35:14 +0000</creation_ts>
          <short_desc>Check XHTML 1.0 Documents served as text/html against HTML Compatibility Guidelines (Appendix C)</short_desc>
          <delta_ts>2011-10-09 22:17:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.8.0b1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olivier Thereaux">ot</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          <cc>majuki</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14946</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-04-30 15:35:14 +0000</bug_when>
    <thetext>[[ 
XHTML Documents which follow the guidelines set forth in Appendix C, &quot;HTML Compatibility Guidelines&quot; may be labeled with the Internet Media Type &quot;text/html&quot; [RFC2854], as they are compatible with most HTML browsers. 
]] -- http://www.w3.org/TR/xhtml1/#media

Would be good to integrate validator to appc checker in some way or other (already done through unicorn, but we could look into a closer integration)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57993</commentid>
    <comment_count>1</comment_count>
    <who name="Etienne Miret">elimerl</who>
    <bug_when>2011-10-09 21:24:24 +0000</bug_when>
    <thetext>*** Bug 14306 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57995</commentid>
    <comment_count>2</comment_count>
    <who name="Mark">majuki</who>
    <bug_when>2011-10-09 22:17:43 +0000</bug_when>
    <thetext>Related to this bug/bug 14306 the validator should warn of issues with file type.  When mime control is not used by default (opening local file) a Strict DTD + text/html media type will render as HTML 4 in all browsers when the .html file type is used.  

Simple test (when used with above doctype/media type):

&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;textarea /&gt;
&lt;/body&gt;
&lt;/html&gt;

When saved as .html renders as html 4 and &lt;/body&gt;&lt;/html&gt; render inside the text element.  When saved as .xhtml it renders as XHTML and renders as expected.  Currently the validator does not address this in any way.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>