'This method will discard the output the shell sends, it will read it from
the xml where it expects it to be present.
NOTE: if \'debug\' is true then it is being run from a test case and the
output being sent is valid.'

def parseOutputString(self, output, debug=False):

    self._output_file_path = '/root/dev/faraday/trunk/src/report/wapiti2.3.0_abaco.xml'
    if debug:
        parser = WapitiXmlParser(output)
    else:
        if (not os.path.exists(self._output_file_path)):
            return False
        parser = WapitiXmlParser(self._output_file_path)
    "\n                                                                self.bugtype=bugtype\n                                self.buglevel=self.node.get('level')\n                                self.url    =    self.get_text_from_subnode('url')\n                                self.parameter    =    self.get_text_from_subnode('parameter')\n                                self.info    =    self.get_text_from_subnode('info')\n                                "
    h_id = self.createAndAddHost(self.host)
    i_id = self.createAndAddInterface(h_id, self.host, ipv4_address=self.host)
    i = 1
    for item in parser.items:
        mport = ('%s%i' % (self.port, i))
        s_id = self.createAndAddServiceToInterface(h_id, i_id, mport, 'tcp', [mport], status=('(%s)    (%s)' % (item.bugtype, item.url)), version=item.parameter, description=item.info)
        i = (i + 1)
    del parser
