By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,625 Members | 2,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,625 IT Pros & Developers. It's quick & easy.

W3C's Validator Won't Work Properly When Run Locally

P: n/a
I download the source for W3C's validator from
http://validator.w3.org/source/ to validate pages on my own server. I
commented a block of code that checks for non-public hosts so the
validator would let me check http://localhost but then i ran into a
roadblock. The validator claimed my pages weren't valid. No problem.
However, it wouldn't say what the errors where. I tried this by
checking a known invalid remote site. Same result. Then I validate
http://w3.org and was shocked when it was pronounced as "not valid
XHTML 1.0 Strict". The problem is definitely not with the code I
commented - I uncomment it, and the same problems occur. So what's the
problem? Btw, I'm running Apache 1.3.29 with Perl 5.8.4 on Slackware
Linux Current.
Jul 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
johnleemk wrote:
I download the source for W3C's validator from
http://validator.w3.org/source/ to validate pages on my own server. I
commented a block of code that checks for non-public hosts so the
validator would let me check http://localhost but then i ran into a
roadblock. The validator claimed my pages weren't valid. No problem.
However, it wouldn't say what the errors where. I tried this by
checking a known invalid remote site. Same result. Then I validate
http://w3.org and was shocked when it was pronounced as "not valid
XHTML 1.0 Strict". The problem is definitely not with the code I
commented - I uncomment it, and the same problems occur. So what's the
problem? Btw, I'm running Apache 1.3.29 with Perl 5.8.4 on Slackware
Linux Current.


I'm speechless.

How are we meant to debug this?!

--
Mark.
Jul 20 '05 #2

P: n/a
On 1 Jul 2004 05:15:17 -0700, johnleemk <jo*******@gmail.com> wrote:
I download the source for W3C's validator from
http://validator.w3.org/source/ to validate pages on my own server. I
commented a block of code that checks for non-public hosts so the
validator would let me check http://localhost but then i ran into a
roadblock. The validator claimed my pages weren't valid. No problem.
However, it wouldn't say what the errors where. I tried this by
checking a known invalid remote site. Same result. Then I validate
http://w3.org and was shocked when it was pronounced as "not valid
XHTML 1.0 Strict". The problem is definitely not with the code I
commented - I uncomment it, and the same problems occur. So what's the
problem? Btw, I'm running Apache 1.3.29 with Perl 5.8.4 on Slackware
Linux Current.


Can you post a URL to the code in question so we may look at it? Please
don't post it directly in a post, give a URL.
Jul 20 '05 #3

P: n/a
Neal <ne*****@yahoo.com> wrote in message news:<op**************@news.individual.net>...
On 1 Jul 2004 05:15:17 -0700, johnleemk <jo*******@gmail.com> wrote:
I download the source for W3C's validator from
http://validator.w3.org/source/ to validate pages on my own server. I
commented a block of code that checks for non-public hosts so the
validator would let me check http://localhost but then i ran into a
roadblock. The validator claimed my pages weren't valid. No problem.
However, it wouldn't say what the errors where. I tried this by
checking a known invalid remote site. Same result. Then I validate
http://w3.org and was shocked when it was pronounced as "not valid
XHTML 1.0 Strict". The problem is definitely not with the code I
commented - I uncomment it, and the same problems occur. So what's the
problem? Btw, I'm running Apache 1.3.29 with Perl 5.8.4 on Slackware
Linux Current.


Can you post a URL to the code in question so we may look at it? Please
don't post it directly in a post, give a URL.

Never mind - turns out I forgot to install OpenSP and errors weren't
being returned because of a half-install (wonder where that came
from?) which had the required files. It was kind of obscure, though.
OpenSP isn't mentioned anywhere on http://validator.w3.org/source/ but
it is at http://validator.w3.org/docs/install.html
Jul 20 '05 #4

P: n/a
johnleemk wrote:
I download the source for W3C's validator from
http://validator.w3.org/source/ to validate pages on my own server. I
commented a block of code that checks for non-public hosts so the
validator would let me check http://localhost but then i ran into a
roadblock. The validator claimed my pages weren't valid. No problem.
However, it wouldn't say what the errors where. I tried this by
checking a known invalid remote site. Same result. Then I validate
http://w3.org and was shocked when it was pronounced as "not valid
XHTML 1.0 Strict". The problem is definitely not with the code I
commented - I uncomment it, and the same problems occur. So what's the
problem? Btw, I'm running Apache 1.3.29 with Perl 5.8.4 on Slackware
Linux Current.


Congratulations for getting that far.

Jul 20 '05 #5

P: n/a
johnleemk wrote:
Neal <ne*****@yahoo.com> wrote in message
news:<op**************@news.individual.net>...
On 1 Jul 2004 05:15:17 -0700, johnleemk <jo*******@gmail.com> wrote:
> I download the source for W3C's validator from
> http://validator.w3.org/source/ to validate pages on my own server. I
> commented a block of code that checks for non-public hosts so the
> validator would let me check http://localhost but then i ran into a
> roadblock. The validator claimed my pages weren't valid. No problem.
> However, it wouldn't say what the errors where. I tried this by
> checking a known invalid remote site. Same result. Then I validate
> http://w3.org and was shocked when it was pronounced as "not valid
> XHTML 1.0 Strict". The problem is definitely not with the code I
> commented - I uncomment it, and the same problems occur. So what's
> the problem? Btw, I'm running Apache 1.3.29 with Perl 5.8.4 on
> Slackware Linux Current.


Can you post a URL to the code in question so we may look at it? Please
don't post it directly in a post, give a URL.

Never mind - turns out I forgot to install OpenSP and errors weren't
being returned because of a half-install (wonder where that came from?)
which had the required files. It was kind of obscure, though. OpenSP
isn't mentioned anywhere on http://validator.w3.org/source/ but it is at
http://validator.w3.org/docs/install.html


I just installed on Slackware 9.1, and notices that the older version of
OpenSP was still being used -- the old version was installed to /usr/bin/
and the newer to /usr/local/bin/. Removing the older solved the problem.

I did have to update Perl from 5.8.0 to 5.8.4 to install the required
modules.

--
Matt
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.