lib/flexparser/fragment.rb in flexparser-1.0.2 vs lib/flexparser/fragment.rb in flexparser-1.0.3

- old
+ new

@@ -29,9 +29,12 @@ def xpath(path) FragmentBuilder .build(doc.xpath(path, propagating_namespaces)) end + # + # The namespaces that are propagating to the child-fragment of this. + # def propagating_namespaces return @propagated_namespaces unless doc.respond_to?(:namespaces) if doc.respond_to?(:collect_namespaces) return @propagated_namespaces.merge doc.collect_namespaces end