- From: Bjoern Hoehrmann <hoermi@arcormail.de>
- Date: Tue, 11 May 1999 21:51:12 +0200
- To: <www-validator@w3.org>
Hi, I get an error when i try to run the check script for the lines # kludge for other DOS users with CRLFs for (@file) { s/+$//; print CHECKER $_, "\n"; } the following output is given: "/+$/: ?+*{} follows nothing in regexp at check line 494." I think s/\+$//; would be better. IIRC Win9x does not support piping STDERR to a file (NT does -> posix support) so the line $command = "$codeconv $sp -E0 $xmlflags $catalog $decl"; should become $command = "$codeconv $sp -f$temp -E0 $xmlflags $catalog $decl"; and open( CHECKER, "| $command - >$temp.esis 2>$temp" ) || die "couldn't open checker: $!"; becomes open( CHECKER, "| $command - >$temp.esis" ) || die "couldn't open checker: $!"; This will offer more compatibility th the main script. So and now i've got one more problem. Before and after changing the script, Win98 won't validate my HTML Files like it should. I changed all the paths and so on (btw: on NT it is working) but it always tells me, that the document is valid html, even if it isn't. NSGMLS is not the problem. It writes the output to the $temp errorfile. open( ERRORS, "< $temp" ) || die "couldn't open checker results: $!"; @errors = <ERRORS>; close( ERRORS ) || die "couldn't close checker results: $!"; isn't the problem too, cause a "print @errors" shows the errors too. I don't know where to search the bug (?). Would be nice, if i get some help, because i'm writing on a HOWTO on installing the Validator on win32 machines. regards, Bjoern, Germany -- # Mein Platz im Netz : http://home.pages.de/~bjoernsworld/ # HTML Writers Guild : http://www.hwg.org # Elektronische Post : mailto:hoermi@arcormail.de
Received on Tuesday, 11 May 1999 15:52:06 UTC