W3C home > Mailing lists > Public > www-validator@w3.org > January 2007

HTML and CSS validators don't like '<' within Javascript code?

From: Jeffrey Friedl <jfriedl@regex.info>
Date: Tue, 23 Jan 2007 04:05:31 -0800 (PST)
To: www-validator@w3.org
Message-Id: <20070123120531.2BFCA1933C@pakupaku.regex.info>

I really appreciate being able to use the validators you kindly supply. Thank you.

The HTML and CSS validators don't seem to properly ignore <script>
sections, because when I test a page with Javascript containing a less-than
symbole, e.g.

        if (num < 3)

it complains that the '<' is for starting a tag.

An example page that generates the error is:


Jeffrey Friedl           Kyoto, Japan              http://regex.info/blog/
Received on Tuesday, 23 January 2007 18:42:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:50 UTC