469,282 Members | 1,704 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

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

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
5 2144
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
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
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
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
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.

Similar topics

3 posts views Thread by Chris | last post: by
1 post views Thread by Bryan Hahn | last post: by
13 posts views Thread by Niki Kovacs | last post: by
14 posts views Thread by Greg Heilers | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.