-
-
Notifications
You must be signed in to change notification settings - Fork 905
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
remove_namespace! doesn't work in pure java version #492
Comments
Fixed in rev. e761784 In Java, namespace declaration is an attribute node. So, when attribute's name is "xmlns," that node should be removed in this case. Thanks for reporting and giving a good sample. |
could you please generate a new java's gem version, as the lastest one (1.5.0) doesn't include this essential fix? |
+1 ! thanks! |
There are currently still other open issues blocking a 1.5.1 release, particularly for JRuby. We're trying to get things cleaned up as quickly as we can. Thanks for your patience. |
Though it will indeed be sweet to have the remove_namespaces! method working in the 1.5.1 release, you can easily get around this problem by not using the remove_namespaces! method in 10 minutes I was able to circumvent my problem, my code essentially went from:
TO
|
The following code gives an error in pure java version but works fine in MRI.
This is jruby 1.6.3 and nokogiri 1.5.0 java.
The text was updated successfully, but these errors were encountered: