1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

a workaround for lack of handling XML namespaces directly (required by Eucalyptus endpoint)

This commit is contained in:
Tomasz Bak 2012-12-13 08:15:27 -08:00 committed by geemus
parent 3cc3ba933b
commit 0283cac581

View file

@ -23,6 +23,19 @@ module Fog
@value << string
end
# ###############################################################################
# This is a workaround. Original implementation from Nokogiri is overwritten with
# one that does not join namespace prefix with local name.
def start_element_namespace name, attrs = [], prefix = nil, uri = nil, ns = []
start_element name, attrs
end
def end_element_namespace name, prefix = nil, uri = nil
end_element name
end
# ###############################################################################
def start_element(name, attrs = [])
@value = nil
end