[xml] xmlSchemaSetParserErrors and xmlSchemaSetValidErrors



 
Hi,

Both of the functions take parserCtxt, errFunc, warningFunc and ctxt as
parameters. Normally people use them as following:

    xmlSchemaSetParserErrors(parserCtxt, fprintf, fprintf, stderr);

Basically it means to print out err and warning msgs to stderr. I wonder
if there's a way I can just redirect the error/warning output to
"/dev/null"? Or to a file? Or even not do printing at all?

Thanks,
Yong Chen



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