- From: Egner, Daniel <D.Egner@de1.vdogrp.de>
- Date: Thu, 28 Oct 1999 13:41:31 +0200
- To: "'html-tidy@w3.org'" <html-tidy@w3.org>
Hi! 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"> <html> <head> <title>Tidy-Demo</title> <meta http-equiv="CONTENT-TYPE" content="text/html; CHARSET=iso-8859-1"> </head> <form action="mailto:dummy@dummy.com" method="POST"> <table align="center" border="0" cellspacing="0" cellpadding="2" bgcolor="#008000" summary=""> <tr> <td> <div align="center"><b>Foo</b></div> <table align="center" border="0" cellspacing="0" cellpadding="5" bgcolor="#EFEFEF" summary=""> <tr> </tr> <tr> <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> </tr> <tr> <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> </tr> <tr> <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> </tr> <tr> <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> </tr> <tr> <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 -></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> </select></p> <p><input type="submit" value="OK"> <input type="reset" value="Reset"></p> </td> </tr> </table> </td> </tr> </table> </form> </body> </html> -- 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> </select></p> 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