- From: Mag. Leonhard Landrock (DLS) <Leonhard.Landrock@landrock.at>
- Date: Wed, 28 Jan 2004 13:27:40 +0100
- To: "W3C Validator (E-Mail)" <www-validator@w3.org>
Hi everyone! I tried to install the W3C HTML Validator on a PC running SuSE Linux 8.2. Here is what I did: --------------------- 1.) Installation of Open SP 1.5 2.) Installation of the validator sources (validator.tar.gz) under slightly diffrent locations: * /etc/w3c/w3c-validator --> Path vor *.cfg (except verbosemsg.cfg) * /etc/w3c/w3c-validator/Attic --> Path vor verbosemsg.cfg * /srv/www/cgi-bin --> Path for several scripts (check, checklink.pl, etc.) * /srv/www/htdocs/dls --> Path for *.html 3.) I installed the following Perl-Modules * FCGI * CGI.pm * HTML-Parser * libwww-perl * Set-IntSpan * Text-Iconv * URI * Config-General * Math-BigInt * Net-IP * MIME-Base64 * HTML-Tagset 4.) I did the following changes to validator.conf * SGML Library /usr/local/w3c/w3c-validator/sgml-lib * SGML Parser /usr/local/bin/onsgmls * Element Map file:///etc/w3c/w3c-validator/eref.cfg * FPI to Text file:///etc/w3c/w3c-validator/fpis.cfg * Error to URI file:///etc/w3c/w3c-validator/frag.cfg * File Type file:///etc/w3c/w3c-validator/type.cfg * Doctypes file:///etc/w3c/w3c-validator/doctypes.cfg * Charsets file:///etc/w3c/w3c-validator/charset.cfg * Verbose Msg /etc/w3c/w3c-validator/Attic/verbosemsg.cfg 5.) I replaced the following files from the compressed Validator Sources (validator.tar.gz) with newer versions from the public-cvs: * tips.html (Version: 1.6 2002/09/04 19:36:29) * charset.cfg (Version: 1.6.2.2 2003/07/04) * checklink.conf (Version: 1.1.2.2 2003/07/27) * doctypes.cfg (Version: 1.8.4.1 2003/08/23) * eref.cfg (Version: 1.2 2002/11/26 21:40:19) * fpis.cfg (Version: 1.19 2003/05/24 20:32:46) * frag.cfg (Version: 1.7 2003/05/24 20:32:46) * tips.cfg (Version: 1.3.2.11 2004/01/20 06:34:06) * type.cfg (Version: 1.6 2002/11/26 21:40:19) * types.conf (Version: 1.3 2003/02/24 23:33:18) * validator.conf (Version: 1.2.2.8 2003/11/13 13:11:53) * verbosemsg.cfg * check (Version: 1.305.2.84 2003/11/13 13:11:54) * checklink.pl (Version: 3.6.2.25 2003/11/25 20:46:46) * httpd.conf (Version: 1.17.2.3 2003/07/04 13:51:56) And now the result: ----------------------- 1.) HTML-Page If I try to validate a HTML-Page I get the following result: *** snip *** Sorry, I am unable to validate this document because its content type is text/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 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. *** snip *** 2.) XHTML-Page *** snip *** Sorry, I am unable to validate this document because its content type is application/xhtml+xml, 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. *** snip *** Question: ----------- Does anybody know why the validator doesn't want HTML or XHTML files? Thank you in advance Leonhard Landrock
Received on Wednesday, 28 January 2004 07:36:06 UTC