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

Fix for #843 - the xml reader bombs out when trying access attribute namespaces #1058

Closed
wants to merge 2 commits into from

Conversation

2potatocakes
Copy link
Contributor

See #843 for an example of the issue.

Was hoping for some help with this if anyone can lend a hand. Have added a test case which is now passing under C ruby but failing under jruby.

These commits fix an issue in the nokogiri reader when trying to access namespace properties on attribute nodes. Currently when trying to access them via the attribute_nodes method it halts the ruby interpreter :(

If you copy and paste the test case into master, without applying the patch you should be able to see the test suite crash mid way through.

@codekitchen codekitchen mentioned this pull request Aug 4, 2015
@codekitchen
Copy link
Contributor

We really need this fix, so I tracked down the issue with the jruby implementation and added a fix. New PR is #1327 , since I don't think I can update this one.

@flavorjones
Copy link
Member

Closing this PR, superseded by #1327.

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.

3 participants