W3C home > Mailing lists > Public > www-validator@w3.org > October 1999

Wrong error: html code within javascript's write method

From: Arnost Lobel <alobel@deneba.com>
Date: Fri, 1 Oct 1999 17:20:59 -0400 (EDT)
Message-ID: <911C34FD83B8D1119788004033A02EAEAD3DB3@MAILSRVR>
To: www-validator@w3.org
Hi,

when I let to validate my html file I got some errors which are probably
wrong.

Example:

	I have a javasript in the header of my html file
	and there is this code:

	layer.write( '<SPAN CLASS="CvPageNr">' + iCurrPage.toString() +
'</SPAN>' );

	(where iCurrPage is an integer variable)
	
	I got this error:

	"...end tag for element "SPAN" which is not open..."


I do not think the validator is right.


Arnost Lobel
mailto:alobel@deneba.com
Received on Friday, 1 October 1999 17:30:55 GMT

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