Menu

#191 Infinite loop on <time><b><li>

v2.22
closed-fixed
None
5
2017-10-02
2017-09-25
No

An infinite loop (and eventually an OutOfMemoryError) occurs when processing this HTML:

  • I encountered this in the wild while parsing http://www.southmoney.com/touzilicai/waihui/201709/1626722.html.

    Infinite loop started occurring in the 2.14 release.

  • Discussion

    • Michael Ryan

      Michael Ryan - 2017-09-25

      Here's the HTML (once again eaten by sourceforge):
      <time><b><li>

       
    • Scott Wilson

      Scott Wilson - 2017-09-26

      Thanks Michael, I'll look into it.

       
    • Scott Wilson

      Scott Wilson - 2017-09-26
      • assigned_to: Scott Wilson
       
    • Scott Wilson

      Scott Wilson - 2017-10-02

      This seemed to be caused by some inconsistencies in the HTML5 definitions file; fixing this seems to have removed the problem.

       
    • Scott Wilson

      Scott Wilson - 2017-10-02
      • status: open --> closed-fixed
       

    Log in to post a comment.