Wrong error: html code within javascript's write method

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 UTC