• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/libxml2-26/libxml2/

Lines Matching +defs:next +defs:error

91 xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *info);
267 * Some factorized error routines *
277 * Handle a redefinition of attribute error
310 * @error: the error number
313 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
316 xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *info)
324 switch (error) {
335 errmsg = "internal error";
438 errmsg = "Content error in the external subset";
504 errmsg = "Unregistered error message";
511 ctxt->errNo = error;
512 __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_PARSER, error,
525 * @error: the error number
526 * @msg: the error message
528 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
531 xmlFatalErrMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,
538 ctxt->errNo = error;
539 __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_PARSER, error,
551 * @error: the error number
552 * @msg: the error message
559 xmlWarningMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,
574 ctxt, NULL, XML_FROM_PARSER, error,
580 ctxt, NULL, XML_FROM_PARSER, error,
590 * @error: the error number
591 * @msg: the error message
594 * Handle a validity error.
597 xmlValidityError(xmlParserCtxtPtr ctxt, xmlParserErrors error,
606 ctxt->errNo = error;
612 ctxt->vctxt.error, ctxt->vctxt.userData,
613 ctxt, NULL, XML_FROM_DTD, error,
620 ctxt, NULL, XML_FROM_DTD, error,
630 * @error: the error number
631 * @msg: the error message
634 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
637 xmlFatalErrMsgInt(xmlParserCtxtPtr ctxt, xmlParserErrors error,
644 ctxt->errNo = error;
646 ctxt, NULL, XML_FROM_PARSER, error, XML_ERR_FATAL,
658 * @error: the error number
659 * @msg: the error message
664 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
667 xmlFatalErrMsgStrIntStr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
675 ctxt->errNo = error;
677 ctxt, NULL, XML_FROM_PARSER, error, XML_ERR_FATAL,
690 * @error: the error number
691 * @msg: the error message
694 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
697 xmlFatalErrMsgStr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
704 ctxt->errNo = error;
706 XML_FROM_PARSER, error, XML_ERR_FATAL,
719 * @error: the error number
720 * @msg: the error message
723 * Handle a non fatal parser error
726 xmlErrMsgStr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
733 ctxt->errNo = error;
735 XML_FROM_PARSER, error, XML_ERR_ERROR,
743 * @error: the error number
748 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
751 xmlNsErr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
760 ctxt->errNo = error;
761 __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_NAMESPACE, error,
772 * @error: the error number
777 * Handle a namespace warning error
780 xmlNsWarn(xmlParserCtxtPtr ctxt, xmlParserErrors error,
788 __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_NAMESPACE, error,
1551 * Returns -1 in case of error, -2 if the namespace should be discarded
1666 * Returns -1 in case of error, the index in the stack otherwise
1724 * Returns -1 in case of error, the index in the stack otherwise
1792 * Returns -1 in case of error, the index in the stack otherwise
1862 * Returns -1 in case of error, the index in the stack otherwise
1960 * NXT(n) returns the n'th next xmlChar. Same as CUR is should be used only
1968 * NEXT Skip to the next character, this does the proper decoding
2153 * pop it and return the next char.
2177 * Returns -1 in case of error or the index in the input stack
2212 * Returns the value parsed (as an int), 0 in case of error
2320 * Returns the value parsed (as an int), 0 in case of error, str will be
2577 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) {
4100 goto error;
4134 error:
4639 /* Generate the error and skip the offending character */
5108 goto error;
5118 goto error;
5123 goto error;
5128 goto error;
5136 error:
5138 "Catalog PI syntax error: %s\n",
5472 * This really ought to be a well formedness error
5536 * This really ought to be a well formedness error
5702 "Attribute default value declaration error\n");
5755 tmp = tmp->next;
5765 last->next = cur;
5823 tmp = tmp->next;
5835 last->next = cur;
6294 * Detect "Name | Name , Name" error
6334 * Detect "Name , Name | Name" error
6591 * Returns the type of the element, or -1 in case of error
6639 * [ WFC: PEs in Internal Subset ] error handling.
6893 /* there is an error but it will be detected later */
7251 (list->next == NULL)) ||
7261 if (list->next == NULL)
7263 list = list->next;
7276 if (list->next == NULL)
7278 list = list->next;
7430 cur = cur->next;
7437 xmlNodePtr nw = NULL, cur, next, last,
7458 next = cur->next;
7459 cur->next = NULL;
7473 cur = next;
8045 "xmlLoadEntityContent parameter error");
8056 "xmlLoadEntityContent parameter error");
8063 "xmlLoadEntityContent input error");
8070 * saving to the buffer until the end of the entity or an error
8352 "xmlParseInternalSubset: error detected in Markup declaration\n");
8415 "error parsing attribute name\n");
8436 * No more registered as an error, just generate a warning now
8589 "attributes construct error\n");
9100 "error parsing attribute name\n");
9152 * No more registered as an error, just generate a warning now
9454 "attributes construct error\n");
9910 "detected an error in element content\n");
10328 * encoding mismatch fatal error
10603 * Returns 0, -1 in case of error. the parser context is augmented
10790 * Returns 0, -1 in case of error. the parser context is augmented
10899 * @next: the next char to lookup or zero
10900 * @third: the next char to lookup or zero
10902 * Try to find if a sequence (first, next, third) or just (first next) or
10913 xmlChar next, xmlChar third) {
10933 else if (next) len --;
10937 if ((buf[base + 1] != next) ||
10939 } else if (next != 0) {
10940 if (buf[base + 1] != next) continue;
10944 if (next == 0)
10951 first, next, base);
10955 first, next, third, base);
10962 if (next == 0)
10967 "PP: lookup '%c%c' failed\n", first, next);
10970 "PP: lookup '%c%c%c' failed\n", first, next, third);
10990 "Internal error: xmlParseGetLasts\n");
11040 * UTF-8 error occured otherwise
11112 xmlChar cur, next;
11253 next = ctxt->input->cur[1];
11268 if ((cur == '<') && (next == '?')) {
11455 next = ctxt->input->cur[1];
11459 if ((cur == '<') && (next == '/')) {
11462 } else if ((cur == '<') && (next == '?')) {
11471 } else if ((cur == '<') && (next != '!')) {
11474 } else if ((cur == '<') && (next == '!') &&
11502 } else if ((cur == '<') && (next == '!') &&
11517 * a sequence of blank chars and the next one is
11546 "detected an error in element content\n");
11670 next = ctxt->input->cur[1];
11671 if ((cur == '<') && (next == '?')) {
11687 } else if ((cur == '<') && (next == '!') &&
11705 } else if ((cur == '<') && (next == '!') &&
11752 } else if ((cur == '<') && (next == '!') &&
11775 next = ctxt->input->cur[1];
11776 if ((cur == '<') && (next == '?')) {
11791 } else if ((cur == '<') && (next == '!') &&
11807 } else if ((cur == '<') && (next == '!') &&
11831 next = ctxt->input->cur[1];
11832 if ((cur == '<') && (next == '?')) {
11847 } else if ((cur == '<') && (next == '!') &&
11863 } else if ((cur == '<') && (next == '!') &&
11982 if (next == 0)
12012 "PP: internal error, state == COMMENT\n");
12021 "PP: internal error, state == IGNORE");
12030 "PP: internal error, state == PI\n");
12039 "PP: internal error, state == ENTITY_DECL\n");
12048 "PP: internal error, state == ENTITY_VALUE\n");
12057 "PP: internal error, state == ATTRIBUTE_VALUE\n");
12066 "PP: internal error, state == SYSTEM_LITERAL\n");
12075 "PP: internal error, state == PUBLIC_LITERAL\n");
12112 * Returns -1 in case of error, 0 if the push is not needed and 1 if needed
12161 * Returns zero if no error, the xmlParserErrors otherwise.
12253 "xmlParseChunk: encoder error\n");
12362 * and error/warning reports.
12573 * Returns the resulting xmlDtdPtr or NULL in case of error.
12679 tmp = tmp->next;
12702 * Returns the resulting xmlDtdPtr or NULL in case of error.
12807 tmp = tmp->next;
12830 * Returns the resulting xmlDtdPtr or NULL in case of error.
12859 * the parser error code otherwise
12982 ctxt->vctxt.error = ctx->vctxt.error;
12985 ctxt->vctxt.error = NULL;
13032 cur = cur->next;
13064 * the parser error code otherwise
13213 cur = cur->next;
13235 * And record the last error if any
13274 * the parser error code otherwise
13301 * the parser error code otherwise
13328 * error code otherwise
13471 cur = cur->next;
13489 * Also record the last error if any
13523 * error code otherwise
13652 ns = ns->next;
13698 cur = fake->next;
13699 fake->next = NULL;
13710 cur = cur->next;
13752 * the parser error code otherwise
13881 cur = cur->next;
14298 * Returns 0 in case of success or a error number otherwise
14490 * Returns the resulting document tree or NULL in case of error
14507 * Returns 0 in case of success or a error number otherwise
14857 ctxt->vctxt.error = xmlParserValidityError;
14900 * Returns 0 in case of success and 1 in case of error
15003 * in case of error.
15057 ctxt->vctxt.error = NULL;
15067 ctxt->sax->error = NULL;
15144 * in case of error.