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

validator bug?

From: Randy Nichols <randynichols@yahoo.com>
Date: Tue, 16 May 2006 18:16:58 -0700 (PDT)
Message-ID: <20060517011658.21114.qmail@web33406.mail.mud.yahoo.com>
To: www-validator@w3.org
Greetings:

The attached HTML file failed the validator because
there was an "&" embedded in a single-quoted string
inside a double-quoted string of JavaScript that was
the value of an "onClick" attribute of a button.

-------------------------------------------------
Warning Line 1666 column 113: cannot generate system
identifier for general entity "ftype".
....('definemastercode_new.jsp?type=Form&ftype=1',
'New', 550, 450);" value="Ne..
---------------------------------------------------

It seems to me that no escaping should be necessary
inside such quoted strings from the HTML validator's
standpoint.

Thanks,

Randy Nichols

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Received on Thursday, 18 May 2006 05:30:52 GMT

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