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

Re: Script valid html, but not xhtml

From: Osmo Saarikumpu <sendosmo@hotmail.com>
Date: Fri, 06 Apr 2001 16:41:42
To: www-validator@w3.org
Message-ID: <LAW2-F91f6Ci6nx8dyD000016fa@hotmail.com>
>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 GMT

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