'Return a dom object, from the given string.'

def get_dom(self, html_string):

    try:
        dom = self.fromstring(html_string)
        if (dom is None):
            dom = self._build_empty_dom()
            self._logger.error('%s:    using    a    fake    empty    DOM', self._cname)
        return dom
    except Exception as e:
        self._logger.error('%s:    caught    exception    parsing    DOM', self._cname, exc_info=True)
        return self._build_empty_dom()
