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
1 changed files with 13 additions and 0 deletions

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