* fatalErrorDebug: * @ctxt: An XML parser context * @msg: the message to display/transmit * @...: extra parameters for the message display * * Display and format a fatalError messages, gives file, line, position and * extra parameters. */
| 1171 | * extra parameters. |
| 1172 | */ |
| 1173 | static void |
| 1174 | fatalErrorDebug(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) |
| 1175 | { |
| 1176 | va_list args; |
| 1177 | |
| 1178 | callbacks++; |
| 1179 | if (quiet) |
| 1180 | return; |
| 1181 | va_start(args, msg); |
| 1182 | fprintf(SAXdebug, "SAX.fatalError: "); |
| 1183 | vfprintf(SAXdebug, msg, args); |
| 1184 | va_end(args); |
| 1185 | } |
| 1186 | |
| 1187 | static xmlSAXHandler debugSAXHandlerStruct = { |
| 1188 | internalSubsetDebug, |
no test coverage detected