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

Segmentation fault when calling #add_namespace #169

Closed
hrnt opened this issue Nov 16, 2009 · 1 comment
Closed

Segmentation fault when calling #add_namespace #169

hrnt opened this issue Nov 16, 2009 · 1 comment

Comments

@hrnt
Copy link

hrnt commented Nov 16, 2009

Nokogiri 1.4.0 segfaults when calling add_namespace

irb(main):001:0> require 'rubygems';require 'nokogiri'; puts Nokogiri::VERSION; Nokogiri::XML.parse('').add_namespace('foo', 'bar')
1.4.0
(irb):1: [BUG] Segmentation fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

@tenderlove
Copy link
Member

Nokogiri::XML::Document should not define add_namespace().

Closed by e16be12

  • lib/nokogiri/xml/document.rb removed add_namespace
  • test/xml/test_document.rb

This issue was closed.
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