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

Re: [VE][81] Error Message Feedback

From: Liam Quinn <liam@htmlhelp.com>
Date: Mon, 11 Oct 2004 19:18:36 -0400 (EDT)
To: Kevin May <kevin.may@virgin.net>
cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0410111914320.6287-100000@localhost.localdomain>

On Mon, 11 Oct 2004, Kevin May wrote:

> I get the following 
> Line 18, column 23: character ";" not allowed in attribute specification
> list
> for (i=0;i<rowlen;i++) {
> 
> Line 18, column 23: element "rowlen" undefined
> for (i=0;i<rowlen;i++) {
> You have used the element named above in your document, but the document
> type you are using does not define an element of that name. This error is
> often caused by incorrect use of the "Strict" document type with a document
> that uses frames (e.g. you must use the "Frameset" document type to get the
> "<frameset>" element), or by using vendor proprietary extensions such as
> "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the
> desired effect instead). 
> 
> Line 36, column 8: end tag for "rowlen" omitted, but OMITTAG NO was
> specified
> </script>
> 
> 
> when using a javascript for loop within my strict XHTML 1.0 code.
> 
> How can I avoid this validation error?

Use HTML instead of XHTML, or put the script in an external file (using 
the "src" attribute for "script"), or use rowlen>i instead of i<rowlen.  
Also see 

http://www.w3.org/TR/xhtml1/#h-4.8
http://www.w3.org/TR/xhtml1/#C_4

-- 
Liam Quinn
Received on Monday, 11 October 2004 23:17:42 GMT

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