Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 08:12 PM
johnleemk
Guest
 
Posts: n/a
Default 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.
  #2  
Old July 20th, 2005, 08:12 PM
Mark Tranchant
Guest
 
Posts: n/a
Default Re: W3C's Validator Won't Work Properly When Run Locally

johnleemk wrote:
[color=blue]
> 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.[/color]

I'm speechless.

How are we meant to debug this?!

--
Mark.
  #3  
Old July 20th, 2005, 08:12 PM
Neal
Guest
 
Posts: n/a
Default Re: W3C's Validator Won't Work Properly When Run Locally

On 1 Jul 2004 05:15:17 -0700, johnleemk <johnleemk@gmail.com> wrote:
[color=blue]
> 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.[/color]

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.
  #4  
Old July 20th, 2005, 08:15 PM
johnleemk
Guest
 
Posts: n/a
Default Re: W3C's Validator Won't Work Properly When Run Locally

Neal <neal413@yahoo.com> wrote in message news:<opsagxcyku6v6656@news.individual.net>...[color=blue]
> On 1 Jul 2004 05:15:17 -0700, johnleemk <johnleemk@gmail.com> wrote:
>[color=green]
> > 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.[/color]
>
> 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.[/color]
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
  #5  
Old July 20th, 2005, 08:16 PM
Keith Bowes
Guest
 
Posts: n/a
Default Re: W3C's Validator Won't Work Properly When Run Locally

johnleemk wrote:[color=blue]
> 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.[/color]

Congratulations for getting that far.

  #6  
Old July 20th, 2005, 08:16 PM
Matt
Guest
 
Posts: n/a
Default Re: W3C's Validator Won't Work Properly When Run Locally

johnleemk wrote:
[color=blue]
> Neal <neal413@yahoo.com> wrote in message
> news:<opsagxcyku6v6656@news.individual.net>...[color=green]
>> On 1 Jul 2004 05:15:17 -0700, johnleemk <johnleemk@gmail.com> wrote:
>>[color=darkred]
>> > 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.[/color]
>>
>> 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.[/color]
> 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[/color]

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! =-----
 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles