• Home
  • Raw
  • Download

Lines Matching refs:attrDecl

169 #define WXS_ATTRUSE_DECL(au) WXS_ATTR_CAST (WXS_ATTR_USE_CAST (au))->attrDecl
524 xmlSchemaAttributePtr attrDecl; member
4105 if (schema->attrDecl != NULL) in xmlSchemaFree()
4106 xmlHashFree(schema->attrDecl, NULL); in xmlSchemaFree()
4817 WXS_FIND_GLOBAL_ITEM(attrDecl) in xmlSchemaGetAttributeDecl()
7235 xmlSchemaAttributePtr attrDecl; in xmlSchemaParseLocalAttribute() local
7286 attrDecl = xmlSchemaAddAttribute(pctxt, schema, name, ns, node, 0); in xmlSchemaParseLocalAttribute()
7287 if (attrDecl == NULL) in xmlSchemaParseLocalAttribute()
7290 attrDecl->typeName = tmpName; in xmlSchemaParseLocalAttribute()
7291 attrDecl->typeNs = tmpNs; in xmlSchemaParseLocalAttribute()
7293 use->attrDecl = attrDecl; in xmlSchemaParseLocalAttribute()
7298 attrDecl->defValue = defValue; in xmlSchemaParseLocalAttribute()
7300 attrDecl->flags |= XML_SCHEMAS_ATTR_FIXED; in xmlSchemaParseLocalAttribute()
7327 use->attrDecl = WXS_ATTR_CAST ref; in xmlSchemaParseLocalAttribute()
14015 } else if ((attruse->attrDecl != NULL) && in xmlSchemaGetEffectiveValueConstraint()
14016 (attruse->attrDecl->defValue != NULL)) { in xmlSchemaGetEffectiveValueConstraint()
14017 *value = attruse->attrDecl->defValue; in xmlSchemaGetEffectiveValueConstraint()
14019 *val = attruse->attrDecl->defVal; in xmlSchemaGetEffectiveValueConstraint()
14020 if (attruse->attrDecl->flags & XML_SCHEMAS_ATTR_FIXED) in xmlSchemaGetEffectiveValueConstraint()
20141 if ((ause->attrDecl == NULL) || in xmlSchemaResolveAttrUseReferences()
20142 (ause->attrDecl->type != XML_SCHEMA_EXTRA_QNAMEREF)) in xmlSchemaResolveAttrUseReferences()
20146 xmlSchemaQNameRefPtr ref = WXS_QNAME_CAST ause->attrDecl; in xmlSchemaResolveAttrUseReferences()
20152 ause->attrDecl = xmlSchemaGetAttributeDecl(ctxt->schema, in xmlSchemaResolveAttrUseReferences()
20154 if (ause->attrDecl == NULL) { in xmlSchemaResolveAttrUseReferences()
20723 WXS_GET_GLOBAL_HASH(bucket, attrDecl) in xmlSchemaAddComponents()
25171 xmlSchemaAttributePtr attrDecl = NULL; in xmlSchemaVAttributesComplex() local
25208 attrDecl = WXS_ATTRUSE_DECL(attrUse); in xmlSchemaVAttributesComplex()
25217 if (iattr->localName[0] != attrDecl->name[0]) in xmlSchemaVAttributesComplex()
25219 if (!xmlStrEqual(iattr->localName, attrDecl->name)) in xmlSchemaVAttributesComplex()
25221 if (!xmlStrEqual(iattr->nsName, attrDecl->targetNamespace)) in xmlSchemaVAttributesComplex()
25245 iattr->decl = attrDecl; in xmlSchemaVAttributesComplex()
25246 iattr->typeDef = attrDecl->subtypes; in xmlSchemaVAttributesComplex()
25272 tmpiattr->decl = attrDecl; in xmlSchemaVAttributesComplex()
25275 (attrDecl->defValue != NULL))) { in xmlSchemaVAttributesComplex()
25288 tmpiattr->decl = attrDecl; in xmlSchemaVAttributesComplex()
25289 tmpiattr->typeDef = attrDecl->subtypes; in xmlSchemaVAttributesComplex()
25290 tmpiattr->localName = attrDecl->name; in xmlSchemaVAttributesComplex()
25291 tmpiattr->nsName = attrDecl->targetNamespace; in xmlSchemaVAttributesComplex()