• Home
  • Raw
  • Download

Lines Matching refs:elemDecl

1132 xmlSchemaCheckElementDeclComponent(xmlSchemaElementPtr elemDecl,
4187 if (schema->elemDecl != NULL) in xmlSchemaFree()
4188 xmlHashFree(schema->elemDecl, NULL); in xmlSchemaFree()
4590 xmlHashScanFull(schema->elemDecl, xmlSchemaElementDump, output); in xmlSchemaDump()
4820 WXS_FIND_GLOBAL_ITEM(elemDecl) in xmlSchemaGetElem()
12627 xmlSchemaElementPtr elemDecl, member; in xmlSchemaBuildContentModelForSubstGroup() local
12632 elemDecl = (xmlSchemaElementPtr) particle->children; in xmlSchemaBuildContentModelForSubstGroup()
12639 substGroup = xmlSchemaSubstGroupGet(pctxt, elemDecl); in xmlSchemaBuildContentModelForSubstGroup()
12645 "available.\n", elemDecl->name, NULL); in xmlSchemaBuildContentModelForSubstGroup()
12657 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForSubstGroup()
12673 elemDecl->name, elemDecl->targetNamespace, elemDecl), end); in xmlSchemaBuildContentModelForSubstGroup()
12710 elemDecl->name, elemDecl->targetNamespace, elemDecl), in xmlSchemaBuildContentModelForSubstGroup()
12752 xmlSchemaElementPtr elemDecl; in xmlSchemaBuildContentModelForElement() local
12755 elemDecl = (xmlSchemaElementPtr) particle->children; in xmlSchemaBuildContentModelForElement()
12757 if (elemDecl->flags & XML_SCHEMAS_ELEM_ABSTRACT) in xmlSchemaBuildContentModelForElement()
12762 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForElement()
12768 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForElement()
12770 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForElement()
12781 elemDecl->name, elemDecl->targetNamespace, elemDecl); in xmlSchemaBuildContentModelForElement()
13112 xmlSchemaElementPtr elemDecl; in xmlSchemaBuildAContentModel() local
13129 elemDecl = (xmlSchemaElementPtr) sub->children; in xmlSchemaBuildAContentModel()
13130 if (elemDecl == NULL) { in xmlSchemaBuildAContentModel()
13141 if (elemDecl->flags & XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD) { in xmlSchemaBuildAContentModel()
13158 elemDecl->name, in xmlSchemaBuildAContentModel()
13159 elemDecl->targetNamespace, in xmlSchemaBuildAContentModel()
13160 1, 1, elemDecl); in xmlSchemaBuildAContentModel()
13166 elemDecl->name, in xmlSchemaBuildAContentModel()
13167 elemDecl->targetNamespace, in xmlSchemaBuildAContentModel()
13170 elemDecl); in xmlSchemaBuildAContentModel()
13272 xmlSchemaResolveElementReferences(xmlSchemaElementPtr elemDecl, in xmlSchemaResolveElementReferences() argument
13275 if ((ctxt == NULL) || (elemDecl == NULL) || in xmlSchemaResolveElementReferences()
13276 ((elemDecl != NULL) && in xmlSchemaResolveElementReferences()
13277 (elemDecl->flags & XML_SCHEMAS_ELEM_INTERNAL_RESOLVED))) in xmlSchemaResolveElementReferences()
13279 elemDecl->flags |= XML_SCHEMAS_ELEM_INTERNAL_RESOLVED; in xmlSchemaResolveElementReferences()
13281 if ((elemDecl->subtypes == NULL) && (elemDecl->namedType != NULL)) { in xmlSchemaResolveElementReferences()
13287 type = xmlSchemaGetType(ctxt->schema, elemDecl->namedType, in xmlSchemaResolveElementReferences()
13288 elemDecl->namedTypeNs); in xmlSchemaResolveElementReferences()
13292 WXS_BASIC_CAST elemDecl, elemDecl->node, in xmlSchemaResolveElementReferences()
13293 "type", elemDecl->namedType, elemDecl->namedTypeNs, in xmlSchemaResolveElementReferences()
13296 elemDecl->subtypes = type; in xmlSchemaResolveElementReferences()
13298 if (elemDecl->substGroup != NULL) { in xmlSchemaResolveElementReferences()
13305 substHead = xmlSchemaGetElem(ctxt->schema, elemDecl->substGroup, in xmlSchemaResolveElementReferences()
13306 elemDecl->substGroupNs); in xmlSchemaResolveElementReferences()
13310 WXS_BASIC_CAST elemDecl, NULL, in xmlSchemaResolveElementReferences()
13311 "substitutionGroup", elemDecl->substGroup, in xmlSchemaResolveElementReferences()
13312 elemDecl->substGroupNs, XML_SCHEMA_TYPE_ELEMENT, NULL); in xmlSchemaResolveElementReferences()
13319 WXS_SUBST_HEAD(elemDecl) = substHead; in xmlSchemaResolveElementReferences()
13326 if (elemDecl->subtypes == NULL) in xmlSchemaResolveElementReferences()
13327 elemDecl->subtypes = substHead->subtypes; in xmlSchemaResolveElementReferences()
13334 if ((elemDecl->subtypes == NULL) && in xmlSchemaResolveElementReferences()
13335 (elemDecl->namedType == NULL) && in xmlSchemaResolveElementReferences()
13336 (elemDecl->substGroup == NULL)) in xmlSchemaResolveElementReferences()
13337 elemDecl->subtypes = xmlSchemaGetBuiltInType(XML_SCHEMAS_ANYTYPE); in xmlSchemaResolveElementReferences()
19621 xmlSchemaCheckSubstGroupCircular(xmlSchemaElementPtr elemDecl, in xmlSchemaCheckSubstGroupCircular() argument
19628 if (WXS_SUBST_HEAD(ancestor) == elemDecl) in xmlSchemaCheckSubstGroupCircular()
19634 ret = xmlSchemaCheckSubstGroupCircular(elemDecl, in xmlSchemaCheckSubstGroupCircular()
19655 xmlSchemaElementPtr elemDecl) in xmlSchemaCheckElemPropsCorrect() argument
19658 xmlSchemaTypePtr typeDef = WXS_ELEM_TYPEDEF(elemDecl); in xmlSchemaCheckElemPropsCorrect()
19665 if (WXS_SUBST_HEAD(elemDecl) != NULL) { in xmlSchemaCheckElemPropsCorrect()
19666 xmlSchemaElementPtr head = WXS_SUBST_HEAD(elemDecl), circ; in xmlSchemaCheckElemPropsCorrect()
19673 if ((elemDecl->flags & XML_SCHEMAS_ELEM_GLOBAL) == 0) { in xmlSchemaCheckElemPropsCorrect()
19676 WXS_BASIC_CAST elemDecl, NULL, in xmlSchemaCheckElemPropsCorrect()
19687 if (head == elemDecl) in xmlSchemaCheckElemPropsCorrect()
19723 if (typeDef != WXS_ELEM_TYPEDEF(WXS_SUBST_HEAD(elemDecl))) { in xmlSchemaCheckElemPropsCorrect()
19738 WXS_BASIC_CAST elemDecl, NULL, in xmlSchemaCheckElemPropsCorrect()
19759 if ((elemDecl->value != NULL) && in xmlSchemaCheckElemPropsCorrect()
19770 WXS_BASIC_CAST elemDecl, NULL, in xmlSchemaCheckElemPropsCorrect()
19774 } else if (elemDecl->value != NULL) { in xmlSchemaCheckElemPropsCorrect()
19785 xmlSchemaPErr(pctxt, elemDecl->node, in xmlSchemaCheckElemPropsCorrect()
19792 if (elemDecl->node != NULL) { in xmlSchemaCheckElemPropsCorrect()
19793 if (elemDecl->flags & XML_SCHEMAS_ELEM_FIXED) in xmlSchemaCheckElemPropsCorrect()
19794 node = (xmlNodePtr) xmlHasProp(elemDecl->node, in xmlSchemaCheckElemPropsCorrect()
19797 node = (xmlNodePtr) xmlHasProp(elemDecl->node, in xmlSchemaCheckElemPropsCorrect()
19801 typeDef, elemDecl->value, &(elemDecl->defVal)); in xmlSchemaCheckElemPropsCorrect()
19837 xmlSchemaElementPtr elemDecl) in xmlSchemaCheckElemSubstGroup() argument
19839 if ((WXS_SUBST_HEAD(elemDecl) == NULL) || in xmlSchemaCheckElemSubstGroup()
19841 (elemDecl->flags & XML_SCHEMAS_ELEM_ABSTRACT)) in xmlSchemaCheckElemSubstGroup()
19852 for (head = WXS_SUBST_HEAD(elemDecl); head != NULL; in xmlSchemaCheckElemSubstGroup()
19862 type = elemDecl->subtypes; in xmlSchemaCheckElemSubstGroup()
19902 type = elemDecl->subtypes->baseType; in xmlSchemaCheckElemSubstGroup()
19927 xmlSchemaAddElementSubstitutionMember(ctxt, head, elemDecl); in xmlSchemaCheckElemSubstGroup()
20061 xmlSchemaCheckElementDeclComponent(xmlSchemaElementPtr elemDecl, in xmlSchemaCheckElementDeclComponent() argument
20064 if (elemDecl == NULL) in xmlSchemaCheckElementDeclComponent()
20066 if (elemDecl->flags & XML_SCHEMAS_ELEM_INTERNAL_CHECKED) in xmlSchemaCheckElementDeclComponent()
20068 elemDecl->flags |= XML_SCHEMAS_ELEM_INTERNAL_CHECKED; in xmlSchemaCheckElementDeclComponent()
20069 if (xmlSchemaCheckElemPropsCorrect(ctxt, elemDecl) == 0) { in xmlSchemaCheckElementDeclComponent()
20073 xmlSchemaCheckElemSubstGroup(ctxt, elemDecl); in xmlSchemaCheckElementDeclComponent()
20817 WXS_GET_GLOBAL_HASH(bucket, elemDecl) in xmlSchemaAddComponents()
20897 xmlSchemaElementPtr elemDecl; in xmlSchemaFixupComponents() local
21271 elemDecl = (xmlSchemaElementPtr) item; in xmlSchemaFixupComponents()
21273 if ((elemDecl->flags & XML_SCHEMAS_ELEM_INTERNAL_CHECKED) == 0) in xmlSchemaFixupComponents()
21276 (xmlSchemaElementPtr) elemDecl, pctxt); in xmlSchemaFixupComponents()
21285 if ((WXS_ELEM_TYPEDEF(elemDecl) != NULL) && in xmlSchemaFixupComponents()
21286 (WXS_IS_COMPLEX(WXS_ELEM_TYPEDEF(elemDecl))) && in xmlSchemaFixupComponents()
21287 (WXS_TYPE_IS_LOCAL(WXS_ELEM_TYPEDEF(elemDecl)))) in xmlSchemaFixupComponents()
21290 WXS_BASIC_CAST elemDecl, in xmlSchemaFixupComponents()
21291 WXS_TYPE_PARTICLE(WXS_ELEM_TYPEDEF(elemDecl)), in xmlSchemaFixupComponents()
23243 xmlSchemaElementPtr elemDecl) in xmlSchemaIDCRegisterMatchers() argument
23249 idc = (xmlSchemaIDCPtr) elemDecl->idcs; in xmlSchemaIDCRegisterMatchers()
24942 xmlSchemaElementPtr elemDecl) in xmlSchemaProcessXSIType() argument
24997 if (elemDecl != NULL) { in xmlSchemaProcessXSIType()
25020 if ((elemDecl->flags & XML_SCHEMAS_ELEM_BLOCK_EXTENSION) || in xmlSchemaProcessXSIType()
25021 (elemDecl->subtypes->flags & in xmlSchemaProcessXSIType()
25025 if ((elemDecl->flags & XML_SCHEMAS_ELEM_BLOCK_RESTRICTION) || in xmlSchemaProcessXSIType()
25026 (elemDecl->subtypes->flags & in xmlSchemaProcessXSIType()
25042 elemDecl->subtypes, set) != 0) { in xmlSchemaProcessXSIType()
25071 xmlSchemaElementPtr elemDecl = vctxt->inode->decl; in xmlSchemaValidateElemDecl() local
25077 if (elemDecl == NULL) { in xmlSchemaValidateElemDecl()
25082 actualType = WXS_ELEM_TYPEDEF(elemDecl); in xmlSchemaValidateElemDecl()
25086 if (elemDecl->flags & XML_SCHEMAS_ELEM_ABSTRACT) { in xmlSchemaValidateElemDecl()
25122 if ((elemDecl->flags & XML_SCHEMAS_ELEM_NILLABLE) == 0) { in xmlSchemaValidateElemDecl()
25134 if ((elemDecl->flags & XML_SCHEMAS_ELEM_FIXED) && in xmlSchemaValidateElemDecl()
25135 (elemDecl->value != NULL)) { in xmlSchemaValidateElemDecl()
25158 elemDecl); in xmlSchemaValidateElemDecl()
25177 if ((elemDecl->idcs != NULL) && in xmlSchemaValidateElemDecl()
25178 (xmlSchemaIDCRegisterMatchers(vctxt, elemDecl) == -1)) in xmlSchemaValidateElemDecl()