W3C home > Mailing lists > Public > www-validator@w3.org > May 2006

Re: validator bug?

From: David Dorward <david@dorward.me.uk>
Date: Thu, 18 May 2006 23:40:33 +0100
To: Randy Nichols Yahoo <randynichols@yahoo.com>
Cc: www-validator@w3.org
Message-ID: <20060518224033.GB15278@us-lot.org>

On Thu, May 18, 2006 at 11:15:22AM -0700, Randy Nichols Yahoo wrote:
> Since my JavaScript is the value of the onClick
> attribute, should it not be OK to contain character
> references?

Yes, it can - but &ftype; is not a known character reference in HTML.

You mean a literal &ftype so you have to represent the ampersand with
a character reference.


(I read the mailing list, please direct responses there and do not CC
me, thanks)

-- 
David Dorward                                      http://dorward.me.uk
Received on Thursday, 18 May 2006 22:40:44 GMT

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