W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2008

[Bug 5554] Cannot validate web pages with content-type headers of text/x-server-parsed-html

From: <bugzilla@wiggum.w3.org>
Date: Mon, 10 Mar 2008 18:11:26 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JYmT8-0008CO-7y@wiggum.w3.org>


           Summary: Cannot validate web pages with content-type headers of
           Product: Validator
           Version: HEAD
          Platform: All
               URL: http://users.csc.calpoly.edu/~lslivovs/Index.html
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Website
        AssignedTo: dave.null@w3.org
        ReportedBy: w3bugs@xyzzy.cjb.net
         QAContact: www-validator-cvs@w3.org

I'm trying to validate this web page:


However, the server (incorrectly, I believe, due to server misconfiguration)
sends a Content-Type header with a value of "text/x-server-parsed-html" 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 ".html") 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 "Encoding" and "Doctype"
Received on Monday, 10 March 2008 18:11:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:27 UTC