* errorDebug: * @ctxt: An XML parser context * @msg: the message to display/transmit * @...: extra parameters for the message display * * Display and format a error messages, gives file, line, position and * extra parameters. */
| 1148 | * extra parameters. |
| 1149 | */ |
| 1150 | static void |
| 1151 | errorDebug(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) |
| 1152 | { |
| 1153 | va_list args; |
| 1154 | |
| 1155 | callbacks++; |
| 1156 | if (quiet) |
| 1157 | return; |
| 1158 | va_start(args, msg); |
| 1159 | fprintf(SAXdebug, "SAX.error: "); |
| 1160 | vfprintf(SAXdebug, msg, args); |
| 1161 | va_end(args); |
| 1162 | } |
| 1163 | |
| 1164 | /** |
| 1165 | * fatalErrorDebug: |
no test coverage detected