ext/nokogiri/xml_document_fragment.c in nokogiri-maglev--1.5.3 vs ext/nokogiri/xml_document_fragment.c in nokogiri-maglev--1.5.4.20120815005250
- old
+ new
@@ -18,10 +18,10 @@
Data_Get_Struct(document, xmlDoc, xml_doc);
node = xmlNewDocFragment(xml_doc->doc);
- NOKOGIRI_ROOT_NODE(node);
+ nokogiri_root_node(node);
rb_node = Nokogiri_wrap_xml_node(klass, node);
rb_obj_call_init(rb_node, argc, argv);
if(rb_block_given_p()) rb_yield(rb_node);