Parse failed!
Brought to you by:
derrickoswald
When parse html code like:
<form>
<TD><DIV align=right><img src="search.gif">
<INPUT src="go.gif">
</DIV></TD>
<TD><img src="spacer.gif"></TD>
</form>
the 3th line ('<INPUT src="go.gif">') cannot be parsed,
Tag.getChildren() method cannot find the TAG of 3th
line(INPUT tag cannot be found).
When I move <img src="search.gif"> to next line, like:
<form>
<TD><DIV align=right>
<img src="search.gif">
<INPUT src="go.gif">
</DIV></TD>
<TD><img src="spacer.gif"></TD>
</form>
Tag.getChildren() worked fine.
It can found the TAG of 3th line.
I think it may be a bug in scanner.
Bug example!
Logged In: YES
user_id=1628663
The attachment is a bug example!
Logged In: YES
user_id=605407
Originator: NO
I think this is the same issue as RFE #923146 handle out of order closing tags.
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 90 days (the time period specified by
the administrator of this Tracker).