lib/savon/soap/xml.rb in savon-0.9.1 vs lib/savon/soap/xml.rb in savon-0.9.2

- old
+ new

@@ -1,7 +1,7 @@ require "builder" -require "crack/xml" +require "nori" require "gyoku" require "savon/soap" require "savon/core_ext/hash" @@ -26,10 +26,10 @@ value.find_soap_body end # Converts a given SOAP response +xml+ to a Hash. def self.parse(xml) - Crack::XML.parse(xml) + Nori.parse(xml) end # Expects a SOAP response XML or Hash, traverses it for a given +path+ of Hash keys # and returns the value as an Array. Defaults to return an empty Array in case the # path does not exist or returns nil.