code: def SetErrorHandler(self,f,arg):
          
          if f is None:
              libxml2mod.xmlTextReaderSetErrorHandler(\
                  self._o,None,None)
          else:
              libxml2mod.xmlTextReaderSetErrorHandler(\
                  self._o,_xmlTextReaderErrorFunc,(f,arg))
docs: Register an error handler that will be called back as
             f(arg,msg,severity,locator).