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

Re: Script valid html, but not xhtml

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 15 Apr 2001 05:21:07 +0200
To: Kynn Bartlett <kynn@idyllmtn.com>
Cc: "Osmo Saarikumpu" <sendosmo@hotmail.com>, www-validator@w3.org
Message-ID: <ql4idtggnpvgnfe5r6mpb41nsmp67d9iet@4ax.com>
* Kynn Bartlett wrote:
>>But as soon as I attempt to validate it as XHTML 1 the response is: 
>>"element table not allowed here", and the same goes for the rest of the 
>>elements.
>>Is it a bug, or is it me (again)?
>
>Guess:  Make it a CDATA block or a <!-- comment -->?

Comments won't work, XML parsers may throw the comment away and the
rendering engine nevers sees the script. Better get rid of inline
scripts...
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Saturday, 14 April 2001 23:19:59 GMT

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