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

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

From: David Dorward <david@dorward.me.uk>
Date: Fri, 8 Feb 2008 17:03:17 +0000
Message-Id: <5D76465F-8180-4B89-9CAF-EA357287F6F9@dorward.me.uk>
Cc: "'www-validator@w3.org'" <www-validator@w3.org>
To: Carlos Manuel da Silva Andre Viana <c-a-viana@telecom.pt>

On 8 Feb 2008, at 16:04, Carlos Manuel da Silva Andre Viana wrote:
> 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!=''" />

Yes, that is correct. The fix linked to from the description of the  
error should be applied to your document.


-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Received on Friday, 8 February 2008 17:03:52 GMT

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