- From: Tama Pugsley <tama@cwa.co.nz>
- Date: Tue, 16 Mar 2004 15:47:46 +1300
- To: www-validator@w3.org
Hi,
I've just been struggling to install the CVS version of the validator
and have finally found the problem.
I got the validator all setup but it didn't seem to be parsing the pages
properly. I started looking through the 'check' script and found the
following:
557 # Set final command to use.
558 #my @cmd = ($CFG->{SGML_Parser}, '-c', $catalog, '-E0', @xmlflags);
559 my @cmd = ('/usr/bin/onsgmls', '-c',
'/usr/local/validator/htdocs/sgml-lib/xml.soc', '-E0', @xmlflags);
The location of the onsgml is hardcoded in the source! There's even a
line above it with the right syntax commented out. When the comments are
swapped to form:
557 # Set final command to use.
558 my @cmd = ($CFG->{SGML_Parser}, '-c', $catalog, '-E0', @xmlflags);
559 #my @cmd = ('/usr/bin/onsgmls', '-c',
'/usr/local/validator/htdocs/sgml-lib/xml.soc', '-E0', @xmlflags);
It all works fine.
Some other comments:
I've setup script alias's so /cgi-bin goes to httpd/cgi-bin but the
links (including stylesheet links) in the templates are relative and
consequently break meaning I have to manually edit the templates.
Also the CVS repository seems to be missing the html-3.2.dtd file?
Hopefully, this is the correct mailing list for installation problems :).
Cheers,
Tama Pugsley
Senior Programmer/Developer
CWA New Media Ltd
Email: tama@cwa.co.nz
Mobile:
Phone: +64 4 382 6500
Fax: +64 4 382 6509
Web: www.cwa.co.nz
Postal: PO Box 19090, Wellington, New Zealand
----------------------------------------------------------------------
The information contained in this mail message is confidential and may
also be legally privileged. If you are not the intended recipient, please
note that any use, dissemination, further distribution, or reproduction
of this message in any form whatsoever, is strictly prohibited. If the
mail is in error, please notify me by return email, delete your copy of
the message, and accept my apologies for any inconvenience caused.
Received on Monday, 15 March 2004 21:44:42 UTC