473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

w3c validator local installation

i have installed w3c validator on my local winxp based system using apache server.
i am facing a strange problem. When i validate a website with the live version of w3c validator i am different validation errors as compared to validating the same site on local validator.

i have attached both screenshots.

Please help me out.

thanks
Attached Images
File Type: jpg LiveValidator.jpg (21.0 KB, 98 views)
File Type: jpg localValidator.jpg (20.1 KB, 104 views)
Feb 12 '10 #1

✓ answered by farazshuja

Ok i figured out the problem. My path to sgml-lib was not correct.

thanks for your time

8 1934
Atli
5,058 Expert 4TB
What are the extra errors you are getting on the local server?
Feb 14 '10 #2
You can see some of errors here
http://unirazz.com/result.png

All errors are of same type.

thanks
Feb 14 '10 #3
Atli
5,058 Expert 4TB
OK. The top most warning may explain this:
Character encoding mismatch!
The character encoding specified in the HTTP header (utf-8) is different from the value in the <meta> element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.
It seems your HTML markup and your HTTP server don't agree on the encoding of the page, forcing the validator to choose for you. And seeing as most of the errors I could see are complaining about invalid characters...

Try manually setting the encoding used by the local validator to the ISO-8859-1 charset.
Feb 14 '10 #4
how to manually set the local validator to ISO-8859-1??
Feb 14 '10 #5
selecting ISO-8859-1 in drop down list changes the validation errors count from 230 to 173 but still most of the errors of same type.
Feb 14 '10 #6
for almost all sites my local validator gives me this validator error
reference to non-SGML character
Feb 14 '10 #7
Ok i figured out the problem. My path to sgml-lib was not correct.

thanks for your time
Feb 14 '10 #8
Atli
5,058 Expert 4TB
Glad to hear that :)

I actually just finished setting this up on my PC, just to try it out. Was going to suggest you double-check the Perl packages. - Seems you were one step ahead of me :)
Feb 14 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Antho | last post by:
Hello NG Sorry if this is the wrong NG to post this in. I have installed Apache2 and PHP on my Mdk 9.2 box. I have made an info.php page to test if php is working. It appears that it is as my...
9
by: Justin Sane | last post by:
I'm always sending back and forth my pages to the W3C XHTML validator (I can't stand error!) I also develop using application/xhtml+xml header, but still, there are errors that are not XML errors...
3
by: Vigil | last post by:
Hi, I have downloaded the source code and installed everything on http://validator.w3.org/source/. I have the validator 'working' offline with Apache2. I have uploaded a valid XHTML 1 Strict...
5
by: Pär | last post by:
Hi ! I'm wondering if anyone successfully has managed to install the W3C Validator on a Windows operating system. If so , can you please give me som hints ? Best regards Pär Erlandsson
195
by: Torbjørn Pettersen | last post by:
As you might have noticed I'm trying to clean up my web site's HTML code. The way I do it is simply more or less redoing to complete site, testing it on a web server I have set up on my local...
1
by: Declan Naughton | last post by:
Hello, I'm a bit of a n00b with this CGI and web-server stuff.. But I decided to download and try to install the W3C validator (along with the error definitions).. I followed most of the...
13
by: Niki Kovacs | last post by:
Hi, I'm an Austrian writer living in Montpezat (South France). I just installed a local W3C validator on my machine (Slackware 10.1, local Apache server). It's accessible as...
8
by: pmud | last post by:
Hi, I am using a compare validator in asp.net application(c# code). This Custom validator is used for comparing a value enterd by the user against the primary key in the SQL database. IF the...
4
by: Baron Samedi | last post by:
hi, I followed the instructions at http://validator.w3.org/docs/install_win.html ("Installing the W3C-Validator on a Apache under Windows") and it works perfectly. I can locally validate HTML...
9
by: Daniele Perilli | last post by:
Hi everybody, I'd like to introduce you a new little tool I developed to automatically check markup validation of all pages in given websites. It uses W3C HTML Validator and CSS Validator online...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.