Lines Matching defs:error
85 xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *info);
237 * Some factorized error routines *
247 * Handle a redefinition of attribute error
279 * @error: the error number
282 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
285 xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *info)
292 switch (error) {
303 errmsg = "internal error";
406 errmsg = "Content error in the external subset\n";
469 errmsg = "Unregistered error message\n";
472 ctxt->errNo = error;
473 __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_PARSER, error,
486 * @error: the error number
487 * @msg: the error message
489 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
492 xmlFatalErrMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,
499 ctxt->errNo = error;
500 __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_PARSER, error,
512 * @error: the error number
513 * @msg: the error message
520 xmlWarningMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,
534 ctxt, NULL, XML_FROM_PARSER, error,
543 * @error: the error number
544 * @msg: the error message
547 * Handle a validity error.
550 xmlValidityError(xmlParserCtxtPtr ctxt, xmlParserErrors error,
559 ctxt->errNo = error;
564 ctxt->vctxt.error, ctxt->vctxt.userData,
565 ctxt, NULL, XML_FROM_DTD, error,
577 * @error: the error number
578 * @msg: the error message
581 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
584 xmlFatalErrMsgInt(xmlParserCtxtPtr ctxt, xmlParserErrors error,
591 ctxt->errNo = error;
593 ctxt, NULL, XML_FROM_PARSER, error, XML_ERR_FATAL,
605 * @error: the error number
606 * @msg: the error message
611 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
614 xmlFatalErrMsgStrIntStr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
622 ctxt->errNo = error;
624 ctxt, NULL, XML_FROM_PARSER, error, XML_ERR_FATAL,
637 * @error: the error number
638 * @msg: the error message
641 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
644 xmlFatalErrMsgStr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
651 ctxt->errNo = error;
653 XML_FROM_PARSER, error, XML_ERR_FATAL,
666 * @error: the error number
667 * @msg: the error message
670 * Handle a non fatal parser error
673 xmlErrMsgStr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
680 ctxt->errNo = error;
682 XML_FROM_PARSER, error, XML_ERR_ERROR,
690 * @error: the error number
695 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
698 xmlNsErr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
707 ctxt->errNo = error;
708 __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_NAMESPACE, error,
1221 * Returns -1 in case of error, -2 if the namespace should be discarded
1335 * Returns 0 in case of error, the index in the stack otherwise
1390 * Returns 0 in case of error, the index in the stack otherwise
1456 * Returns -1 in case of error, the index in the stack otherwise
1526 * Returns -1 in case of error, the index in the stack otherwise
1861 * Returns the value parsed (as an int), 0 in case of error
1965 * Returns the value parsed (as an int), 0 in case of error, str will be
2219 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) {
3874 /* Generate the error and skip the offending character */
4303 goto error;
4313 goto error;
4318 goto error;
4323 goto error;
4331 error:
4333 "Catalog PI syntax error: %s\n",
4638 * This really ought to be a well formedness error
4697 * This really ought to be a well formedness error
4861 "Attribute default value declaration error\n");
5416 * Detect "Name | Name , Name" error
5456 * Detect "Name , Name | Name" error
5669 * Returns the type of the element, or -1 in case of error
5717 * [ WFC: PEs in Internal Subset ] error handling.
5953 /* there is an error but it will be detected later */
6227 * content is not well balanced is not a Wf error, this
7269 "xmlParseInternalSubset: error detected in Markup declaration\n");
7332 "error parsing attribute name\n");
7353 * No more registered as an error, just generate a warning now
7506 "attributes construct error\n");
8048 "error parsing attribute name\n");
8081 * No more registered as an error, just generate a warning now
8337 "attributes construct error\n");
8772 "detected an error in element content\n");
9411 * Returns 0, -1 in case of error. the parser context is augmented
9576 * Returns 0, -1 in case of error. the parser context is augmented
9772 "Internal error: xmlParseGetLasts\n");
9822 * UTF-8 error occured otherwise
10317 "detected an error in element content\n");
10721 "PP: internal error, state == COMMENT\n");
10730 "PP: internal error, state == IGNORE");
10739 "PP: internal error, state == PI\n");
10748 "PP: internal error, state == ENTITY_DECL\n");
10757 "PP: internal error, state == ENTITY_VALUE\n");
10766 "PP: internal error, state == ATTRIBUTE_VALUE\n");
10775 "PP: internal error, state == SYSTEM_LITERAL\n");
10784 "PP: internal error, state == PUBLIC_LITERAL\n");
10821 * Returns zero if no error, the xmlParserErrors otherwise.
10870 "xmlParseChunk: encoder error\n");
10934 * and error/warning reports.
11147 * Returns the resulting xmlDtdPtr or NULL in case of error.
11267 * Returns the resulting xmlDtdPtr or NULL in case of error.
11382 * Returns the resulting xmlDtdPtr or NULL in case of error.
11411 * the parser error code otherwise
11532 ctxt->vctxt.error = ctx->vctxt.error;
11535 ctxt->vctxt.error = NULL;
11614 * the parser error code otherwise
11782 * And record the last error if any
11822 * the parser error code otherwise
11849 * the parser error code otherwise
11876 * error code otherwise
12023 * Also record the last error if any
12057 * error code otherwise
12264 * the parser error code otherwise
12784 * Returns 0 in case of success or a error number otherwise
12992 * Returns 0 in case of success or a error number otherwise
13328 ctxt->vctxt.error = xmlParserValidityError;
13371 * Returns 0 in case of success and 1 in case of error
13475 * in case of error.
13518 ctxt->vctxt.error = NULL;
13527 ctxt->sax->error = NULL;