Unexpected tag error from Tidy

"Jie Wu" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
Hi, All,

Following is part of the HTML code from Google.
========================================================================
<html>
	<body bgcolor=#ffffff onload="document.gs.reset();" topmargin=3
marginheight=3>
		<table border=0 cellpadding=0 cellspacing=0 width=100%>
		<tr>
			<form name="gs" method="GET" action="search">
				<td>d</td>
			</form>
		</tr>
		</table>

    <br>
    <br>
    Your search - <b>ahfljaldfa</b> - did not match any documents.  
    <br>
    <br>
    Suggestions:
    <ul>
	    <li>Make sure all words are spelled correctly.
	    <li>Try different keywords.
	    <li>Try more general keywords.
    </ul>
    <br clear=all>
  </body>
</html>
======================================================================

If I use Tidy to convert this HTML to XML, it always says "Error: discarding
unexpected </form>". However, when I remove the line <td>d</td> away, now it
could work fine. Is it a bug or something else?

Can somebody help?

Jie
================================= 
Jie Wu 
Address: 
Room 410, Fedex Institute of Technology, 
Department of Computer Science 
University of Memphis 
38152, TN, The United States 
Homepage: 
http://madresearchlab.org/people/jwu 
=================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.