W3C home > Mailing lists > Public > www-validator@w3.org > April 2007

Re: Comments on 0.8.0 beta

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Sat, 28 Apr 2007 09:30:14 +0300
To: www-validator@w3.org
Message-Id: <200704280930.14677.ville.skytta@iki.fi>

On Saturday 28 April 2007, Shane McCarron wrote:
> This is pretty minor - might not even make a difference when executing,
> but in the check script (I am looking at version 1.503 from CVS) there
> are two places where it says "eq TRUE" instead of "== TRUE".  I think
> you always want a numeric comparison in those cases.  There is also one
> place where it says "eq FALSE" and should likely be "== FALSE".

Incidentally, this got fixed in my yesterday's code/warning cleanup patches in 
CVS a couple of hours before your post.  BTW, those are booleans, and it's 
better in many ways to test their truth value instead of whether they match 
some constant, eg. "if ($boolean)" rather than "if ($boolean == TRUE)".
Received on Saturday, 28 April 2007 06:30:31 GMT

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