Fixed error reporting on invalid xml because I invalidated the document too soon which corrupted the error string.
Fixed error reporting on invalid xml because I invalidated the document
too soon which corrupted the error string.


DragoonWraith/ares,DragoonWraith/ares,DragoonWraith/ares