Hi, I'm a bit afraid about this recet commit: http://github.com/tenderlove/nokogiri/commit/45c6d1d4902e100fecc3741985870aa4edda9a25 "xpath methods can return things other than nodesets"
In my case I use Nokogiri in a server application which receives Xpath strings from remote clients and performs such Xpath operation within a XML document stored in the server. However I do a strict pre-parsing of the Xpath string so it must have the form of a "typical" Xpath ("ns1:root/ns2:child/ns2:someno...@name='lala']"). The server application expects to get a NodeSet after performing the Xpath operation and evaluates it (empty, number of entries....) by alwasying inspecting the NodeSet#size method. Should I care about this new commit? Could occur that Xpath returns something but a NodeSet in my case? Thanks. -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying