We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
input = <<-XML <foo xmlns="http://example.org"> <bar><a href="/foo">baz</a></bar> </foo> XML require 'nokogiri' doc = ::Nokogiri::XML.fragment(input) p doc.xpath("descendant-or-self::ex:a/@href", { 'ex' => 'http://example.org' })
This is the output on MRI:
% ruby test.rb [#<Nokogiri::XML::Attr:0x3ff349052644 name="href" value="/foo">] %
This is the output on JRuby:
% ruby test.rb [] %
The text was updated successfully, but these errors were encountered:
Hi, This bug has been fixed on master, Next version won't have this bug. If the problem is still there, feel free to reopen.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
Expected output
This is the output on MRI:
Actual output
This is the output on JRuby:
The text was updated successfully, but these errors were encountered: