fix error when parsing plain string to XML on IE