Forum Moderators: phranque

Message Too Old, No Replies

W3C Validator Won't Work When Run on a Local Host

W3C validator doesn't return a list of errors

         

johnleemk

12:05 pm on Jul 1, 2004 (gmt 0)



I download the source for W3C's validator at [validator.w3.org...] and installed it. I commented out a part of the script that checked for non-public hosts so I could validate pages on my own server, and off I went. Except for a major problem. The validator stated my pages weren't valid, but it didn't return a list of errors with them! I tried it with a remote host known to have non-compliant code, and the result was the same. Odder still, when I validated W3C's official website, it also returned a "This page not valid XHTML 1.0 Strict!" error. What have I done to deserve this? The comments I added to the code aren't affecting this, because uncommented or not, the validator still calls all pages it validates "invalid" and won't list their errors.

I am running Apache 1.3.29 with Perl 5.8.4 on Slackware Linux Current, btw.