Home
last modified time | relevance | path

Searched refs:vctxt (Results 1 – 13 of 13) sorted by relevance

/external/libxml2/
Dxmlschemas.c623 xmlSchemaValidCtxtPtr vctxt; member
1069 xmlSchemaClearValidCtxt(xmlSchemaValidCtxtPtr vctxt);
2035 xmlSchemaValidCtxtPtr vctxt = (xmlSchemaValidCtxtPtr) ctxt; in xmlSchemaErr4Line() local
2038 vctxt->nberrors++; in xmlSchemaErr4Line()
2039 vctxt->err = error; in xmlSchemaErr4Line()
2040 channel = vctxt->error; in xmlSchemaErr4Line()
2042 channel = vctxt->warning; in xmlSchemaErr4Line()
2044 schannel = vctxt->serror; in xmlSchemaErr4Line()
2045 data = vctxt->errCtxt; in xmlSchemaErr4Line()
2053 (vctxt->depth >= 0) && in xmlSchemaErr4Line()
[all …]
DSAX2.c93 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlErrValid()
731 ctxt->vctxt.valid = 1; in xmlSAX2AttributeDecl()
733 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, elem, in xmlSAX2AttributeDecl()
737 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, elem, in xmlSAX2AttributeDecl()
748 if (ctxt->vctxt.valid == 0) in xmlSAX2AttributeDecl()
752 ctxt->valid &= xmlValidateAttributeDecl(&ctxt->vctxt, ctxt->myDoc, in xmlSAX2AttributeDecl()
786 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, in xmlSAX2ElementDecl()
789 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, in xmlSAX2ElementDecl()
803 xmlValidateElementDecl(&ctxt->vctxt, ctxt->myDoc, elem); in xmlSAX2ElementDecl()
837 nota = xmlAddNotationDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, name, in xmlSAX2NotationDecl()
[all …]
Dlegacy.c290 if (ctxt->vctxt.warning == NULL) in xmlSetFeature()
291 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlSetFeature()
292 if (ctxt->vctxt.error == NULL) in xmlSetFeature()
293 ctxt->vctxt.error = xmlParserValidityError; in xmlSetFeature()
294 ctxt->vctxt.nodeMax = 0; in xmlSetFeature()
DparserInternals.c1653 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in xmlInitParserCtxt()
1654 ctxt->vctxt.userData = ctxt; in xmlInitParserCtxt()
1655 ctxt->vctxt.error = xmlParserValidityError; in xmlInitParserCtxt()
1656 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1659 ctxt->vctxt.warning = NULL; in xmlInitParserCtxt()
1661 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1662 ctxt->vctxt.nodeMax = 0; in xmlInitParserCtxt()
1712 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
DdebugXML.c2355 xmlRelaxNGValidCtxtPtr vctxt; in xmlShellRNGValidate() local
2370 vctxt = xmlRelaxNGNewValidCtxt(relaxngschemas); in xmlShellRNGValidate()
2371 xmlRelaxNGSetValidErrors(vctxt, in xmlShellRNGValidate()
2375 ret = xmlRelaxNGValidateDoc(vctxt, sctxt->doc); in xmlShellRNGValidate()
2384 xmlRelaxNGFreeValidCtxt(vctxt); in xmlShellRNGValidate()
2639 xmlValidCtxt vctxt; in xmlShellValidate() local
2643 vctxt.userData = stderr; in xmlShellValidate()
2644 vctxt.error = (xmlValidityErrorFunc) fprintf; in xmlShellValidate()
2645 vctxt.warning = (xmlValidityWarningFunc) fprintf; in xmlShellValidate()
2648 res = xmlValidateDocument(&vctxt, ctxt->doc); in xmlShellValidate()
[all …]
Dxmlreader.c921 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
930 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
981 reader->ctxt->valid &= xmlValidatePushCData(&reader->ctxt->vctxt, in xmlTextReaderValidateCData()
1012 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
1021 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
2225 if ((reader->ctxt->vctxt.vstateTab != NULL) && in xmlFreeTextReader()
2226 (reader->ctxt->vctxt.vstateMax > 0)){ in xmlFreeTextReader()
2227 xmlFree(reader->ctxt->vctxt.vstateTab); in xmlFreeTextReader()
2228 reader->ctxt->vctxt.vstateTab = NULL; in xmlFreeTextReader()
2229 reader->ctxt->vctxt.vstateMax = 0; in xmlFreeTextReader()
[all …]
Dschematron.c1747 xmlSchematronValidCtxtPtr vctxt; in main() local
1766 vctxt = xmlSchematronNewValidCtxt(schema); in main()
1767 if (vctxt == NULL) { in main()
1770 ret = xmlSchematronValidateDoc(vctxt, instance); in main()
1771 xmlSchematronFreeValidCtxt(vctxt); in main()
Dxmllint.c1655 xmlSchemaValidCtxtPtr vctxt; in testSAX() local
1657 vctxt = xmlSchemaNewValidCtxt(wxschemas); in testSAX()
1658 xmlSchemaSetValidErrors(vctxt, in testSAX()
1663 ret = xmlSchemaValidateStream(vctxt, buf, 0, handler, in testSAX()
1677 xmlSchemaFreeValidCtxt(vctxt); in testSAX()
2207 ctxt->vctxt.error = xmlHTMLValidityError; in parseAndPrintFile()
2208 ctxt->vctxt.warning = xmlHTMLValidityWarning; in parseAndPrintFile()
Dparser.c555 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlValidityError()
2375 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) { in xmlParserHandlePEReference()
9394 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseElement()
10762 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseTryOrFinish()
12162 ctxt->vctxt.error = ctx->vctxt.error; in xmlParseCtxtExternalEntity()
12163 ctxt->vctxt.warning = ctx->vctxt.warning; in xmlParseCtxtExternalEntity()
12165 ctxt->vctxt.error = NULL; in xmlParseCtxtExternalEntity()
12166 ctxt->vctxt.warning = NULL; in xmlParseCtxtExternalEntity()
12168 ctxt->vctxt.nodeTab = NULL; in xmlParseCtxtExternalEntity()
12169 ctxt->vctxt.nodeNr = 0; in xmlParseCtxtExternalEntity()
[all …]
DHTMLparser.c4341 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in htmlInitParserCtxt()
4342 ctxt->vctxt.userData = ctxt; in htmlInitParserCtxt()
4343 ctxt->vctxt.error = xmlParserValidityError; in htmlInitParserCtxt()
4344 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlInitParserCtxt()
5900 ctxt->vctxt.userData = ctxt; in htmlCtxtReset()
5901 ctxt->vctxt.error = xmlParserValidityError; in htmlCtxtReset()
5902 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlCtxtReset()
5941 ctxt->vctxt.warning = NULL; in htmlCtxtUseOptions()
5947 ctxt->vctxt.error = NULL; in htmlCtxtUseOptions()
Drelaxng.c10619 xmlValidCtxt vctxt; in xmlRelaxNGValidateDocument() local
10621 memset(&vctxt, 0, sizeof(xmlValidCtxt)); in xmlRelaxNGValidateDocument()
10622 vctxt.valid = 1; in xmlRelaxNGValidateDocument()
10623 vctxt.error = ctxt->error; in xmlRelaxNGValidateDocument()
10624 vctxt.warning = ctxt->warning; in xmlRelaxNGValidateDocument()
10625 vctxt.userData = ctxt->userData; in xmlRelaxNGValidateDocument()
10627 if (xmlValidateDocumentFinal(&vctxt, doc) != 1) in xmlRelaxNGValidateDocument()
Dvalid.c6990 xmlValidCtxt vctxt; in xmlValidGetValidElements() local
7013 memset(&vctxt, 0, sizeof (xmlValidCtxt)); in xmlValidGetValidElements()
7014 vctxt.error = xmlNoValidityErr; /* this suppresses err/warn output */ in xmlValidGetValidElements()
7062 if (xmlValidateOneElement(&vctxt, parent->doc, parent)) { in xmlValidGetValidElements()
/external/libxml2/include/libxml/
Dparser.h218 xmlValidCtxt vctxt; /* The validity context */ member