W3C home > Mailing lists > Public > www-validator@w3.org > September 2006

Re: [VE][404] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Thu, 14 Sep 2006 10:54:46 +0100
To: Dominik Leiner <oFb@msd-media.de>
Cc: Matias <yuyera@gmail.com>, www-validator@w3.org
Message-ID: <20060914095445.GB30924@us-lot.org>

On Wed, Sep 13, 2006 at 08:13:00PM +0200, Dominik Leiner wrote:
> Outcomment the script-code to avoid this error. Example:
> 
> <script type="text/javascript">
> <!--
> alert("Hallo Welt!");
> //-->
> </script>

Don't do that, it breaks the script (it might not /look/ like it does,
but only if you only test your XHTML as text/html - which makes it
rather pointless to be using XHTML in the first place).

See http://www.w3.org/TR/xhtml1/#h-4.8 and
http://www.w3.org/TR/xhtml1/#C_4 and
http://www.hixie.ch/advocacy/xhtml

-- 
David Dorward                                      http://dorward.me.uk
Received on Thursday, 14 September 2006 09:54:53 GMT

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