Don't overwrite namespace_name with "xmlns".

This was a leftover from an early prototype.
This commit is contained in:
Yorick Peterse 2014-09-15 21:38:53 +02:00
parent 41526e7013
commit 1abba1be9c
1 changed files with 0 additions and 6 deletions

View File

@ -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