code: def _xmlTextReaderErrorFunc(xxx_todo_changeme,msg,severity,locator):
      
      (f,arg) = xxx_todo_changeme
      return f(arg,msg,severity,xmlTextReaderLocator(locator))
docs: Intermediate callback to wrap the locator