Fix for issue #2517938: xmlwf should return a non-zero code for parsing errors.