use parent's xmlns if xmlns is undefined for ElementNode
makeResult correctly even if result_class is not defined: just use the
top stanza's definition
put stack into the internal-server-error