code: def parse(self, url_data):
          
          self.url_data = url_data
          self.loc = False
          self.url = u""
          data = url_data.get_content()
          isfinal = True
          try:
              self.parser.Parse(data, isfinal)
          except ExpatError as expaterr:
              self.url_data.add_warning(expaterr.message,tag=WARN_XML_PARSE_ERROR)
docs: Parse XML URL data.