W3C home > Mailing lists > Public > www-validator@w3.org > February 2008

([VE][404] and [VE][xmlwf]) && operator assumed as bad ampersand

From: Carlos Manuel da Silva Andre Viana <c-a-viana@telecom.pt>
Date: Fri, 8 Feb 2008 16:04:24 +0000
To: "'www-validator@w3.org'" <www-validator@w3.org>
Message-ID: <20A0C930F4FC1743A30DAC2CC1F8A6260D95705749@COMPICEX05.ptcom.corppt.com>

Error [404]: "character X is the first character of a delimiter but occurred as data"


In the following tag, both && operators in the onclick event are being treated as bad ampersands, generating both errors in the subject:

<input type="submit" name="confirm" value="Entrar" onclick="return this.form.entered_user.value!='' && this.form.entered_password.value!=''" />


--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.19.18/696 - Release Date: 31-01-2008 0:00
Received on Friday, 8 February 2008 16:26:37 GMT

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