W3C home > Mailing lists > Public > www-validator@w3.org > October 1999

Re: Parsing of JavaScript

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 22 Oct 1999 23:19:19 +0200
Message-ID: <008d01bf1cd3$e4f175d0$a487fcc3@de>
To: "Bless Terje" <link@rito.no>
Cc: <u.wisser@luna-park.de>, <www-validator@w3.org>
* 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 GMT

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