# File lib/xml/parserns.rb, line 104 def getSpecifiedAttributes ret = super # attrs = {} # ret.each do |k, v| # next if k =~ /^xmlns/u # if @nssep # prefix, uri, localpart = resolveAttributeQName(k) # k = uri.to_s + @nssep + k # end # attrs[k] = v # end attrs = [] ret.each do |k| next if k =~ /^xmlns:|^xmlns$/u if @nssep prefix, uri, localpart = resolveAttributeQName(k) k = uri.to_s + @nssep + k end attrs.push(k) end attrs end