'This method searches for xpath errors in html\'s.
:param response: The HTTP response object
:return: A list of errors found on the page'

def _find_xpath_error(self, response):

    res = []
    for xpath_error_match in self._multi_in.query(response.body):
        msg = 'Found    XPATH    injection.    The    error    showed    by    the    web    application    is    (only    a    fragment    is    shown):    "%s".    The    error    was    found    on    response    with    id    %s.'
        om.out.information((msg % (xpath_error_match, response.id)))
        res.append(xpath_error_match)
    return res
