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

Re: no-show in IE5.1

From: Timothy J. Luoma <luomat@peak.org>
Date: Thu, 25 Apr 2002 22:05:39 -0400 (Eastern Daylight Time)
To: Thanasis Kinias <tkinias@optimalco.com>
cc: css-discuss@westciv.com, <jam.macdonald@sympatico.ca>, <www-validator@w3.org>
Message-ID: <Pine.WNT.4.44.0204252203360.3844-100000@Tim>
On Tue, 23 Apr 2002, Thanasis Kinias wrote:

> The code on the page isn't valid.  Line 12:
>
>     <script type="text/javascript" src="styleswitcher.js" /></script>
>
> The <script> element is closed twice.
>
> How does this reveal a limitation in the Validator?

When I validated the page, it showed no errors when it was just:

	<script type="text/javascript" src="styleswitcher.js" />

which isn't valid.  You can't close a <script> with a ' />' and the
validator didn't say anything about it.

That's what I thought was a limitation of the validator -- it was checking
that the tag was closed, but not legally closed?
Received on Thursday, 25 April 2002 22:06:22 GMT

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