• Home
  • Raw
  • Download

Lines Matching refs:elemDecl

1116 xmlSchemaCheckElementDeclComponent(xmlSchemaElementPtr elemDecl,
4203 if (schema->elemDecl != NULL) in xmlSchemaFree()
4204 xmlHashFree(schema->elemDecl, NULL); in xmlSchemaFree()
4606 xmlHashScanFull(schema->elemDecl, xmlSchemaElementDump, output); in xmlSchemaDump()
4836 WXS_FIND_GLOBAL_ITEM(elemDecl) in xmlSchemaGetElem()
12649 xmlSchemaElementPtr elemDecl, member; in xmlSchemaBuildContentModelForSubstGroup() local
12654 elemDecl = (xmlSchemaElementPtr) particle->children; in xmlSchemaBuildContentModelForSubstGroup()
12661 substGroup = xmlSchemaSubstGroupGet(pctxt, elemDecl); in xmlSchemaBuildContentModelForSubstGroup()
12667 "available.\n", elemDecl->name, NULL); in xmlSchemaBuildContentModelForSubstGroup()
12679 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForSubstGroup()
12695 elemDecl->name, elemDecl->targetNamespace, elemDecl), end); in xmlSchemaBuildContentModelForSubstGroup()
12732 elemDecl->name, elemDecl->targetNamespace, elemDecl), in xmlSchemaBuildContentModelForSubstGroup()
12774 xmlSchemaElementPtr elemDecl; in xmlSchemaBuildContentModelForElement() local
12777 elemDecl = (xmlSchemaElementPtr) particle->children; in xmlSchemaBuildContentModelForElement()
12779 if (elemDecl->flags & XML_SCHEMAS_ELEM_ABSTRACT) in xmlSchemaBuildContentModelForElement()
12784 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForElement()
12790 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForElement()
12792 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForElement()
12803 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForElement()
13134 xmlSchemaElementPtr elemDecl; in xmlSchemaBuildAContentModel() local
13151 elemDecl = (xmlSchemaElementPtr) sub->children; in xmlSchemaBuildAContentModel()
13152 if (elemDecl == NULL) { in xmlSchemaBuildAContentModel()
13163 if (elemDecl->flags & XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD) { in xmlSchemaBuildAContentModel()
13180 elemDecl->name, in xmlSchemaBuildAContentModel()
13181 elemDecl->targetNamespace, in xmlSchemaBuildAContentModel()
13182 1, 1, elemDecl); in xmlSchemaBuildAContentModel()
13188 elemDecl->name, in xmlSchemaBuildAContentModel()
13189 elemDecl->targetNamespace, in xmlSchemaBuildAContentModel()
13192 elemDecl); in xmlSchemaBuildAContentModel()
13294 xmlSchemaResolveElementReferences(xmlSchemaElementPtr elemDecl, in xmlSchemaResolveElementReferences() argument
13297 if ((ctxt == NULL) || (elemDecl == NULL) || in xmlSchemaResolveElementReferences()
13298 ((elemDecl != NULL) && in xmlSchemaResolveElementReferences()
13299 (elemDecl->flags & XML_SCHEMAS_ELEM_INTERNAL_RESOLVED))) in xmlSchemaResolveElementReferences()
13301 elemDecl->flags |= XML_SCHEMAS_ELEM_INTERNAL_RESOLVED; in xmlSchemaResolveElementReferences()
13303 if ((elemDecl->subtypes == NULL) && (elemDecl->namedType != NULL)) { in xmlSchemaResolveElementReferences()
13309 type = xmlSchemaGetType(ctxt->schema, elemDecl->namedType, in xmlSchemaResolveElementReferences()
13310 elemDecl->namedTypeNs); in xmlSchemaResolveElementReferences()
13314 WXS_BASIC_CAST elemDecl, elemDecl->node, in xmlSchemaResolveElementReferences()
13315 "type", elemDecl->namedType, elemDecl->namedTypeNs, in xmlSchemaResolveElementReferences()
13318 elemDecl->subtypes = type; in xmlSchemaResolveElementReferences()
13320 if (elemDecl->substGroup != NULL) { in xmlSchemaResolveElementReferences()
13327 substHead = xmlSchemaGetElem(ctxt->schema, elemDecl->substGroup, in xmlSchemaResolveElementReferences()
13328 elemDecl->substGroupNs); in xmlSchemaResolveElementReferences()
13332 WXS_BASIC_CAST elemDecl, NULL, in xmlSchemaResolveElementReferences()
13333 "substitutionGroup", elemDecl->substGroup, in xmlSchemaResolveElementReferences()
13334 elemDecl->substGroupNs, XML_SCHEMA_TYPE_ELEMENT, NULL); in xmlSchemaResolveElementReferences()
13341 WXS_SUBST_HEAD(elemDecl) = substHead; in xmlSchemaResolveElementReferences()
13348 if (elemDecl->subtypes == NULL) { in xmlSchemaResolveElementReferences()
13355 elemDecl->subtypes = xmlSchemaGetBuiltInType( in xmlSchemaResolveElementReferences()
13358 elemDecl->subtypes = substHead->subtypes; in xmlSchemaResolveElementReferences()
13367 if ((elemDecl->subtypes == NULL) && in xmlSchemaResolveElementReferences()
13368 (elemDecl->namedType == NULL) && in xmlSchemaResolveElementReferences()
13369 (elemDecl->substGroup == NULL)) in xmlSchemaResolveElementReferences()
13370 elemDecl->subtypes = xmlSchemaGetBuiltInType(XML_SCHEMAS_ANYTYPE); in xmlSchemaResolveElementReferences()
19694 xmlSchemaCheckSubstGroupCircular(xmlSchemaElementPtr elemDecl, in xmlSchemaCheckSubstGroupCircular() argument
19701 if (WXS_SUBST_HEAD(ancestor) == elemDecl) in xmlSchemaCheckSubstGroupCircular()
19707 ret = xmlSchemaCheckSubstGroupCircular(elemDecl, in xmlSchemaCheckSubstGroupCircular()
19728 xmlSchemaElementPtr elemDecl) in xmlSchemaCheckElemPropsCorrect() argument
19731 xmlSchemaTypePtr typeDef = WXS_ELEM_TYPEDEF(elemDecl); in xmlSchemaCheckElemPropsCorrect()
19738 if (WXS_SUBST_HEAD(elemDecl) != NULL) { in xmlSchemaCheckElemPropsCorrect()
19739 xmlSchemaElementPtr head = WXS_SUBST_HEAD(elemDecl), circ; in xmlSchemaCheckElemPropsCorrect()
19746 if ((elemDecl->flags & XML_SCHEMAS_ELEM_GLOBAL) == 0) { in xmlSchemaCheckElemPropsCorrect()
19749 WXS_BASIC_CAST elemDecl, NULL, in xmlSchemaCheckElemPropsCorrect()
19760 if (head == elemDecl) in xmlSchemaCheckElemPropsCorrect()
19796 if (typeDef != WXS_ELEM_TYPEDEF(WXS_SUBST_HEAD(elemDecl))) { in xmlSchemaCheckElemPropsCorrect()
19811 WXS_BASIC_CAST elemDecl, NULL, in xmlSchemaCheckElemPropsCorrect()
19832 if ((elemDecl->value != NULL) && in xmlSchemaCheckElemPropsCorrect()
19843 WXS_BASIC_CAST elemDecl, NULL, in xmlSchemaCheckElemPropsCorrect()
19847 } else if (elemDecl->value != NULL) { in xmlSchemaCheckElemPropsCorrect()
19858 xmlSchemaPErr(pctxt, elemDecl->node, in xmlSchemaCheckElemPropsCorrect()
19865 if (elemDecl->node != NULL) { in xmlSchemaCheckElemPropsCorrect()
19866 if (elemDecl->flags & XML_SCHEMAS_ELEM_FIXED) in xmlSchemaCheckElemPropsCorrect()
19867 node = (xmlNodePtr) xmlHasProp(elemDecl->node, in xmlSchemaCheckElemPropsCorrect()
19870 node = (xmlNodePtr) xmlHasProp(elemDecl->node, in xmlSchemaCheckElemPropsCorrect()
19874 typeDef, elemDecl->value, &(elemDecl->defVal)); in xmlSchemaCheckElemPropsCorrect()
19910 xmlSchemaElementPtr elemDecl) in xmlSchemaCheckElemSubstGroup() argument
19912 if ((WXS_SUBST_HEAD(elemDecl) == NULL) || in xmlSchemaCheckElemSubstGroup()
19914 (elemDecl->flags & XML_SCHEMAS_ELEM_ABSTRACT)) in xmlSchemaCheckElemSubstGroup()
19925 for (head = WXS_SUBST_HEAD(elemDecl); head != NULL; in xmlSchemaCheckElemSubstGroup()
19935 type = elemDecl->subtypes; in xmlSchemaCheckElemSubstGroup()
19975 type = elemDecl->subtypes->baseType; in xmlSchemaCheckElemSubstGroup()
20000 xmlSchemaAddElementSubstitutionMember(ctxt, head, elemDecl); in xmlSchemaCheckElemSubstGroup()
20134 xmlSchemaCheckElementDeclComponent(xmlSchemaElementPtr elemDecl, in xmlSchemaCheckElementDeclComponent() argument
20137 if (elemDecl == NULL) in xmlSchemaCheckElementDeclComponent()
20139 if (elemDecl->flags & XML_SCHEMAS_ELEM_INTERNAL_CHECKED) in xmlSchemaCheckElementDeclComponent()
20141 elemDecl->flags |= XML_SCHEMAS_ELEM_INTERNAL_CHECKED; in xmlSchemaCheckElementDeclComponent()
20142 if (xmlSchemaCheckElemPropsCorrect(ctxt, elemDecl) == 0) { in xmlSchemaCheckElementDeclComponent()
20146 xmlSchemaCheckElemSubstGroup(ctxt, elemDecl); in xmlSchemaCheckElementDeclComponent()
20890 WXS_GET_GLOBAL_HASH(bucket, elemDecl) in xmlSchemaAddComponents()
20970 xmlSchemaElementPtr elemDecl; in xmlSchemaFixupComponents() local
21344 elemDecl = (xmlSchemaElementPtr) item; in xmlSchemaFixupComponents()
21346 if ((elemDecl->flags & XML_SCHEMAS_ELEM_INTERNAL_CHECKED) == 0) in xmlSchemaFixupComponents()
21349 (xmlSchemaElementPtr) elemDecl, pctxt); in xmlSchemaFixupComponents()
21358 if ((WXS_ELEM_TYPEDEF(elemDecl) != NULL) && in xmlSchemaFixupComponents()
21359 (WXS_IS_COMPLEX(WXS_ELEM_TYPEDEF(elemDecl))) && in xmlSchemaFixupComponents()
21360 (WXS_TYPE_IS_LOCAL(WXS_ELEM_TYPEDEF(elemDecl)))) in xmlSchemaFixupComponents()
21363 WXS_BASIC_CAST elemDecl, in xmlSchemaFixupComponents()
21364 WXS_TYPE_PARTICLE(WXS_ELEM_TYPEDEF(elemDecl)), in xmlSchemaFixupComponents()
23382 xmlSchemaElementPtr elemDecl) in xmlSchemaIDCRegisterMatchers() argument
23388 idc = (xmlSchemaIDCPtr) elemDecl->idcs; in xmlSchemaIDCRegisterMatchers()
25112 xmlSchemaElementPtr elemDecl) in xmlSchemaProcessXSIType() argument
25167 if (elemDecl != NULL) { in xmlSchemaProcessXSIType()
25190 if ((elemDecl->flags & XML_SCHEMAS_ELEM_BLOCK_EXTENSION) || in xmlSchemaProcessXSIType()
25191 (elemDecl->subtypes->flags & in xmlSchemaProcessXSIType()
25195 if ((elemDecl->flags & XML_SCHEMAS_ELEM_BLOCK_RESTRICTION) || in xmlSchemaProcessXSIType()
25196 (elemDecl->subtypes->flags & in xmlSchemaProcessXSIType()
25212 elemDecl->subtypes, set) != 0) { in xmlSchemaProcessXSIType()
25241 xmlSchemaElementPtr elemDecl = vctxt->inode->decl; in xmlSchemaValidateElemDecl() local
25247 if (elemDecl == NULL) { in xmlSchemaValidateElemDecl()
25252 actualType = WXS_ELEM_TYPEDEF(elemDecl); in xmlSchemaValidateElemDecl()
25256 if (elemDecl->flags & XML_SCHEMAS_ELEM_ABSTRACT) { in xmlSchemaValidateElemDecl()
25292 if ((elemDecl->flags & XML_SCHEMAS_ELEM_NILLABLE) == 0) { in xmlSchemaValidateElemDecl()
25304 if ((elemDecl->flags & XML_SCHEMAS_ELEM_FIXED) && in xmlSchemaValidateElemDecl()
25305 (elemDecl->value != NULL)) { in xmlSchemaValidateElemDecl()
25328 elemDecl); in xmlSchemaValidateElemDecl()
25347 if ((elemDecl->idcs != NULL) && in xmlSchemaValidateElemDecl()
25348 (xmlSchemaIDCRegisterMatchers(vctxt, elemDecl) == -1)) in xmlSchemaValidateElemDecl()