Lines Matching refs:sax
123 xmlSAXHandlerPtr sax; /* the parser SAX callbacks */ member
1067 if ((node->children == NULL) && (ctxt->sax != NULL) && in xmlTextReaderValidateEntity()
1068 (ctxt->sax->getEntity != NULL)) { in xmlTextReaderValidateEntity()
1070 ctxt->sax->getEntity(ctxt, node->name); in xmlTextReaderValidateEntity()
1521 if ((reader->node->children == NULL) && (reader->ctxt->sax != NULL) && in xmlTextReaderRead()
1522 (reader->ctxt->sax->getEntity != NULL)) { in xmlTextReaderRead()
1524 reader->ctxt->sax->getEntity(reader->ctxt, reader->node->name); in xmlTextReaderRead()
2061 ret->sax = (xmlSAXHandler *) xmlMalloc(sizeof(xmlSAXHandler)); in xmlNewTextReader()
2062 if (ret->sax == NULL) { in xmlNewTextReader()
2069 xmlSAXVersion(ret->sax, 2); in xmlNewTextReader()
2070 ret->startElement = ret->sax->startElement; in xmlNewTextReader()
2071 ret->sax->startElement = xmlTextReaderStartElement; in xmlNewTextReader()
2072 ret->endElement = ret->sax->endElement; in xmlNewTextReader()
2073 ret->sax->endElement = xmlTextReaderEndElement; in xmlNewTextReader()
2075 if (ret->sax->initialized == XML_SAX2_MAGIC) { in xmlNewTextReader()
2077 ret->startElementNs = ret->sax->startElementNs; in xmlNewTextReader()
2078 ret->sax->startElementNs = xmlTextReaderStartElementNs; in xmlNewTextReader()
2079 ret->endElementNs = ret->sax->endElementNs; in xmlNewTextReader()
2080 ret->sax->endElementNs = xmlTextReaderEndElementNs; in xmlNewTextReader()
2087 ret->characters = ret->sax->characters; in xmlNewTextReader()
2088 ret->sax->characters = xmlTextReaderCharacters; in xmlNewTextReader()
2089 ret->sax->ignorableWhitespace = xmlTextReaderCharacters; in xmlNewTextReader()
2090 ret->cdataBlock = ret->sax->cdataBlock; in xmlNewTextReader()
2091 ret->sax->cdataBlock = xmlTextReaderCDataBlock; in xmlNewTextReader()
2100 ret->ctxt = xmlCreatePushParserCtxt(ret->sax, NULL, in xmlNewTextReader()
2105 ret->ctxt = xmlCreatePushParserCtxt(ret->sax, NULL, NULL, 0, URI); in xmlNewTextReader()
2114 xmlFree(ret->sax); in xmlNewTextReader()
2234 if (reader->sax != NULL) in xmlFreeTextReader()
2235 xmlFree(reader->sax); in xmlFreeTextReader()
4173 &(reader->ctxt->sax), in xmlTextReaderSetSchema()
4350 &(reader->ctxt->sax), in xmlTextReaderSchemaValidateInternal()
4364 &(reader->ctxt->sax), in xmlTextReaderSchemaValidateInternal()
4730 reader->ctxt->sax->error = xmlTextReaderError; in xmlTextReaderSetErrorHandler()
4731 reader->ctxt->sax->serror = NULL; in xmlTextReaderSetErrorHandler()
4733 reader->ctxt->sax->warning = xmlTextReaderWarning; in xmlTextReaderSetErrorHandler()
4757 reader->ctxt->sax->error = xmlParserError; in xmlTextReaderSetErrorHandler()
4759 reader->ctxt->sax->warning = xmlParserWarning; in xmlTextReaderSetErrorHandler()
4792 reader->ctxt->sax->error = NULL; in xmlTextReaderSetStructuredErrorHandler()
4793 reader->ctxt->sax->serror = xmlTextReaderStructuredError; in xmlTextReaderSetStructuredErrorHandler()
4795 reader->ctxt->sax->warning = xmlTextReaderWarning; in xmlTextReaderSetStructuredErrorHandler()
4817 reader->ctxt->sax->error = xmlParserError; in xmlTextReaderSetStructuredErrorHandler()
4818 reader->ctxt->sax->serror = NULL; in xmlTextReaderSetStructuredErrorHandler()
4820 reader->ctxt->sax->warning = xmlParserWarning; in xmlTextReaderSetStructuredErrorHandler()
4934 if (reader->sax == NULL) in xmlTextReaderSetup()
4935 reader->sax = (xmlSAXHandler *) xmlMalloc(sizeof(xmlSAXHandler)); in xmlTextReaderSetup()
4936 if (reader->sax == NULL) { in xmlTextReaderSetup()
4941 xmlSAXVersion(reader->sax, 2); in xmlTextReaderSetup()
4942 reader->startElement = reader->sax->startElement; in xmlTextReaderSetup()
4943 reader->sax->startElement = xmlTextReaderStartElement; in xmlTextReaderSetup()
4944 reader->endElement = reader->sax->endElement; in xmlTextReaderSetup()
4945 reader->sax->endElement = xmlTextReaderEndElement; in xmlTextReaderSetup()
4947 if (reader->sax->initialized == XML_SAX2_MAGIC) { in xmlTextReaderSetup()
4949 reader->startElementNs = reader->sax->startElementNs; in xmlTextReaderSetup()
4950 reader->sax->startElementNs = xmlTextReaderStartElementNs; in xmlTextReaderSetup()
4951 reader->endElementNs = reader->sax->endElementNs; in xmlTextReaderSetup()
4952 reader->sax->endElementNs = xmlTextReaderEndElementNs; in xmlTextReaderSetup()
4959 reader->characters = reader->sax->characters; in xmlTextReaderSetup()
4960 reader->sax->characters = xmlTextReaderCharacters; in xmlTextReaderSetup()
4961 reader->sax->ignorableWhitespace = xmlTextReaderCharacters; in xmlTextReaderSetup()
4962 reader->cdataBlock = reader->sax->cdataBlock; in xmlTextReaderSetup()
4963 reader->sax->cdataBlock = xmlTextReaderCDataBlock; in xmlTextReaderSetup()
4974 reader->ctxt = xmlCreatePushParserCtxt(reader->sax, NULL, in xmlTextReaderSetup()
4980 xmlCreatePushParserCtxt(reader->sax, NULL, NULL, 0, URL); in xmlTextReaderSetup()