Strip namespace of top element tag, when use option of strip_namespace

Thank you for merge.

Fix bugs to strip namespace of top element tag, when use option of strip_namespace.