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

Re: Wrong error: html code within javascript's write method

From: Liam Quinn <liam@htmlhelp.com>
Date: Fri, 01 Oct 1999 17:57:09 -0400
Message-ID: <37F52E35.D0AB1287@htmlhelp.com>
To: Arnost Lobel <alobel@deneba.com>
CC: www-validator@w3.org
> Arnost Lobel wrote:
> 
> 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.

The validator is right.  See
<http://www.htmlhelp.com/tools/validator/problems.html#script>.

-- 
Liam Quinn
A Real Validator for Windows, http://arealvalidator.com
Web Design Group, http://www.htmlhelp.com
Received on Friday, 1 October 1999 17:55:55 GMT

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