# File lib/soap/encodingstyle/soapHandler.rb, line 189 def decode_tag_end(ns, node) textbufstr = @textbuf.join @textbuf.clear o = node.node if o.is_a?(SOAPUnknown) newnode = if /\A\s*\z/ =~ textbufstr o.as_struct else o.as_string end if newnode.id @idpool << newnode end node.replace_node(newnode) o = node.node end decode_textbuf(o, textbufstr) # unlink definedtype o.definedtype = nil end