Re: Script valid html, but not xhtml

From: Bjoern Hoehrmann (derhoermi@gmx.net)
Date: Sat, Apr 14 2001

  • Next message: Clemens Radl: "errors.html"

    From: Bjoern Hoehrmann <derhoermi@gmx.net>
    To: Kynn Bartlett <kynn@idyllmtn.com>
    Cc: "Osmo Saarikumpu" <sendosmo@hotmail.com>, www-validator@w3.org
    Date: Sun, 15 Apr 2001 05:21:07 +0200
    Message-ID: <ql4idtggnpvgnfe5r6mpb41nsmp67d9iet@4ax.com>
    Subject: 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/