Fix result enum type XML_Error -> XML_Status

Code did not compile on linux64