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

XSLT transformation not correct in JRuby (because of XPath?) #953

Closed
gioele opened this issue Aug 7, 2013 · 1 comment
Closed

XSLT transformation not correct in JRuby (because of XPath?) #953

gioele opened this issue Aug 7, 2013 · 1 comment

Comments

@gioele
Copy link

gioele commented Aug 7, 2013

In the gem xml-focus (https://github.com/gioele/xml-focus), Nokogiri::XSLT is used to transform an XML document using a dynamically created XSLT. Everything is fine when MRI Nokogiri is used. Under JRuby, the transformation returns an incorrect result caused by the fact that some XPath selects element that should not be selected.

An example file and a failing transformation can be seen running rspec inside the xml-focus source tree.

@flavorjones
Copy link
Member

I'm sorry I haven't responded to this issue for such an embarrassingly long time.

Unfortunately, I couldn't get the xml-focus spec suite to run (I'm seeing some errors related to, likely, now-out-of-date RSpec API usage). If you can help me understand and reproduce what you're seeing, I might be able to help. Feel free to comment on this issue or open a new one.

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

No branches or pull requests

2 participants