Re: Script valid html, but not xhtml

* 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 UTC