-
-
Notifications
You must be signed in to change notification settings - Fork 901
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
Add a namespaced attribute #252
Comments
Here is a reproducible test case (though you should have submitted one yourself if this is of such high importance to you):
|
Sorry about this... yes, you're right, I should have submitted this myself :( |
OK, it looks like libxml2 treats namespaces on properties differently enough than namespaces on elements that this is going to be an involved change. Most likely this will not be in 1.4.2. Targetting for 1.5.0. |
Ok, thanks for the quick note on this. I'll write a note soon on what we think is good for the namespace manegement in Nokogiri. I'll email to you/Aaron! Again, thanks. |
Attr#add_namespace now works as expected. Closed by 34a1424. |
Attributes can be of a different namespace than the node they belong too. I wasn't able to find a method to add namespaced attributes, and adding an namespace to an existing attribute
raises an error :
::Attr:0x80b79e4c name="width" value="75">
./parser.rb:65: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0]
The text was updated successfully, but these errors were encountered: