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

Problems with TIDY vers 27th September 1999

From: Egner, Daniel <D.Egner@de1.vdogrp.de>
Date: Thu, 28 Oct 1999 13:41:31 +0200
Message-ID: <BB0DBD8912A6D21197130090270F63170167496E@Y66046>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>

I have a problem with new version of TIDY (

Please have a look at the following HTML code snippet. When checking it
online with W3C HTML Valitator, everything seems to be fine. Checking it
with an older version of TIDY was error free, too. Now I get problems (as
shown below)

-- 8< -----------------------------

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<meta http-equiv="CONTENT-TYPE" content="text/html; CHARSET=iso-8859-1">

<form action="mailto:dummy@dummy.com" method="POST">
<table align="center" border="0" cellspacing="0" cellpadding="2"
bgcolor="#008000" summary="">
<div align="center"><b>Foo</b></div>

<table align="center" border="0" cellspacing="0" cellpadding="5"
bgcolor="#EFEFEF" summary="">

<td width="161">Name<br>
<input type="text" name="realname" size="20"></td>
<td colspan="2" width="178">E-Mail<br>
<input type="text" name="email" size="20"></td>

<td width="161">Input 3<br>
<input type="text" name="input3" size="20"></td>
<td width="77">Input 4<br>
<input type="text" name="input4" size="3">cm3</td>
<td width="89">Input 5<br>
<input type="text" name="input5" size="10"></td>

<td width="161">Input 6<br>
<input type="text" name="input6" size="20"></td>
<td colspan="2" width="178">Input 7<br>
<input type="text" name="input7" size="3"></td>

<td width="161">Phone<br>
<input type="text" name="phone" size="20"></td>
<td colspan="2" width="178">Fax<br>
<input type="text" name="fax" size="20"></td>

<td colspan="3" align="center" width="351">
<p><input type="checkbox" name="checker" value="yes" checked>Checkbox</p>

<p>I found your website on<br>
<select name="found">
<option value="x">please choose option -&gt;</option>
<option value="another acme website">another acme website</option>
<option value="acme-webring">acme-webring</option>
<option value="search engine">search engine</option>
<option value="a friend">a friend</option>

<p><input type="submit" value="OK">&nbsp;&nbsp;<input type="reset"

-- 8< -----------------------------

I am using TIDY with the following config file

markup: yes
wrap: 256
wrap-script-literals: no
wrap-asp: yes
break-before-br: no
indent: no
indent-spaces: 2
indent-attributes: no
uppercase-tags: no
uppercase-attributes: no
hide-endtags: no
enclose-text: no
quote-marks: no
quote-nbsp: yes
quote-ampersand: yes
fix-backslash: yes
clean: no
drop-font-tags: no
logical-emphasis: no
input-xml: no
assume-xml-procins: no
output-xml: no
output-xhtml: no
numeric-entities: no
add-xml-pi: yes
show-warnings: yes
doctype: auto
char-encoding: ascii

Now I suddenly get the error message:

Tidy (vers 27th September 1999) Parsing "C:\TEMP\HTME0.tmp"
line 16 column 1 - Warning: missing <td>
line 54 column 19 - Warning: discarding unexpected plain text
line 54 column 45 - Warning: discarding unexpected </option>
line 55 column 38 - Warning: discarding unexpected plain text
line 55 column 58 - Warning: discarding unexpected </option>
line 56 column 30 - Warning: discarding unexpected plain text
line 56 column 42 - Warning: discarding unexpected </option>
line 57 column 31 - Warning: discarding unexpected plain text
line 57 column 44 - Warning: discarding unexpected </option>
line 58 column 26 - Warning: discarding unexpected plain text
line 58 column 34 - Warning: discarding unexpected </option>

"C:\TEMP\HTME0.tmp" appears to be HTML 4.0 Transitional
11 warnings/errors were found!

TIDY wants to delete the text strings, that have to be shown in the
selection box.

<p>I found your website on<br>
<select name="found">
<option value="x"></option>
<option value="another acme website"></option>
<option value="acme-webring"></option>
<option value="search engine"></option>
<option value="a friend"></option>

What is wrong? I have tried with several variations of HTML code, for
example without closing </option>, but I always get the same error/warning.

Please help!

Kind regards

Daniel R. Egner

Internet:  http://www.egner-online.de
E-Mail:        daniel@egner-online.de

Though this e-mail comes from my
workplace account, you should better
answer to daniel@egner-online.de
Received on Thursday, 28 October 1999 07:43:18 UTC

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