Re: Script valid html, but not xhtml

From: Osmo Saarikumpu (sendosmo@hotmail.com)
Date: Fri, Apr 06 2001

  • Next message: Ian Jacobs: "XHTML strict.dtd"

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