def sr_fail_mock(url, request):
    """
    Mock for software release lookup, XML parse error.
    """
    badbody = b'<?xml version="1.0" encoding="UTF-8"?></srVersionLookupResponse>'
    return {'status_code': 200, 'content': badbody}