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

Re: assiging '&' quoted in javascript

From: Michael Adams <linux_mike@paradise.net.nz>
Date: Thu, 23 Apr 2009 19:05:29 +1200
To: www-validator@w3.org
Message-id: <20090423190529.4bbc0269.linux_mike@paradise.net.nz>
On Wed, 22 Apr 2009 09:23:07 +0200
Came this utterance formulated by Ohad Aloni to my mailbox:

> Hi,
> 
> shouldn't this:
>     a = '&c etc.' ;
> 
> be a legit javascript statement?
> 
> (validator output at http://theora.com/valid.html )
> 

XHTML is not equal to HTML. You have not corectly escaped your code.

http://www.w3.org/TR/2002/REC-xhtml1-20020801/#h-4.8

A further search for "javascript xhtml" and perhaps "tutorial" should
set you right. This list is not a javascript help list, sorry.

-- 
Michael

All shall be well, and all shall be well, and all manner of things shall
be well

 - Julian of Norwich 1342 - 1416
Received on Thursday, 23 April 2009 07:03:22 GMT

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