Re: Script valid html, but not xhtml

>From: Kynn Bartlett <kynn@idyllmtn.com>
>At 09:18 AM 4/6/2001, Osmo Saarikumpu 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 -->?

Oh yes, it's me again as: "In XHTML, the script and style elements are 
declared as having #PCDATA content. As a result, < and & will be treated as 
the start of markup..."

Sorry folks...
/os
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Received on Friday, 6 April 2001 12:42:13 UTC