form parsing problem.

Hi!

I have a problem with tidy's parsing:

Here's the URL for the page with problem:
https://www.fedex.com/fcl/?appName=fclfsm&locale=us_en&step3URL=https%3A%2F%
2Fwww.fedex.com%2Fcgi-bin%2Fship_it%2FinterNetShip%3Flink%3D1%26origincountr
y%3Dus%26locallang%3Dus%26urlparams%3Dus%26sType%3D%26action%3Dfsmregister&r
eturnurl=https%3A%2F%2Fwww%20fedex.com%2Fcgi-bin%2Fship_it%2FinterNetShip%3F
link%3D1%26origincountry%3Dus%26locallang%3Dus%26urlparams%3Dus%26sType%3D&p
rogramIndicator=0

and the piece of the code is (first form on that page):

<table border="0" cellpadding="0" cellspacing="0" ID="Table3">
<tr><td colspan="4"><img src="/images/ascend/shared/spacer.gif" width="1"
height="11" border="0" alt=""></td>
</tr><tr>

<form name="searchform"
action="http://www.fedex.com/cgi-bin/search_redirect" method="post"
ID="Form1">

<td colspan="5"><img src="/images/ascend/shared/spacer.gif" width="5"
height="10" border="0" alt=""></td>
<td valign="middle" align="right" colspan="3">
<div align="right">
<table border="0" cellpadding="0" cellspacing="0" ID="Table4">
<tr>
<td style="width: 120px; vertical-align: middle; text-align: right"><input
type="hidden" id="Collection" name="Collection" value="us"><input
type="hidden" id="ResultTemplate" name="ResultTemplate"
value="us.hts"><input type="hidden" id="filter" name="filter"
value="metatagfilter.hts"><input type="hidden" id="Action" name="Action"
value="FilterSearch"><input type="text" class="nnform" id="QueryText"
name="QueryText" style="width: 120px; font-size: 11px;" size="13"
value="Search" onfocus="if (this.value=='Search') this.value='';" alt="Enter
Search Text"></td>
<td style="width: 5px;"><img src="/images/ascend/shared/spacer.gif"
width="5" height="1" border="0" alt=""></td>
<td class="ascend" style="width: 20px; vertical-align: middle;"><input
type="image" id="Search" name="Search fedex.com"
src="/images/ascend/shared/button-search.gif" border="0" alt="Search
fedex.com"></td>
</tr>
</table>
</div>
</td>

</form>

</tr></table>


And when I try to search for a input inside that form node, none was found.
What is the problem here? I noticed that there some errors during parsing,
but I would like to have also those inputs in my form. Here's the piece of
code I am using to parse:

tdoc = tidyCreate();
tidyOptSetBool( tdoc, TidyHtmlOut, yes );
tidySetErrorBuffer( tdoc, &errbuf );
tidyParseString( tdoc, __buffer__ );
tidyCleanAndRepair( tdoc );
tidyRunDiagnostics( tdoc );
tidyOptSetBool(tdoc, TidyForceOutput, yes);
tidyOptSetInt(tdoc, TidyWrapLen, 0xFFFFFFFF);


I tried to use it without tidyCleanAndRepair and tidyRunDiagnostics but
there's the same problem. 

Any help? Did I missed something?

Thanks,
Dragos.

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 8/31/2005
 

Received on Monday, 5 September 2005 20:13:57 UTC