Home | History | Annotate | Download | only in libxml2

Lines Matching refs:elemDecl

267     xmlElementPtr	 elemDecl;	/* pointer to the content model */
274 vstateVPush(xmlValidCtxtPtr ctxt, xmlElementPtr elemDecl, xmlNodePtr node) {
298 ctxt->vstateTab[ctxt->vstateNr].elemDecl = elemDecl;
300 if ((elemDecl != NULL) && (elemDecl->etype == XML_ELEMENT_TYPE_ELEMENT)) {
301 if (elemDecl->contModel == NULL)
302 xmlValidBuildContentModel(ctxt, elemDecl);
303 if (elemDecl->contModel != NULL) {
305 xmlRegNewExecCtxt(elemDecl->contModel, NULL, NULL);
308 xmlErrValidNode(ctxt, (xmlNodePtr) elemDecl,
319 xmlElementPtr elemDecl;
323 elemDecl = ctxt->vstateTab[ctxt->vstateNr].elemDecl;
324 ctxt->vstateTab[ctxt->vstateNr].elemDecl = NULL;
326 if ((elemDecl != NULL) && (elemDecl->etype == XML_ELEMENT_TYPE_ELEMENT)) {
3384 xmlElementPtr elemDecl;
3388 elemDecl = xmlGetDtdElementDesc(doc->intSubset, name);
3389 if ((elemDecl == NULL) && (doc->extSubset != NULL))
3390 elemDecl = xmlGetDtdElementDesc(doc->extSubset, name);
3391 if (elemDecl == NULL) return(-1);
3392 switch (elemDecl->etype) {
4528 /* xmlElementPtr elemDecl; */
5219 * @elemDecl: pointer to the element declaration
5230 xmlElementPtr elemDecl, int warn, xmlNodePtr parent) {
5239 if (elemDecl == NULL)
5241 cont = elemDecl->content;
5242 name = elemDecl->name;
5246 if (elemDecl->contModel == NULL)
5247 ret = xmlValidBuildContentModel(ctxt, elemDecl);
5248 if (elemDecl->contModel == NULL) {
5253 if (!xmlRegexpIsDeterminist(elemDecl->contModel)) {
5259 exec = xmlRegNewExecCtxt(elemDecl->contModel, NULL, NULL);
5651 xmlElementPtr elemDecl = NULL;
5667 elemDecl = xmlGetDtdQElementDesc(doc->intSubset,
5669 if ((elemDecl == NULL) && (doc->extSubset != NULL)) {
5670 elemDecl = xmlGetDtdQElementDesc(doc->extSubset,
5672 if ((elemDecl != NULL) && (extsubset != NULL))
5682 if (elemDecl == NULL) {
5683 elemDecl = xmlGetDtdElementDesc(doc->intSubset, elem->name);
5684 if ((elemDecl == NULL) && (doc->extSubset != NULL)) {
5685 elemDecl = xmlGetDtdElementDesc(doc->extSubset, elem->name);
5686 if ((elemDecl != NULL) && (extsubset != NULL))
5690 if (elemDecl == NULL) {
5696 return(elemDecl);
5723 xmlElementPtr elemDecl;
5728 if (state->elemDecl != NULL) {
5729 elemDecl = state->elemDecl;
5731 switch(elemDecl->etype) {
5747 if ((elemDecl->content != NULL) &&
5748 (elemDecl->content->type ==
5756 ret = xmlValidateCheckMixed(ctxt, elemDecl->content,
5815 xmlElementPtr elemDecl;
5820 if (state->elemDecl != NULL) {
5821 elemDecl = state->elemDecl;
5823 switch(elemDecl->etype) {
5889 xmlElementPtr elemDecl;
5894 if (state->elemDecl != NULL) {
5895 elemDecl = state->elemDecl;
5897 if (elemDecl->etype == XML_ELEMENT_TYPE_ELEMENT) {
5942 xmlElementPtr elemDecl = NULL;
6015 elemDecl = xmlValidGetElemDecl(ctxt, doc, elem, &extsubset);
6016 if (elemDecl == NULL)
6025 switch (elemDecl->etype) {
6045 if ((elemDecl->content != NULL) &&
6046 (elemDecl->content->type == XML_ELEMENT_CONTENT_PCDATA)) {
6068 cont = elemDecl->content;
6093 cont = elemDecl->content;
6149 cont = elemDecl->content;
6150 tmp = xmlValidateElementContent(ctxt, child, elemDecl, 1, elem);
6158 attr = elemDecl->attributes;