W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

RE: Question re HTML forms and TIDY

From: Dr Robert Lancashire <rjlanc@uwimona.edu.jm>
Date: Fri, 15 Oct 1999 17:18:52 -0400 (EDT)
To: html-tidy@w3.org
Message-ID: <Pine.SO4.4.05.9910151714480.6972-100000@chemsrv.uwimona.edu.jm>

I wonder if you can point me in the right direction re a problem using
the TIDY routine with FORMS. I am running HTML-Kit version 1.0 build
278 and am trying to export an XML document from an HTML page.

In the web page I have a list box that displays filenames
and selecting a file loads an animation in XYZ format.

For example

<form name="theform">
<SELECT NAME="getexamplenum" size=1
<option value="3209.xyz" selected> 3209.xyz
<option value="3205.xyz"> 3205.xyz
<option value="3203.xyz"> 3203.xyz
<option value="3182.xyz"> 3182.xyz
<option value="3149.xyz"> 3149.xyz


<option value="57.xyz"> 57.xyz

When I try to use check code with TIDY I get
discarded unexpected plain text ERROR MESSAGE

and the lines are replaced with something like

<option value="57.xyz"></option>

where every line ends up dropping the file name that would show in the
drop down list box and </option> is added as shown above

If I try to add </option> after the filename

then converts it to 


ie adds another </option>

Any clues????


Dr. Robert J. Lancashire        E-mail mailto:rjlanc@uwimona.edu.jm
Sub-Dean, Technology Management and Development
Department of Chemistry                         Tel (876) 9271910
University of the West Indies, Kingston 7       Fax (876) 9771835
Mona Campus, JAMAICA.  http://wwwchem.uwimona.edu.jm:1104/chrl.html
Received on Friday, 15 October 1999 20:12:48 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 July 2018 08:58:58 UTC