Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

builder namespaces are broken #384

Closed
flavorjones opened this Issue · 3 comments

3 participants

@flavorjones
Owner

this code:

Nokogiri::XML::Builder.new { |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 />
@orangethunder

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

@flavorjones
Owner

Not yet.

@ccutrer

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.