[xml] Uuugly warnings
- From: Gianni Mariani <gianni mariani ws>
- To: xml gnome org
- Subject: [xml] Uuugly warnings
- Date: Thu, 22 Aug 2002 16:18:24 +0000
So, I get the following output when I try to open a file using xmlParseFile.
warning: failed to load external entity "system_config.xml"
This is the code chunk
warningSAXFunc l_warning = xmlDefaultSAXHandler.warning;
errorSAXFunc l_error = xmlDefaultSAXHandler.error;
xmlDefaultSAXHandler.error = 0;
xmlDefaultSAXHandler.warning = 0;
doc = xmlParseFile(_filename.c_str());
xmlDefaultSAXHandler.error = l_error;
xmlDefaultSAXHandler.warning = l_warning;
It seems that this problem is unique to windows.
So what's the Right(TM) way to send all warnings to the bit bucket ?
G
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]