[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]