• Home
  • Raw
  • Download

Lines Matching refs:iattr

21829 	xmlSchemaAttrInfoPtr iattr;  in xmlSchemaGetMetaAttrInfo()  local
21832 iattr = vctxt->attrInfos[i]; in xmlSchemaGetMetaAttrInfo()
21833 if (iattr->metaType == metaType) in xmlSchemaGetMetaAttrInfo()
21834 return (iattr); in xmlSchemaGetMetaAttrInfo()
21860 xmlSchemaAttrInfoPtr iattr; in xmlSchemaAssembleByXSI() local
21870 iattr = xmlSchemaGetMetaAttrInfo(vctxt, in xmlSchemaAssembleByXSI()
21872 if (iattr == NULL) in xmlSchemaAssembleByXSI()
21873 iattr = xmlSchemaGetMetaAttrInfo(vctxt, in xmlSchemaAssembleByXSI()
21875 if (iattr == NULL) in xmlSchemaAssembleByXSI()
21877 cur = iattr->value; in xmlSchemaAssembleByXSI()
21882 if (iattr->metaType == XML_SCHEMA_ATTR_INFO_META_XSI_SCHEMA_LOC) { in xmlSchemaAssembleByXSI()
21906 if (iattr->metaType == in xmlSchemaAssembleByXSI()
21914 iattr->node, NULL, in xmlSchemaAssembleByXSI()
21924 iattr->node, nsname, location); in xmlSchemaAssembleByXSI()
24136 xmlSchemaAttrInfoPtr iattr; in xmlSchemaGetFreshAttrInfo() local
24160 iattr = vctxt->attrInfos[vctxt->nbAttrInfos++]; in xmlSchemaGetFreshAttrInfo()
24161 if (iattr->localName != NULL) { in xmlSchemaGetFreshAttrInfo()
24166 iattr->nodeType = XML_ATTRIBUTE_NODE; in xmlSchemaGetFreshAttrInfo()
24167 return (iattr); in xmlSchemaGetFreshAttrInfo()
24172 iattr = (xmlSchemaAttrInfoPtr) in xmlSchemaGetFreshAttrInfo()
24174 if (iattr == NULL) { in xmlSchemaGetFreshAttrInfo()
24178 memset(iattr, 0, sizeof(xmlSchemaAttrInfo)); in xmlSchemaGetFreshAttrInfo()
24179 iattr->nodeType = XML_ATTRIBUTE_NODE; in xmlSchemaGetFreshAttrInfo()
24180 vctxt->attrInfos[vctxt->nbAttrInfos++] = iattr; in xmlSchemaGetFreshAttrInfo()
24182 return (iattr); in xmlSchemaGetFreshAttrInfo()
25093 xmlSchemaAttrInfoPtr iattr, in xmlSchemaProcessXSIType() argument
25108 if (iattr == NULL) in xmlSchemaProcessXSIType()
25116 ACTIVATE_ATTRIBUTE(iattr); in xmlSchemaProcessXSIType()
25121 ret = xmlSchemaVExpandQName(vctxt, iattr->value, in xmlSchemaProcessXSIType()
25251 xmlSchemaAttrInfoPtr iattr; in xmlSchemaValidateElemDecl() local
25256 iattr = xmlSchemaGetMetaAttrInfo(vctxt, in xmlSchemaValidateElemDecl()
25258 if (iattr) { in xmlSchemaValidateElemDecl()
25259 ACTIVATE_ATTRIBUTE(iattr); in xmlSchemaValidateElemDecl()
25266 iattr->value, &(iattr->val), 1, 0, 0); in xmlSchemaValidateElemDecl()
25283 if (xmlSchemaValueGetAsBoolean(iattr->val)) { in xmlSchemaValidateElemDecl()
25305 iattr = xmlSchemaGetMetaAttrInfo(vctxt, in xmlSchemaValidateElemDecl()
25307 if (iattr) { in xmlSchemaValidateElemDecl()
25310 ret = xmlSchemaProcessXSIType(vctxt, iattr, &localType, in xmlSchemaValidateElemDecl()
25352 xmlSchemaAttrInfoPtr iattr; in xmlSchemaVAttributesSimple() local
25365 iattr = vctxt->attrInfos[i]; in xmlSchemaVAttributesSimple()
25366 if (! iattr->metaType) { in xmlSchemaVAttributesSimple()
25367 ACTIVATE_ATTRIBUTE(iattr) in xmlSchemaVAttributesSimple()
25369 XML_SCHEMAV_CVC_TYPE_3_1_1, iattr, NULL); in xmlSchemaVAttributesSimple()
25426 xmlSchemaAttrInfoPtr iattr, tmpiattr; in xmlSchemaVAttributesComplex() local
25464 iattr = vctxt->attrInfos[j]; in xmlSchemaVAttributesComplex()
25469 if (iattr->metaType) in xmlSchemaVAttributesComplex()
25471 if (iattr->localName[0] != attrDecl->name[0]) in xmlSchemaVAttributesComplex()
25473 if (!xmlStrEqual(iattr->localName, attrDecl->name)) in xmlSchemaVAttributesComplex()
25475 if (!xmlStrEqual(iattr->nsName, attrDecl->targetNamespace)) in xmlSchemaVAttributesComplex()
25494 iattr->state = XML_SCHEMAS_ATTR_ASSESSED; in xmlSchemaVAttributesComplex()
25495 iattr->use = attrUse; in xmlSchemaVAttributesComplex()
25499 iattr->decl = attrDecl; in xmlSchemaVAttributesComplex()
25500 iattr->typeDef = attrDecl->subtypes; in xmlSchemaVAttributesComplex()
25560 iattr = vctxt->attrInfos[i]; in xmlSchemaVAttributesComplex()
25565 if (iattr->state != XML_SCHEMAS_ATTR_UNKNOWN) in xmlSchemaVAttributesComplex()
25578 iattr->nsName) == 0) { in xmlSchemaVAttributesComplex()
25597 iattr->state = XML_SCHEMAS_ATTR_WILD_SKIP; in xmlSchemaVAttributesComplex()
25603 iattr->decl = xmlSchemaGetAttributeDecl(vctxt->schema, in xmlSchemaVAttributesComplex()
25604 iattr->localName, iattr->nsName); in xmlSchemaVAttributesComplex()
25605 if (iattr->decl != NULL) { in xmlSchemaVAttributesComplex()
25606 iattr->state = XML_SCHEMAS_ATTR_ASSESSED; in xmlSchemaVAttributesComplex()
25620 iattr->typeDef = WXS_ATTR_TYPEDEF(iattr->decl); in xmlSchemaVAttributesComplex()
25622 iattr->typeDef, XML_SCHEMAS_ID)) { in xmlSchemaVAttributesComplex()
25629 iattr->state = XML_SCHEMAS_ATTR_ERR_WILD_DUPLICATE_ID; in xmlSchemaVAttributesComplex()
25647 iattr->state = XML_SCHEMAS_ATTR_ERR_WILD_AND_USE_ID; in xmlSchemaVAttributesComplex()
25656 iattr->state = XML_SCHEMAS_ATTR_WILD_LAX_NO_DECL; in xmlSchemaVAttributesComplex()
25663 iattr->state = XML_SCHEMAS_ATTR_ERR_WILD_STRICT_NO_DECL; in xmlSchemaVAttributesComplex()
25685 iattr = vctxt->attrInfos[i]; in xmlSchemaVAttributesComplex()
25691 if ((iattr->state != XML_SCHEMAS_ATTR_ASSESSED) && in xmlSchemaVAttributesComplex()
25692 (iattr->state != XML_SCHEMAS_ATTR_DEFAULT)) in xmlSchemaVAttributesComplex()
25697 if (iattr->typeDef == NULL) { in xmlSchemaVAttributesComplex()
25698 iattr->state = XML_SCHEMAS_ATTR_ERR_NO_TYPE; in xmlSchemaVAttributesComplex()
25702 ACTIVATE_ATTRIBUTE(iattr); in xmlSchemaVAttributesComplex()
25719 if (iattr->state == XML_SCHEMAS_ATTR_DEFAULT) { in xmlSchemaVAttributesComplex()
25726 if (iattr->use->defValue != NULL) { in xmlSchemaVAttributesComplex()
25727 iattr->value = (xmlChar *) iattr->use->defValue; in xmlSchemaVAttributesComplex()
25728 iattr->val = iattr->use->defVal; in xmlSchemaVAttributesComplex()
25730 iattr->value = (xmlChar *) iattr->decl->defValue; in xmlSchemaVAttributesComplex()
25731 iattr->val = iattr->decl->defVal; in xmlSchemaVAttributesComplex()
25737 if (iattr->val == NULL) { in xmlSchemaVAttributesComplex()
25743 iattr->val = xmlSchemaCopyValue(iattr->val); in xmlSchemaVAttributesComplex()
25744 if (iattr->val == NULL) { in xmlSchemaVAttributesComplex()
25760 value = iattr->value; in xmlSchemaVAttributesComplex()
25764 normValue = xmlSchemaNormalizeValue(iattr->typeDef, in xmlSchemaVAttributesComplex()
25765 iattr->value); in xmlSchemaVAttributesComplex()
25769 if (iattr->nsName == NULL) { in xmlSchemaVAttributesComplex()
25771 iattr->localName, value) == NULL) { in xmlSchemaVAttributesComplex()
25782 defAttrOwnerElem, iattr->nsName); in xmlSchemaVAttributesComplex()
25806 iattr->nsName, BAD_CAST prefix); in xmlSchemaVAttributesComplex()
25814 xmlNewNsProp(defAttrOwnerElem, ns, iattr->localName, value); in xmlSchemaVAttributesComplex()
25838 if ((iattr->decl->flags & XML_SCHEMAS_ATTR_FIXED) || in xmlSchemaVAttributesComplex()
25839 ((iattr->use != NULL) && in xmlSchemaVAttributesComplex()
25840 (iattr->use->flags & XML_SCHEMAS_ATTR_FIXED))) in xmlSchemaVAttributesComplex()
25854 iattr->flags |= XML_SCHEMA_NODE_INFO_VALUE_NEEDED; in xmlSchemaVAttributesComplex()
25860 iattr->node, iattr->typeDef, iattr->value, &(iattr->val), in xmlSchemaVAttributesComplex()
25865 iattr->node, iattr->typeDef, iattr->value, NULL, in xmlSchemaVAttributesComplex()
25875 iattr->state = XML_SCHEMAS_ATTR_INVALID_VALUE; in xmlSchemaVAttributesComplex()
25900 if (iattr->val == NULL) { in xmlSchemaVAttributesComplex()
25905 if ((iattr->use != NULL) && in xmlSchemaVAttributesComplex()
25906 (iattr->use->defValue != NULL)) { in xmlSchemaVAttributesComplex()
25907 if (iattr->use->defVal == NULL) { in xmlSchemaVAttributesComplex()
25912 iattr->vcValue = iattr->use->defValue; in xmlSchemaVAttributesComplex()
25919 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->use->defVal)) in xmlSchemaVAttributesComplex()
25920 iattr->state = XML_SCHEMAS_ATTR_ERR_FIXED_VALUE; in xmlSchemaVAttributesComplex()
25922 if (iattr->decl->defVal == NULL) { in xmlSchemaVAttributesComplex()
25927 iattr->vcValue = iattr->decl->defValue; in xmlSchemaVAttributesComplex()
25934 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->decl->defVal)) in xmlSchemaVAttributesComplex()
25935 iattr->state = XML_SCHEMAS_ATTR_ERR_FIXED_VALUE; in xmlSchemaVAttributesComplex()
25960 iattr = vctxt->attrInfos[i]; in xmlSchemaVAttributesComplex()
25961 if ((iattr->state == XML_SCHEMAS_ATTR_META) || in xmlSchemaVAttributesComplex()
25962 (iattr->state == XML_SCHEMAS_ATTR_ASSESSED) || in xmlSchemaVAttributesComplex()
25963 (iattr->state == XML_SCHEMAS_ATTR_WILD_SKIP) || in xmlSchemaVAttributesComplex()
25964 (iattr->state == XML_SCHEMAS_ATTR_WILD_LAX_NO_DECL)) in xmlSchemaVAttributesComplex()
25966 ACTIVATE_ATTRIBUTE(iattr); in xmlSchemaVAttributesComplex()
25967 switch (iattr->state) { in xmlSchemaVAttributesComplex()
25975 iattr->decl->targetNamespace, in xmlSchemaVAttributesComplex()
25976 iattr->decl->name), in xmlSchemaVAttributesComplex()
25990 iattr->value, iattr->vcValue); in xmlSchemaVAttributesComplex()
25998 if (iattr->metaType) in xmlSchemaVAttributesComplex()
26006 XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1, iattr, NULL); in xmlSchemaVAttributesComplex()
26009 XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2, iattr, NULL); in xmlSchemaVAttributesComplex()
26066 xmlSchemaAttrInfoPtr iattr; in xmlSchemaValidateElemWildcard() local
26073 iattr = xmlSchemaGetMetaAttrInfo(vctxt, in xmlSchemaValidateElemWildcard()
26075 if (iattr != NULL) { in xmlSchemaValidateElemWildcard()
26076 if (xmlSchemaProcessXSIType(vctxt, iattr, in xmlSchemaValidateElemWildcard()
26747 xmlSchemaAttrInfoPtr iattr; in xmlSchemaValidateChildElem() local
26752 iattr = xmlSchemaGetMetaAttrInfo(vctxt, in xmlSchemaValidateChildElem()
26754 if (iattr != NULL) { in xmlSchemaValidateChildElem()
26755 ret = xmlSchemaProcessXSIType(vctxt, iattr, in xmlSchemaValidateChildElem()