Lines Matching defs: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
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);
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",
3577 * Returns the definition pointer or NULL in case of error
3626 "Internal error with type library '%s': no 'have'\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
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
6511 * NULL in case of error
6594 * Returns the parser context or NULL in case of error
6612 ret->error = xmlGenericError;
6625 * Returns the parser context or NULL in case of error
6644 ret->error = xmlGenericError;
6657 * Returns the parser context or NULL in case of error
7308 * Returns the cleaned up document or NULL in case of error
7336 * NULL in case of error
7422 * if there was a parsing error return NULL
7470 * @err: the error callback
7483 ctxt->error = err;
7492 * @err: the error callback result
7508 *err = ctxt->error;
7519 * @serror: the error callback
7532 ctxt->error = NULL;
7841 * Returns 0 in case of success, -1 in case of error.
7938 * Returns 0 in case of success and -1 in case of error.
8117 * validation error, log the message for the "best" one
8148 * element requires a full node, and -1 in case of error.
8319 * returns 1 if no validation problem was found or -1 in case of error.
8371 * Returns the new sibling or NULL in case of error.
8402 * Returns the new string or NULL in case of error.
8449 * Returns 0 if the validation succeeded or an error code.
8520 * Returns 0 if the operation succeeded or an error code.
8551 * Returns 0 if the validation succeeded or an error code.
8575 * Returns 0 if the validation succeeded or an error code.
8830 * Returns 0 if the validation succeeded or an error code.
8855 * Returns 1 if the attribute matches, 0 if no, or -1 in case of error
8904 * Returns 0 if the validation succeeded or an error code.
9014 * Returns 0 if the validation succeeded or an error code.
9097 * Returns 0 if the validation succeeded or an error code.
9382 * Returns 0 if the validation succeeded or an error code.
9421 * Returns 1 if the element matches, 0 if no, or -1 in case of error
9533 * This is called only if a falidation error was detected
9535 * Returns the index of the "best" state or -1 in case of error
9596 * @dolog: indicate that error logging should be done
9602 * Returns 0 if the validation succeeded or an error code.
9640 * Returns 0 if the validation succeeded or an error code.
9814 * validation error, log the message for the "best" one
9870 * validation error, log the message for the "best" one
10417 * Returns 0 if the validation succeeded or an error code.
10546 * Returns 0 if the validation succeeded or an error code.
10607 ctxt->error(ctxt->userData,
10608 "%d Extra error messages left on stack !\n",
10619 vctxt.error = ctxt->error;
10645 * Returns the validation context or NULL in case of error
10659 ret->error = xmlGenericError;
10719 * @err: the error function
10723 * Set the error and warning callback informations
10732 ctxt->error = err;
10741 * @serror: the structured error function
10744 * Set the structured error callback
10753 ctxt->error = NULL;
10761 * @err: the error function result
10765 * Get the error and warning callback informations
10767 * Returns -1 in case of error and 0 otherwise
10777 *err = ctxt->error;
10792 * Returns 0 if the document is valid, a positive error code
10793 * number otherwise and -1 in case of internal or API error.
10807 * TODO: build error codes