lib/rdf/rdfxml/reader/nokogiri.rb in rdf-rdfxml-3.2.0 vs lib/rdf/rdfxml/reader/nokogiri.rb in rdf-rdfxml-3.2.1

- old
+ new

@@ -23,10 +23,10 @@ @parent = parent end # Create a new element child of an existing node def create_node(name, children) - native = ::Nokogiri::XML::Element.new(name, @node) + native = ::Nokogiri::XML::Element.new(name, @node.document) children.each do |c| native.add_child(c.node) end NodeProxy.new(native, self) end