Home | History | Annotate | Download | only in libxml2

Lines Matching defs:sax

975     xmlSAXHandlerPtr sax;
21785 if (vctxt->sax != NULL) {
26754 * When working with SAX.
26802 * mean that a streaming document via SAX would be
27169 * SAX validation handlers *
27233 /* SAX VAL TODO: What to do here? */
27254 * SAX VAL TODO: What to do with nb_defaulted?
27296 "allocating namespace bindings for SAX validation",
27310 "re-allocating namespace bindings for SAX validation",
27330 * SAX VAL TODO: We are not adding namespace declaration
27396 * SAX VAL TODO: Just a temporary check.
28042 } else if ((vctxt->sax != NULL) && (vctxt->parserCtxt != NULL)) {
28044 * SAX validation.
28116 * Function and data for SAX streaming API *
28145 /* All those functions just bounces to the user provided SAX handlers */
28457 * @sax: a pointer to the original xmlSAXHandlerPtr
28458 * @user_data: a pointer to the original SAX user data pointer
28460 * Plug a SAX based validation layer in a SAX parsing event flow.
28469 xmlSAXHandlerPtr *sax, void **user_data)
28474 if ((ctxt == NULL) || (sax == NULL) || (user_data == NULL))
28480 old_sax = *sax;
28499 ret->user_sax_ptr = sax;
28523 * things at the SAX level.
28593 *sax = &(ret->schemas_sax);
28594 ctxt->sax = *sax;
28604 * Unplug a SAX based validation layer in a SAX parsing event flow.
28612 xmlSAXHandlerPtr *sax;
28621 sax = plug->user_sax_ptr;
28622 *sax = plug->user_sax;
28638 * @sax: a SAX handler for the resulting events
28639 * @user_data: the context to provide to the SAX handler.
28641 * Validate an input based on a flow of SAX event from the parser
28642 * and forward the events to the @sax handler with the provided @user_data
28643 * the user provided @sax handler must be a SAX2 one.
28651 xmlSAXHandlerPtr sax, void *user_data)
28668 old_sax = pctxt->sax;
28669 pctxt->sax = sax;
28689 plug = xmlSchemaSAXPlug(ctxt, &(pctxt->sax), &(pctxt->userData));
28696 ctxt->sax = pctxt->sax;
28708 ctxt->sax = NULL;
28715 pctxt->sax = old_sax;
28728 * SAX streamable validation internally.