code: def setErrorHandler(self,f,arg):
          
          libxml2mod.xmlParserCtxtSetErrorHandler(self._o,f,arg)
docs: Register an error handler that will be called back as
             f(arg,msg,severity,reserved).
  
             @reserved is currently always None.