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

[xml] disabling all warnings and errors at runtime



I want to disable all warnings and maybe errors during runtime 

I found this variable(xmlGetWarningsDefaultValue -  in globals.c . ) that is referred in error.c function 

/**

 * xmlGetWarningsDefaultValue:

 *

 * Global setting, indicate that the parser should provide warnings.

 * Activated by default.

 */

int xmlGetWarningsDefaultValue = 1;




Should I set this to 0 directly to suppress warnings or is there a different way of configuring this ? 


Also what should I set/unset to enable/disable error reporting ? 



Thanks 



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