Reverting back to raising Exception instead of XMLSyntaxError