Menu

#230 Parse failed!

v2.0
closed-duplicate
nobody
5
2007-11-16
2006-10-24
virtu
No

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.

Discussion

  • virtu

    virtu - 2006-10-24

    Bug example!

     
  • virtu

    virtu - 2006-10-24

    Logged In: YES
    user_id=1628663

    The attachment is a bug example!

     
  • Derrick Oswald

    Derrick Oswald - 2007-08-18

    Logged In: YES
    user_id=605407
    Originator: NO

    I think this is the same issue as RFE #923146 handle out of order closing tags.

     
  • Derrick Oswald

    Derrick Oswald - 2007-08-18
    • milestone: --> v2.0
    • status: open --> pending-duplicate
     
  • SourceForge Robot

    • status: pending-duplicate --> closed-duplicate
     
  • SourceForge Robot

    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).

     

Log in to post a comment.

MongoDB Logo MongoDB