-
-
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
Namespaced attributes cause jruby failure. #869
Comments
Ah, once again this is an issue where neither Java nor C is Doing It Right™, despite MRI's appearance of success. The issue is that the
Java, on the other hand, tries to look up the I think it can be fixed by appending the newly-created element to the parent before trying to set the attribute nodes. I'll give it a shot and see if it breaks anything else. |
This also breaks a bunch of the Blather test suite: https://travis-ci.org/adhearsion/blather/jobs/5669753 |
Pull request #870 has been merged. |
Test case, using nokogiri 1.5.7
In java:
In MRI we get the expected behavior (except for the duplicate xmlns, addressed in another ticket):
The text was updated successfully, but these errors were encountered: