[xml] RelaxNG structured error reporting



Hello,

I need some advise to get errors using the new structured error reporting API. I've installed my own "old" 
error handler to prevent stderr output and my own structured error handler to log them:

   xmlSetGenericErrorFunc(NULL, myXmlGenericErrorFunc);
   xmlSetStructuredErrorFunc(logger, myXmlStructuredErrorFunc);

but the structured error handler is never called when an error raises from the Relax NG module (schema 
parsing errors or document validation errors), only the "old" handler.

Does it mean that Relax NG module doesn't support the new structured error system? Am I missing something?

Thanks in advance,
Manuel





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]