W3C home > Mailing lists > Public > www-validator@w3.org > July 2005

[VE][73] Error Message Feedback

From: K. Pudas <chrispudas@wp.pl>
Date: Sun, 24 Jul 2005 13:57:23 +0000
To: www-validator@w3.org
Message-Id: <200507241357.23473.chrispudas@wp.pl>

Hi, I have encountered an ?error? with the Markup-Validator.
I generate options for <select> </select> with javascript, so HTML source file
is composed only with:

<form name="some_form">
	<select name="some_name" size='6" onChange="script_to_execute();"></select>
<script type="text/javascript">
	opts = new Array();
	opts[0]=new Option('lalala','1');
	opts[1]=new Option('bum bum bum','2');


and The-Markup-Validator gives me error messages that my <select> is not finished:
Below are the results of attempting to parse this document with an SGML parser. 
Line 1521, column 92: end tag for "SELECT" which is not finished
... onChange="dopasuj_box_2();"></select></td>
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p> 
Another possibility is that you used an element (e.g. 'ul') which requires a child element (e.g. 'li') that you did not include. Hence the parent element is "not finished", not complete. 
Line 1525, column 122: end tag for "SELECT" which is not finished
Line 1529, column 102: end tag for "SELECT" which is not finished

is it a problem with the validator, or just I can't change options dinamicaly.
Received on Sunday, 24 July 2005 17:08:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:52 UTC