W3C home > Mailing lists > Public > www-validator@w3.org > August 2009

Text not allowed in element script in this context.

From: Scott Busche <swbusche@gmail.com>
Date: Tue, 11 Aug 2009 09:10:21 -0500
Message-ID: <8286be750908110710y3c1f717sff4383eac7aa59d1@mail.gmail.com>
To: www-validator@w3.org
Error  Line 35, Column 50: Text not allowed in element script in this context.

	<script src='menu.js'>//Loads the Expandable Menu</script>

>From the documentation.

<script src="cool-effects.js">
 // create new instances using:
 //    var e = new Effect();
 // start the effect using .play, stop using .stop:
 //    e.play();
 //    e.stop();
</script>


For all reasons and purposes, this should validate, but does not.

It also errors out on /*Loads the Menu */

Thanks,
Scott
Received on Tuesday, 11 August 2009 21:08:23 GMT

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