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

Error Behaviour in parsing and correcting HTML's

From: SaravanaKumar <saravanakumarp@lucid.co.in>
Date: Tue, 4 Dec 2001 10:01:55 +0530
To: <html-tidy@w3.org>
Message-ID: <NFBBKKJMMHNJKBMOFNHFEEILCJAA.saravanakumarp@lucid.co.in>
Hi,
  Consider Parsing the below HTML.

<html>
<head>
<title>My Page</title>
</head>
<body>
<table summary="">
<form action="something">
<tr><td><input type="" name="3" value=""></td></tr>
</form>
</table>
</body>
</html>


The parsing result of the above is 
Note that the form is moved outside the table 
while the input tags are still inside the table 
but outside the form.

<html>
<head>
<title>My Page</title>
</head>
<body>
<form action="something"></form>
<table summary="">
<tr>
<td><input type="" name="3" value=""></td>
</tr>
</table>
</body>
</html>


Is there any option to handle such a case.
I used HTMLKit to generate this.But all other tools with tidy 
are giving the same result.

Thanks,
SaravanaKumar.
Received on Monday, 3 December 2001 23:28:50 GMT

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