Lines Matching refs:attrDecl
2766 xmlAttributePtr attrDecl = NULL; in xmlIsID() local
2780 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullelemname, in xmlIsID()
2782 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlIsID()
2783 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullelemname, in xmlIsID()
2792 if ((attrDecl != NULL) && (attrDecl->atype == XML_ATTRIBUTE_ID)) in xmlIsID()
3102 xmlAttributePtr attrDecl; in xmlIsRef() local
3105 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, attr->name); in xmlIsRef()
3106 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlIsRef()
3107 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlIsRef()
3110 if ((attrDecl != NULL) && in xmlIsRef()
3111 (attrDecl->atype == XML_ATTRIBUTE_IDREF || in xmlIsRef()
3112 attrDecl->atype == XML_ATTRIBUTE_IDREFS)) in xmlIsRef()
4033 xmlAttributePtr attrDecl = NULL; in xmlValidCtxtNormalizeAttributeValue() local
4048 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, name); in xmlValidCtxtNormalizeAttributeValue()
4049 if ((attrDecl == NULL) && (doc->extSubset != NULL)) { in xmlValidCtxtNormalizeAttributeValue()
4050 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullname, name); in xmlValidCtxtNormalizeAttributeValue()
4051 if (attrDecl != NULL) in xmlValidCtxtNormalizeAttributeValue()
4057 if ((attrDecl == NULL) && (doc->intSubset != NULL)) in xmlValidCtxtNormalizeAttributeValue()
4058 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, name); in xmlValidCtxtNormalizeAttributeValue()
4059 if ((attrDecl == NULL) && (doc->extSubset != NULL)) { in xmlValidCtxtNormalizeAttributeValue()
4060 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, elem->name, name); in xmlValidCtxtNormalizeAttributeValue()
4061 if (attrDecl != NULL) in xmlValidCtxtNormalizeAttributeValue()
4065 if (attrDecl == NULL) in xmlValidCtxtNormalizeAttributeValue()
4067 if (attrDecl->atype == XML_ATTRIBUTE_CDATA) in xmlValidCtxtNormalizeAttributeValue()
4119 xmlAttributePtr attrDecl = NULL; in xmlValidNormalizeAttributeValue() local
4136 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, name); in xmlValidNormalizeAttributeValue()
4137 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidNormalizeAttributeValue()
4138 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, elem->name, name); in xmlValidNormalizeAttributeValue()
4140 if (attrDecl == NULL) in xmlValidNormalizeAttributeValue()
4142 if (attrDecl->atype == XML_ATTRIBUTE_CDATA) in xmlValidNormalizeAttributeValue()
4427 xmlAttributePtr attrDecl = NULL; in xmlValidateOneAttribute() local
4443 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, fullname, in xmlValidateOneAttribute()
4445 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4446 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, fullname, in xmlValidateOneAttribute()
4449 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, attr->name); in xmlValidateOneAttribute()
4450 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4451 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneAttribute()
4457 if (attrDecl == NULL) { in xmlValidateOneAttribute()
4459 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, elem->name, in xmlValidateOneAttribute()
4461 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4462 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, elem->name, in xmlValidateOneAttribute()
4465 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, in xmlValidateOneAttribute()
4467 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4468 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneAttribute()
4475 if (attrDecl == NULL) { in xmlValidateOneAttribute()
4481 attr->atype = attrDecl->atype; in xmlValidateOneAttribute()
4483 val = xmlValidateAttributeValueInternal(doc, attrDecl->atype, value); in xmlValidateOneAttribute()
4492 if (attrDecl->def == XML_ATTRIBUTE_FIXED) { in xmlValidateOneAttribute()
4493 if (!xmlStrEqual(value, attrDecl->defaultValue)) { in xmlValidateOneAttribute()
4496 attr->name, elem->name, attrDecl->defaultValue); in xmlValidateOneAttribute()
4502 if (attrDecl->atype == XML_ATTRIBUTE_ID) { in xmlValidateOneAttribute()
4507 if ((attrDecl->atype == XML_ATTRIBUTE_IDREF) || in xmlValidateOneAttribute()
4508 (attrDecl->atype == XML_ATTRIBUTE_IDREFS)) { in xmlValidateOneAttribute()
4514 if (attrDecl->atype == XML_ATTRIBUTE_NOTATION) { in xmlValidateOneAttribute()
4515 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneAttribute()
4544 if (attrDecl->atype == XML_ATTRIBUTE_ENUMERATION) { in xmlValidateOneAttribute()
4545 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneAttribute()
4559 if ((attrDecl->def == XML_ATTRIBUTE_FIXED) && in xmlValidateOneAttribute()
4560 (!xmlStrEqual(attrDecl->defaultValue, value))) { in xmlValidateOneAttribute()
4563 attr->name, elem->name, attrDecl->defaultValue); in xmlValidateOneAttribute()
4569 attrDecl->atype, value); in xmlValidateOneAttribute()
4604 xmlAttributePtr attrDecl = NULL; in xmlValidateOneNamespace() local
4622 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, fullname, in xmlValidateOneNamespace()
4624 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4625 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, fullname, in xmlValidateOneNamespace()
4628 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, in xmlValidateOneNamespace()
4630 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4631 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullname, in xmlValidateOneNamespace()
4637 if (attrDecl == NULL) { in xmlValidateOneNamespace()
4639 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, elem->name, in xmlValidateOneNamespace()
4641 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4642 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, elem->name, in xmlValidateOneNamespace()
4645 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, in xmlValidateOneNamespace()
4647 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4648 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneNamespace()
4655 if (attrDecl == NULL) { in xmlValidateOneNamespace()
4668 val = xmlValidateAttributeValueInternal(doc, attrDecl->atype, value); in xmlValidateOneNamespace()
4683 if (attrDecl->def == XML_ATTRIBUTE_FIXED) { in xmlValidateOneNamespace()
4684 if (!xmlStrEqual(value, attrDecl->defaultValue)) { in xmlValidateOneNamespace()
4688 ns->prefix, elem->name, attrDecl->defaultValue); in xmlValidateOneNamespace()
4692 elem->name, attrDecl->defaultValue, NULL); in xmlValidateOneNamespace()
4705 if (attrDecl->atype == XML_ATTRIBUTE_ID) { in xmlValidateOneNamespace()
4710 if ((attrDecl->atype == XML_ATTRIBUTE_IDREF) || in xmlValidateOneNamespace()
4711 (attrDecl->atype == XML_ATTRIBUTE_IDREFS)) { in xmlValidateOneNamespace()
4718 if (attrDecl->atype == XML_ATTRIBUTE_NOTATION) { in xmlValidateOneNamespace()
4719 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneNamespace()
4760 if (attrDecl->atype == XML_ATTRIBUTE_ENUMERATION) { in xmlValidateOneNamespace()
4761 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneNamespace()
4781 if ((attrDecl->def == XML_ATTRIBUTE_FIXED) && in xmlValidateOneNamespace()
4782 (!xmlStrEqual(attrDecl->defaultValue, value))) { in xmlValidateOneNamespace()
4786 ns->prefix, elem->name, attrDecl->defaultValue); in xmlValidateOneNamespace()
4790 elem->name, attrDecl->defaultValue, NULL); in xmlValidateOneNamespace()
4798 attrDecl->atype, value); in xmlValidateOneNamespace()
4801 attrDecl->atype, value); in xmlValidateOneNamespace()