# File lib/fog/parsers/base.rb, line 8 def initialize reset end
# File lib/fog/parsers/base.rb, line 12 def attr_value(name, attrs) (entry = attrs.find {|a| a.localname == name }) && entry.value end
# File lib/fog/parsers/base.rb, line 20 def characters(string) @value ||= '' @value << string end
# File lib/fog/parsers/base.rb, line 32 def end_element_namespace name, prefix = nil, uri = nil end_element name end
# File lib/fog/parsers/base.rb, line 16 def reset @response = {} end
# File lib/fog/parsers/base.rb, line 38 def start_element(name, attrs = []) @value = nil end
############################################################################### This is a workaround. Original implementation from Nokogiri is overwritten with one that does not join namespace prefix with local name.
# File lib/fog/parsers/base.rb, line 28 def start_element_namespace name, attrs = [], prefix = nil, uri = nil, ns = [] start_element name, attrs end
# File lib/fog/parsers/base.rb, line 42 def value @value && @value.dup end