W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Validating file not working

From: Bjørn Stenfeldt <bs@e-supply.dk>
Date: Thu, 4 Nov 2004 13:06:11 +0100
Message-ID: <35A33E5429E25542988C70BB4CD79479020D32@thor.flexite.dk>
To: <www-validator@w3.org>
Im trying to to validate a html file with http://validator.w3.org/. But I get the following error message when I upload the file:
Sorry, I am unable to validate this document because its content type is text/plain, 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 recieved 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. In the latter case you should let us know that you need us to support that content type (please include all relevant details, including the URL to the standards document defining the content type) using the instructions on the Feedback Page <http://validator.w3.org/feedback.html> . 
I do not understand why though. I have the MIME type set and the file is a .html file, so it should work in my opinion. Here is the header of my file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <title>Ugebrevet Hjørring</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
........ YADAYADA
The validator worked in the past, but after the last update (I think) I started having this problem. Anyone know how to work around this thing, please send a mail to bs@e-supply.dk, as Im not in the mailing list.
Received on Thursday, 4 November 2004 12:07:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:43 UTC