'<vulnerability id="[87]" method="GET"
name="Cross site scripting vulnerability"
plugin="xss" severity="Medium"
url="http://moth/w3af/audit/xss/simple_xss_no_script_2.php"
var="text">'

def start(self, tag, attrib):

    if (tag == 'vulnerability'):
        name = attrib['name']
        plugin = attrib['plugin']
        v = MockVuln(name, None, 'High', 1, plugin)
        v.set_url(URL(attrib['url']))
        self.vulns.append(v)
    elif (tag == 'body'):
        content_encoding = attrib['content-encoding']
        assert (content_encoding == 'text')
        self._inside_body = True
