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

Re: Validator Help

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Sat, 07 Aug 2004 16:49:08 +0300
To: Drew Garrett <compnerd@gmail.com>
Cc: www-validator@w3.org
Message-Id: <1091886548.5223.48.camel@bobcat.mine.nu>
On Thu, 2004-08-05 at 00:40, Drew Garrett wrote:
> Dave, I thought the same thing, but when I tried placing quotes around
> the parser setting in the config file, it was looking for
> "/usr/bin/onsgmls"\n with quotes included.

I guess that for some reason, your validator.conf has DOS-style CRLF's
as line terminators, they're not trimmed by chomp() in Validator <=

>   I have no idea how to get
> rid of the \n at the end.  I know in PHP there is trim(), but Perl is
> not my area.

Applying the attached patch to the "check" script (or doing a "dos2unix
/path/to/your/validator.conf") should fix the problem.  Let us know how
it goes.

Received on Saturday, 7 August 2004 13:49:10 UTC

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