Re: Validator Help

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 <=
0.6.7.

>   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