[xml] Problems with error printing



In error.c there are functions that handle error printing such as xmlGenericErrorDefaultFunc, however not all functions use these methods for error printing. Some use fprintf(stderr, …), this is bad for applications that are GUI oriented and especially bad if stderr is not initialized.

Some examples:

xpath.c(11135):              fprintf(stderr, "100 x %s\n", comp->string);

xmlschemas.c(3332):     fprintf(stderr, "  target namespace %s\n", namespace);

xmlreader.c(520):           fprintf(stderr, "xmlTextReader: state %d depth %d ",


Can this behavior be fixed?





The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content **

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