Skip to content
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

Bugfix in Jruby that cause xpath with 'xmlns:' to return empty results #681

Closed
wants to merge 2 commits into from

Conversation

esse
Copy link
Contributor

@esse esse commented May 22, 2012

Hi,

this commit will fix different behaviour in MRI and JRuby when dealing with namespaces.

In current Nokogiri version xpath starting with 'xmlns:' on JRuby will result in empty node and on MRI it will provide normal results.

This commit fix this.

Piotr Szmielew added 2 commits May 22, 2012 01:57
yokolet added a commit that referenced this pull request Jun 14, 2012
@yokolet
Copy link
Member

yokolet commented Jun 14, 2012

Hello,

Thanks for the patch. I've edited test/xml/test_xpath.rb before merging this pull request, so I couldn't make it automatically. Sorry.

I manually merged the fix and test in rev. 11eb502 . This fix will be in since 1.5.5.rc2 and later version.

@yokolet yokolet closed this Jun 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants