Skip to content


builder namespaces are broken #384

flavorjones opened this Issue · 3 comments

3 participants

Sparkle Motion member

this code: { |xml| xml['foo'].bar }

results in this error:

/home/miked/.rvm/gems/ruby-1.8.7-p302/gems/nokogiri-1.4.4/lib/nokogiri/xml/builder.rb:315:in `[]': undefined method `namespace_definitions' for #<Nokogiri::XML::Document:0x3f9e4ccf7fe0 name="document"> (NoMethodError)

when it should result in a tag like:

<foo:bar />

Still happens in 1.5.0. Is there a work-around?

Sparkle Motion member

Not yet.


This is fixed in 1.5.8

@flavorjones flavorjones closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.