473,394 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 2306
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris | last post by:
Has anyone ever installed the w3c validator source under Windows and gotten it to work? This would be very handy to have on my laptop, where I often work without a web connection and already have...
1
by: Bryan Hahn | last post by:
I would like to open our firewall to allow traffic from the w3c validator in our development enviornment. I tried to open port 80 from 18.29.1.50 (validator.w3.org), but that didn't do the trick....
111
by: Retlak | last post by:
The recommended (on dozens of websites) and effective (works in Netscape, MSIE, Mozilla, probably others) way to detect if a browser has Javascript turned off is to put this in the <head>: ...
1
by: Declan Naughton | last post by:
Hello, I'm a bit of a n00b with this CGI and web-server stuff.. But I decided to download and try to install the W3C validator (along with the error definitions).. I followed most of the...
13
by: Niki Kovacs | last post by:
Hi, I'm an Austrian writer living in Montpezat (South France). I just installed a local W3C validator on my machine (Slackware 10.1, local Apache server). It's accessible as...
14
by: Greg Heilers | last post by:
Greetings, It is wonderful to find such a useful group. This is my first time here, so I apologize up front, if this question has been asked (and answered) a thousand times before. While...
9
by: Alberto | last post by:
Eh unfortunately Google groups does not provide any longer a way to reply to the group for older posts (though the one I am referring to is not older than one month), and I happen to come back to...
4
by: Baron Samedi | last post by:
hi, I followed the instructions at http://validator.w3.org/docs/install_win.html ("Installing the W3C-Validator on a Apache under Windows") and it works perfectly. I can locally validate HTML...
6
by: yaru22 | last post by:
I'd like to create a program that validates bunch of urls against the w3c markup validator (http://validator.w3.org/) and store the result in a file. Since I don't know network programming, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.