Lines Matching full:error
205 xmlRelaxNGValidityErrorFunc error; /* the callback in case of errors */
329 * A RelaxNGs validation error
334 xmlRelaxNGValidErr err; /* the error number */
350 xmlRelaxNGValidityErrorFunc error; /* the callback in case of errors */
360 int errNo; /* the first error found */
366 xmlRelaxNGValidErrorPtr err; /* Last error */
367 int errNr; /* Depth of the error stack */
368 int errMax; /* Max depth of the error stack */
389 int perr; /* signal error in content model
422 * Some factorized error routines *
431 * Handle a redefinition of attribute error
444 channel = ctxt->error;
466 * Handle a redefinition of attribute error
479 channel = ctxt->error;
499 * @node: the node raising the error
500 * @error: the error code
505 * Handle a Relax NG Parsing error
508 xmlRngPErr(xmlRelaxNGParserCtxtPtr ctxt, xmlNodePtr node, int error,
519 channel = ctxt->error;
525 error, XML_ERR_ERROR, NULL, 0,
533 * @node: the node raising the error
534 * @error: the error code
539 * Handle a Relax NG Validation error
542 xmlRngVErr(xmlRelaxNGValidCtxtPtr ctxt, xmlNodePtr node, int error,
553 channel = ctxt->error;
559 error, XML_ERR_ERROR, NULL, 0,
578 * Returns 1 if yes, 0 if no and -1 in case of error.
591 * Returns 1 if yes, 0 if no and -1 in case of error.
608 * Returns 1 if yes, 0 if no and -1 in case of error.
634 * Returns 1 if yes, 0 if no and -1 in case of error.
754 * Returns the newly allocated structure or NULL in case or error
833 * Returns the newly allocated structure or NULL in case or error
885 * Returns the newly allocated structure or NULL in case or error
1001 * Returns the newly allocated structure or NULL in case or error
1048 * Return 1 in case of success and 0 if this is a duplicate and -1 on error
1086 * Return 1 in case of success and 0 if this is a duplicate and -1 on error
1177 * Returns the newly allocated structure or NULL in case or error
1272 * Returns the newly allocated structure or NULL in case or error
1411 * Returns 0 if success and -1 in case of error
1444 * Returns 0 in case of error, the index in the stack otherwise
1511 * Returns 0 in case of error, 1 in case of success.
1589 * Returns the xmlRelaxNGIncludePtr or NULL in case of error
1748 * @err: the error code
1753 * Pushes a new error on top of the error stack
1755 * Returns 0 in case of error, the index in the stack otherwise
1766 "Pushing error %d at %d on stack\n", err, ctxt->errNr);
1776 xmlRngVErrMemory(ctxt, "pushing error\n");
1789 xmlRngVErrMemory(ctxt, "pushing error\n");
1823 * Pops the top error from the error stack
1858 * Returns 0 in case of error, the index in the stack otherwise
1926 * Returns the xmlRelaxNGDocumentPtr or NULL in case of error
2008 * Error functions *
2074 * @err: the error code
2078 * computes a formatted error string for the given error code and args
2080 * Returns the error string, it must be deallocated by the caller
2113 return (xmlCharStrdup("Internal error: no state\n"));
2115 return (xmlCharStrdup("Internal error: no define\n"));
2117 snprintf(msg, 1000, "Internal error: %s\n", arg1);
2196 snprintf(msg, 1000, "Error validating datatype %s\n", arg1);
2199 snprintf(msg, 1000, "Error validating value %s\n", arg1);
2202 return (xmlCharStrdup("Error validating list\n"));
2208 return (xmlCharStrdup("Unknown error !\n"));
2211 snprintf(msg, 1000, "Unknown error code %d\n", err);
2220 * @err: the error number
2226 * Show a validation error.
2240 xmlGenericError(xmlGenericErrorContext, "Show error %d\n", err);
2256 * @level: the error level in the stack
2291 * Show all validation error over a given index.
2301 "Dumping error stack %d errors\n", ctxt->errNr);
2335 * @err: the error number
2340 * Register a validation error, either generating it if it's sure
2354 xmlGenericError(xmlGenericErrorContext, "Adding error %d\n", err);
2357 * generate the error directly
2364 * Flush first any stacked error which might be the
2378 * Stack the error for later processing if needed
2402 * Returns 1 if yes, 0 if no and -1 in case of error.
2429 * Returns 1 if yes, 0 if no and -1 in case of error.
2449 if (ret == 2) /* special ID error code */
2469 * Returns 1 if yes, 0 if no and -1 in case of error.
2541 * Returns 1 if yes, 0 if no and -1 in case of error.
2559 * Returns 1 if equal, 0 if no and -1 in case of error.
2617 * Returns 1 if yes, 0 if no and -1 in case of error.
2642 * Returns 1 if yes, 0 if no and -1 in case of error.
2672 * Returns 1 if yes, 0 if no and -1 in case of error.
2745 * Returns 0 in case of success and -1 in case of error.
2798 * Returns 0 in case of success and -1 in case of error.
2861 * Returns 1 if yes, 0 if no and -1 in case of error
3012 * Returns 0 if success and -1 in case of error
3201 /* This should not happen and generate an internal error */
3202 fprintf(stderr, "RNG internal error trying to compile %s\n",
3217 * Returns 0 if success and -1 in case of error
3334 * Returns 1 if yes, 0 if no and -1 in case of error
3485 * Returns the definition pointer or NULL in case of error
3527 "Internal error with type library '%s': no 'have'\n",
3533 "Error type '%s' is not exported by type library '%s'\n",
3577 * Returns the definition pointer or NULL in case of error
3626 "Internal error with type library '%s': no 'have'\n",
3632 "Error type '%s' is not exported by type library '%s'\n",
3871 * Returns 1 if yes, 0 if no and -1 in case of error.
3880 * Don't run that check in case of error. Infinite recursion
3958 * Don't run that check in case of error. Infinite recursion
4065 * Don't run that check in case of error. Infinite recursion
4199 * Don't run that check in case of error. Infinite recursion
4291 * Don't run that check in case of error. Infinite recursion
4313 goto error;
4319 goto error;
4338 goto error;
4420 error:
4441 * Returns the definition pointer or NULL in case of error
4503 * Returns 0 in case of success or -1 in case of error
4553 * Returns 0 in case of success or -1 in case of error
4604 "Internal error on define aggregation of %s\n",
4625 * Returns the xmlRelaxNGDefinePtr or NULL in case of error
4709 * Returns the definition pointer or NULL in case of error or if no
4841 "Error refs definitions '%s'\n",
4845 "Error refs definitions\n",
4957 "Internal error parentRef definitions '%s'\n",
5009 * Returns the definition pointer or NULL in case of error.
5070 "RNG Internal error, noop found in attribute\n",
5093 * Returns the definition pointer or NULL in case of error.
5154 * Returns the definition pointer or NULL in case of error.
5294 * Returns the definition pointer or NULL in case of error.
5373 "RNG Internal error, start found in element\n",
5378 "RNG Internal error, param found in element\n",
5383 "RNG Internal error, except found in element\n",
5388 "RNG Internal error, noop found in element\n",
5407 * Returns the definition pointer or NULL in case of error.
5455 * Returns 0 in case of success, -1 in case of error
5513 * Returns 0 in case of success, -1 in case of error
5575 "Internal error: no grammar in CheckReference %s\n",
5581 "Internal error: reference has content in CheckReference %s\n",
5752 "Internal error: start element not found\n", NULL,
5838 * Returns 0 if check passed, and -1 in case of error
6204 "Element %s attributes have a content type error\n",
6212 "Element %s has a content type error\n",
6439 * NULL in case of error
6513 * NULL in case of error
6596 * Returns the parser context or NULL in case of error
6614 ret->error = xmlGenericError;
6627 * Returns the parser context or NULL in case of error
6646 ret->error = xmlGenericError;
6659 * Returns the parser context or NULL in case of error
7310 * Returns the cleaned up document or NULL in case of error
7338 * NULL in case of error
7424 * if there was a parsing error return NULL
7472 * @err: the error callback
7485 ctxt->error = err;
7494 * @err: the error callback result
7510 *err = ctxt->error;
7521 * @serror: the error callback
7534 ctxt->error = NULL;
7843 * Returns 0 in case of success, -1 in case of error.
7940 * Returns 0 in case of success and -1 in case of error.
8119 * validation error, log the message for the "best" one
8150 * element requires a full node, and -1 in case of error.
8321 * returns 1 if no validation problem was found or -1 in case of error.
8373 * Returns the new sibling or NULL in case of error.
8404 * Returns the new string or NULL in case of error.
8451 * Returns 0 if the validation succeeded or an error code.
8522 * Returns 0 if the operation succeeded or an error code.
8553 * Returns 0 if the validation succeeded or an error code.
8577 * Returns 0 if the validation succeeded or an error code.
8834 * Returns 0 if the validation succeeded or an error code.
8859 * Returns 1 if the attribute matches, 0 if no, or -1 in case of error
8908 * Returns 0 if the validation succeeded or an error code.
9018 * Returns 0 if the validation succeeded or an error code.
9101 * Returns 0 if the validation succeeded or an error code.
9386 * Returns 0 if the validation succeeded or an error code.
9425 * Returns 1 if the element matches, 0 if no, or -1 in case of error
9537 * This is called only if a falidation error was detected
9539 * Returns the index of the "best" state or -1 in case of error
9600 * @dolog: indicate that error logging should be done
9606 * Returns 0 if the validation succeeded or an error code.
9644 * Returns 0 if the validation succeeded or an error code.
9818 * validation error, log the message for the "best" one
9874 * validation error, log the message for the "best" one
10421 * Returns 0 if the validation succeeded or an error code.
10550 * Returns 0 if the validation succeeded or an error code.
10611 ctxt->error(ctxt->userData,
10612 "%d Extra error messages left on stack !\n",
10623 vctxt.error = ctxt->error;
10649 * Returns the validation context or NULL in case of error
10663 ret->error = xmlGenericError;
10723 * @err: the error function
10727 * Set the error and warning callback informations
10736 ctxt->error = err;
10745 * @serror: the structured error function
10748 * Set the structured error callback
10757 ctxt->error = NULL;
10765 * @err: the error function result
10769 * Get the error and warning callback informations
10771 * Returns -1 in case of error and 0 otherwise
10781 *err = ctxt->error;
10796 * Returns 0 if the document is valid, a positive error code
10797 * number otherwise and -1 in case of internal or API error.
10811 * TODO: build error codes