- From: Ziying Sherwin <sherwin@lhc.nlm.nih.gov>
- Date: Wed, 6 Aug 2003 15:05:59 -0400 (EDT)
- To: www-validator@w3.org
We are trying to install validator on our Solaris 2.8 machine with Apache 2.0.46, perl 5.8.0, mod_perl 1.99_09, opensp 1.5 and sgml_lib. We copied the configuration file validator.cfg to the proper location and modify the configuration settings to: Maintainer <webmaster's email> Home Page http://<hostname>/ Msg FAQ URI http://validator.w3.org/docs/errors.html Element Ref URI http://www.htmlhelp.com/reference/html40/ SGML Library <path to the sgml library top-level directory> SGML Parser /depot/bin/onsgmls Element Map file://<path to validator_Dec2002>/htdocs/config/eref.cfg FPI to Text file://<path to validator_Dec2002>/htdocs/config/fpis.cfg Error to URI file://<path to validator_Dec2002>/htdocs/config/frag.cfg File Type file://<path to validator_Dec2002>/htdocs/config/type.cfg Doctypes file://<path to validator_Dec2002>/htdocs/config/doctypes.cfg Charsets file://<path to validator_Dec2002>/htdocs/config/charset.cfg Tips DB file://<path to validator_Dec2002/htdocs/config/tips.cfg Header <path to validator_Dec2002>/htdocs/header.html Footer <path to validator_Dec2002>/htdocs/footer.html However, no matter what kind of html file we are checking, we are keeping getting error messages like: I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to validate the document. The sources I tried are: The HTTP Content-Type field. The XML Declaration. The HTML "META" element. And I even tried to autodetect it using the algorithm defined in Appendix F of the XML 1.0 Recommendation. Since none of these sources yielded any usable information, I will not be able to validate this document. Sorry. Please make sure you specify the character encoding in use. while the result from the validator on your website is total different. Do you have any ideas what we did wrong to install this package? Thanks in advance. Ziying Sherwin and Rick Rodgers
Received on Wednesday, 6 August 2003 16:28:37 UTC