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:
parent
3cc3ba933b
commit
0283cac581
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue