<?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>5554</bug_id>
          
          <creation_ts>2008-03-10 18:11:26 +0000</creation_ts>
          <short_desc>Cannot validate web pages with content-type headers of text/x-server-parsed-html</short_desc>
          <delta_ts>2008-04-17 11:58:35 +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>Website</component>
          <version>HEAD</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://users.csc.calpoly.edu/~lslivovs/Index.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeff Connelly">w3bugs</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <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>19393</commentid>
    <comment_count>0</comment_count>
    <who name="Jeff Connelly">w3bugs</who>
    <bug_when>2008-03-10 18:11:26 +0000</bug_when>
    <thetext>I&apos;m trying to validate this web page:

http://users.csc.calpoly.edu/~lslivovs/Index.html

However, the server (incorrectly, I believe, due to server misconfiguration) sends a Content-Type header with a value of &quot;text/x-server-parsed-html&quot; instead of the usual text/html, so the validator cannot validate it. The error message given is:

===
Sorry, I am unable to validate this document because its content type is text/x-server-parsed-html, which is not currently supported by this service.

The Content-Type field is sent by your web server (or web browser if you use the file upload interface) and depends on its configuration. Commonly, web servers will have a mapping of filename extensions (such as &quot;.html&quot;) to MIME Content-Type values (such as text/html).

That you received this message can mean that your server is not configured correctly, that your file does not have the correct filename extension, or that you are attempting to validate a file type that we do not support yet.
===

None of the options in the validator could override this error and allow the page to be validated. 

Could we perhaps have a dropdown box to manually specify a Content-Type, if the server incorrectly specifies it, in order to proceed with validation? Similar to how the validator can manually accept an explicit &quot;Encoding&quot; and &quot;Doctype&quot; type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19845</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-04-17 11:58:35 +0000</bug_when>
    <thetext>I think it is sound that the validator only accepts reading content served with media types it can handle.

I would suggest fixing the server misconfiguration and/or using the alternate input methods to the validator.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>