Lines Matching full:error
2 * error.c: module displaying/handling XML parser errors
64 * @ctx: an error context
68 * Default handler for out of context error messages.
87 * to the builtin error function.
100 * @ctx: the new error handling context
103 * Function to reset the handler and the error context for out of
104 * context error messages.
106 * error messages while not parsing nor validating. And @ctx will
123 * @ctx: the new error handling context
126 * Function to reset the handler and the error context for out of
127 * context structured error messages.
129 * error messages while not parsing nor validating. And @ctx will
169 * Displays current context within the input content for error tracking
193 /* calculate the error position in terms of the current position */
225 * Displays current context within the input content for error tracking
235 * @err: the error
237 * @str: the formatted error message
239 * Report an erro with its context, replace the 4 old error/warning
277 * Maintain the compatibility with the legacy error handling
374 channel(data, "error : ");
377 channel(data, "error : ");
388 channel(data, "%s\n", "out of memory error");
423 * @domain: the domain for the error
424 * @code: the code for the error
425 * @level: the xmlErrorLevel for the error
426 * @file: the file source of the error (or NULL)
427 * @line: the line of the error or 0 if N/A
432 * @col: column number of the error or 0 if N/A
436 * Update the appropriate global or contextual error structure,
437 * then forward the error message down the parser or generic
438 * error callback handler
466 * Check if structured error handler set
490 str = (char *) xmlStrdup(BAD_CAST "No error message provided");
532 * Save the information about the error
544 * We check if the error is within an XInclude section and,
600 channel = ctxt->sax->error;
632 * @domain: where the error comes from
633 * @code: the error code
666 * Display and format an error messages, gives file, line, position and
687 xmlGenericError(xmlGenericErrorContext, "error: ");
758 * Display and format an validity error messages, gives file,
780 xmlGenericError(xmlGenericErrorContext, "validity error: ");
835 * Extended Error Handling *
842 * Get the last global error registered. This is per thread if compiled
845 * Returns NULL if no error occured or a pointer to the error
857 * @err: pointer to the error.
859 * Cleanup the error.
885 * Cleanup the last global error registered. For parsing error
900 * Get the last parsing error registered.
902 * Returns NULL if no error occured or a pointer to the error
920 * Cleanup the last global error registered. For parsing error
937 * @from: a source error
938 * @to: a target error
940 * Save the original error to the new place.
942 * Returns 0 in case of success and -1 in case of error.