Don't overwrite namespace_name with "xmlns".
This was a leftover from an early prototype.
This commit is contained in:
parent
41526e7013
commit
1abba1be9c
|
@ -291,12 +291,6 @@ module Oga
|
|||
remove = attr.name == XMLNS_PREFIX ||
|
||||
attr.namespace_name == XMLNS_PREFIX
|
||||
|
||||
# If the attribute sets the default namespace we'll also overwrite the
|
||||
# namespace_name.
|
||||
if attr.name == XMLNS_PREFIX
|
||||
@namespace_name = XMLNS_PREFIX
|
||||
end
|
||||
|
||||
register_namespace(attr.name, attr.value) if remove
|
||||
|
||||
remove
|
||||
|
|
Loading…
Reference in New Issue