refactor to "Check XML Errors"