HighDots Forums  

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

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss W3C's Validator Won't Work Properly When Run Locally in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
johnleemk
 
Posts: n/a

Default W3C's Validator Won't Work Properly When Run Locally - 07-01-2004 , 08:15 AM






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.

Reply With Quote
  #2  
Old   
Mark Tranchant
 
Posts: n/a

Default Re: W3C's Validator Won't Work Properly When Run Locally - 07-01-2004 , 08:31 AM






johnleemk wrote:

Quote:
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.


Reply With Quote
  #3  
Old   
Neal
 
Posts: n/a

Default Re: W3C's Validator Won't Work Properly When Run Locally - 07-01-2004 , 12:56 PM



On 1 Jul 2004 05:15:17 -0700, johnleemk <johnleemk (AT) gmail (DOT) com> wrote:

Quote:
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.


Reply With Quote
  #4  
Old   
johnleemk
 
Posts: n/a

Default Re: W3C's Validator Won't Work Properly When Run Locally - 07-02-2004 , 03:31 AM



Neal <neal413 (AT) yahoo (DOT) com> wrote

Quote:
On 1 Jul 2004 05:15:17 -0700, johnleemk <johnleemk (AT) gmail (DOT) 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


Reply With Quote
  #5  
Old   
Keith Bowes
 
Posts: n/a

Default Re: W3C's Validator Won't Work Properly When Run Locally - 07-04-2004 , 10:34 PM



johnleemk wrote:
Quote:
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.



Reply With Quote
  #6  
Old   
Matt
 
Posts: n/a

Default Re: W3C's Validator Won't Work Properly When Run Locally - 07-05-2004 , 07:56 AM



johnleemk wrote:

Quote:
Neal <neal413 (AT) yahoo (DOT) com> wrote in message
news:<opsagxcyku6v6656 (AT) news (DOT) individual.net>...
On 1 Jul 2004 05:15:17 -0700, johnleemk <johnleemk (AT) gmail (DOT) 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! =-----


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.