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

Re: Help installing the validator--all pages not valid but no errors

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 31 Jan 2004 22:35:34 +0100
To: Ed Martin <edman007x@mac.com>
Cc: www-validator@w3.org
Message-ID: <40391e03.545777616@smtp.bjoern.hoehrmann.de>

* Ed Martin wrote:
>i took out the -R and it doesn't generate that error when i run the 
>command from the command line (it just sits there doing nothing) but 

It waits for stdin input, use

  cat file.html | onsgmls ...

or something similar.

>the validator still doesn't work, it does exactly what it did before, 
>only show the source, give no errors, and say it isn't valid

Then it is likely that it did not read onsgmls' output properly. On
Win32 / Perl 5.8.2 I had to add

  binmode($spout, ':crlf');

after

  # Rewind temporary filehandles.
  seek $_, 0, 0 for $spout, $sperr;

Not sure whether this will work for you aswell.
Received on Saturday, 31 January 2004 16:35:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:10 GMT