• Daniel Veillard's avatar
    patched to redirrect all "out of context" error messages to · d6d7f7bf
    Daniel Veillard authored
    a reconfigurable routine. The changes are:
    * xmlerror.h : added the export of an error context type (void *)
      an error handler type xmlGenericErrorFunc there is an interface
      xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
      to reset the error handling routine and its argument
      (by default it's equivalent to respectively fprintf and stderr.
    * all the c files: all wild accesses to stderr or stdout within
      the library have been replaced to calls to the handler.
    Daniel
    d6d7f7bf