Lines Matching defs:elem
384 xmlRegExecCtxtPtr elem; /* the current element regexp */
3352 xmlNodePtr elem);
8099 ctxt->elem = exec;
8122 ctxt->elem = ctxt->elemTab[ctxt->elemNr - 1];
8124 ctxt->elem = NULL;
8277 * @elem: an element instance
8287 xmlNodePtr elem)
8291 if ((ctxt == NULL) || (elem == NULL))
8295 xmlGenericError(xmlGenericErrorContext, "PushElem %s\n", elem->name);
8297 if (ctxt->elem == 0) {
8326 ctxt->pnode = elem;
8328 if (elem->ns != NULL) {
8330 xmlRegExecPushString2(ctxt->elem, elem->name, elem->ns->href,
8333 ret = xmlRegExecPushString(ctxt->elem, elem->name, ctxt);
8336 VALID_ERR2(XML_RELAXNG_ERR_ELEMWRONG, elem->name);
8348 elem->name);
8369 if ((ctxt == NULL) || (ctxt->elem == NULL) || (data == NULL))
8384 ret = xmlRegExecPushString(ctxt->elem, BAD_CAST "#text", ctxt);
8400 * @elem: an element instance
8409 xmlNodePtr elem)
8414 if ((ctxt == NULL) || (ctxt->elem == NULL) || (elem == NULL))
8417 xmlGenericError(xmlGenericErrorContext, "PopElem %s\n", elem->name);
8439 elem->name);
8448 * @elem: an element instance
8458 xmlNodePtr elem)
8463 if ((ctxt == NULL) || (ctxt->pdef == NULL) || (elem == NULL))
8466 xmlGenericError(xmlGenericErrorContext, "FullElem %s\n", elem->name);
8468 state = xmlRelaxNGNewValidState(ctxt, elem->parent);
8472 state->seq = elem;
8485 elem->name);
9608 * @elem: the element
9616 xmlRelaxNGDefinePtr define, xmlNodePtr elem)
9621 if (!xmlStrEqual(elem->name, define->name)) {
9622 VALID_ERR3(XML_RELAXNG_ERR_ELEMNAME, define->name, elem->name);
9627 if (elem->ns == NULL) {
9628 VALID_ERR2(XML_RELAXNG_ERR_ELEMNONS, elem->name);
9630 } else if (!xmlStrEqual(elem->ns->href, define->ns)) {
9632 elem->name, define->ns);
9635 } else if ((elem->ns != NULL) && (define->ns != NULL) &&
9637 VALID_ERR2(XML_RELAXNG_ERR_ELEMEXTRANS, elem->name);
9639 } else if ((elem->ns != NULL) && (define->name != NULL)) {
9658 ret = xmlRelaxNGElementMatch(ctxt, list, elem);
9685 ret = xmlRelaxNGElementMatch(ctxt, list, elem);
10113 xmlGenericError(xmlGenericErrorContext, ": next elem %s\n",