Re: Parsing of JavaScript

* Bless Terje <link@rito.no> wrote:
| >the Validator ignores my comment tags and tries to parse my JavaScript.
|
| See <URL:http://www.htmlhelp.com/tools/validator/problems.html#script>.

This page should be linked at <URL:http://validator.w3.org/feedback.html>

For the check script revision 1.40 I would like to suggest to:

 * add 'require 5.004;' to the script

 * move 'my $temp  = "/usr/tmp/validate.$$";' up to the other path variables

 * Put the CSS Validator URL (found at sub output_css_validator_blurb) into a
   variable to make it easier to change it

 * and maybe add some comments into the script on howto make the script run
   under non-posix systems. Therfore you have to change

   $command  = "$codeconv $sp -E0 $xmlflags $catalog $decl";
   open( CHECKER, "| $command - >$temp.esis 2>$temp" )

   into

   $command  = "$codeconv $sp -f$temp -E0 $xmlflags $catalog $decl";
   open( CHECKER, "| $command - >$temp.esis" )

   A comment in the source code would be very helpful. Several people already
   asked me how i got the validator running under Win9x.

For german readers I'm now providing a tutorial how to get the Validator
running under Win32/Linux + Apache at

  <URL:http://www.bjoernsworld.de/html/validator-offline>

(therfore CC to Ulrich Wisser, as he asked how to install it)

And last I'm interested how you Terje and you Gerald plan to use HTML Tidy for
the validator, especially the output method would be interesting. Maybe i can
offer some old source code developed some time ago.

Regards,

  Björn Höhrmann

--
http://www.bjoernsworld.de

Received on Friday, 22 October 1999 17:25:57 UTC