-
-
Notifications
You must be signed in to change notification settings - Fork 903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in JRuby Nokogiri add_previous_sibling (1.5.0 -> 1.5.1) #691
Comments
I discovered this regression while running into issues with the Sanitize gem: rgrove/sanitize#54 |
Looking at the commit log for XmlNode.java, this commit stands out at referencing the functionality and matching the timeframe: https://github.com/tenderlove/nokogiri/commit/47db28485948ec64f65e0ad05d17935587704250#ext/java/nokogiri/XmlNode.java |
@aselder thank you for finding the suspicious commit. I'll soon work on this. |
@yokolet I believe I fixed the issue, but I'm seeing two test failing randomly (they fail very frequently) in TestPushPasser, I don't think they're related, but I'm not sure.
and
|
I realized that the final version was very close to what was on master with minor changes, so I reverted my changes and started from scratch, I think the new commit has a much cleaner diff that the previous one. |
@jvshahid your fix looks ok. Would you send me pull request? I can merge your change, but pull request is cleaner to merge your change and your contribution explicitly. |
I saw you merged the pull request. thanks. |
Thanks! |
in 1.5.5.rc1 |
Thanks! |
Given the following script
In JRuby Nokogiri 1.5.0 you get the following output:
In Jruby Nokogiri 1.5.1 (and higher, including 1.5.3), you get the following output:
In C Nokogiri 1.5.3, you get the following output:
The text was updated successfully, but these errors were encountered: