You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
tehsven
changed the title
JRuby Nokogiri raises ConcurrentModificationException for valid HTML
JRuby Nokogiri raises ConcurrentModificationException for some HTML
Jul 30, 2016
That's crazy. Almost definitely an upstream bug in NekoHTML. I've never reported anything upstream to that project; would you be willing to reach out to them?
The LostText class from cyberneko throws a ConcurrentModificationException when parsing some HTML. See below output for environment information.
Removing any part of the HTML in the sample test case succeeds at parsing, including removing the
x
in<span>
and the comment.I expect this HTML to not raise a ConcurrentModificationException.
Sample test case:
Output:
The text was updated successfully, but these errors were encountered: