W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

Re: Problem with INPUT tags

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 08 Apr 2003 21:24:20 +0200
To: CeBlanc@lyon-partdieu.sema.slb.com
Cc: html-tidy@w3.org
Message-ID: <3ef21f16.313548809@smtp.bjoern.hoehrmann.de>

* BLANC CÚdric - LYO wrote:
>I have a problem when I use JTidy for parsing an HTML file : Tidy tries to
>add a </INPUT> tag for each <INPUT> one, but unfortunately not at the good
>place... Here's an example :
>This :
>	<TD><INPUT name="login" type="text" size="20"></TD>
>	<TD>Coucou</TD>
>
>Becomes this after having been parsed :
>	<TD>
>		<INPUT name="login" type="text" size="20">
>			<TD>Coucou</TD>
>		</INPUT>
>	</TD>
>As you can see, Tidy does not put the INPUT closing tag immediately after
>the opening tag and incorporates the next elements in the INPUT block, which
>it shouldn't do.

I am unable to reproduce this, maybe this is caused by other errors or
your configuration options? Using the latest JTidy available I get

  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  <html>
  <head>
  <meta name="generator" content="HTML Tidy, see www.w3.org">
  <title></title>
  </head>
  <body>
  <table>
  <tr>
  <td><input name="login" type="text" size="20"></td>
  <td>Coucou</td>
  </tr>
  </table>
  </body>
  </html>
Received on Tuesday, 8 April 2003 15:24:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:54 GMT