Libxml Node#find gives 'wrong argument type nil (expected Da


p xpath #=> “//*[@id=‘table_name’]”
p node #=>

matches = node.find( xpath )
xparse.rb:47:in `find’: wrong argument type nil (expected Data)

It occurs in a loop on a copied node to be exact. Any ideas?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs