lib/exlibris/primo/xml_util.rb in exlibris-primo-1.0.9 vs lib/exlibris/primo/xml_util.rb in exlibris-primo-1.0.10
- old
+ new
@@ -36,10 +36,10 @@
@xml_options ||= self.class.xml_options
end
protected :xml_options
def xml
- @xml ||= Nokogiri::XML(raw_xml)
+ @xml ||= Nokogiri::XML(raw_xml, nil, 'UTF-8')
end
protected :xml
def xml_without_namespaces
xml.clone.remove_namespaces!