W3C home > Mailing lists > Public > www-validator@w3.org > January 2004

bug in cvs version since May 2003

From: <matt@proweb.co.uk>
Date: Tue, 13 Jan 2004 23:08:13 0000
Message-ID: <1d174c78e164958c132e64388a2a1eda@juice.thebigchoice.com>
To: www-validator@w3.org


I've been battling getting the validator to work locally on my FreeBSD4.8 box

I made the "mistake" of installing the code into a directory of my choosing instead of /usr/local/validator

Mistake because check hard codes the path names :

# Set final command to use.
#my @cmd = ($CFG->{SGML_Parser}, '-c', $catalog, '-E0', @xmlflags);
my @cmd = ('/usr/bin/onsgmls', '-c', '/usr/local/validator/htdocs/sgml-lib/xml.soc', '-E0',@xmlflags);

see, the (possibly) correct line is commented out

When I enabled the non-hard coded line the validator worked

The error was introduced in version 1.324 on 25th May 2003 by link
see :


(search for : "my @cmds")

This may explain some of the "the validator always returns 'invalid' and yet it works on the command line" posts on the list I found in the archives.

FreeBSD ports installs onsgmls to /usr/local/bin/onsgmls

therefore working from the command line but not the script.

I'm glad I sorted it out, the validator rocks.

Received on Tuesday, 13 January 2004 18:11:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:39 UTC