- From: Peter Firminger <peterf@webboy.net>
- Date: Tue, 12 Oct 2004 12:07:35 +1000
- To: <www-validator@w3.org>
Hi, One of the WSG members has asked a question off list and he is quite correct. When uploading a file for validation from http://validator.w3.org/ or http://validator.w3.org/file-upload.html we get the message: ----- 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. ----- Heads up on the typo in "received" as well (I before E except after C). The pages we have tried are XHTML 1.0 (Transitional and Strict) and HTML 4.01 Transitional and have the file extensions .htm or .html (have tried various combinations). Should the validator not assume text/html instead of text/plain for an uploaded file? It is a mark-up validator after all so why not default to the most likely mime type? Now... Having tried a few things... I was using WinXP/IE 6 to do this (as most people do - EYODF) and surprise, surprise it works in FireBug 1.0PR. How are we to get the mainstream developers to do this if we lock the majority of them out of it with a very unhelpful error message? Or is it just a bug that you can rectify quickly? I'm more than a little concerned by this as it looks like browser favouritism (towards the boutique end) to me. Regards, Peter Firminger *********************************************************** http://webboy.net/ http://webstandardsgroup.org/ http://we04.com/ 1300 666 770 (au only) +612 4998 3388 ***********************************************************
Received on Tuesday, 12 October 2004 02:11:20 UTC