Lines Matching refs:attrDecl
2723 xmlAttributePtr attrDecl = NULL; in xmlIsID() local
2737 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullelemname, in xmlIsID()
2739 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlIsID()
2740 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullelemname, in xmlIsID()
2749 if ((attrDecl != NULL) && (attrDecl->atype == XML_ATTRIBUTE_ID)) in xmlIsID()
3059 xmlAttributePtr attrDecl; in xmlIsRef() local
3062 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, attr->name); in xmlIsRef()
3063 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlIsRef()
3064 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlIsRef()
3067 if ((attrDecl != NULL) && in xmlIsRef()
3068 (attrDecl->atype == XML_ATTRIBUTE_IDREF || in xmlIsRef()
3069 attrDecl->atype == XML_ATTRIBUTE_IDREFS)) in xmlIsRef()
3990 xmlAttributePtr attrDecl = NULL; in xmlValidCtxtNormalizeAttributeValue() local
4005 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, name); in xmlValidCtxtNormalizeAttributeValue()
4006 if ((attrDecl == NULL) && (doc->extSubset != NULL)) { in xmlValidCtxtNormalizeAttributeValue()
4007 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullname, name); in xmlValidCtxtNormalizeAttributeValue()
4008 if (attrDecl != NULL) in xmlValidCtxtNormalizeAttributeValue()
4014 if ((attrDecl == NULL) && (doc->intSubset != NULL)) in xmlValidCtxtNormalizeAttributeValue()
4015 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, name); in xmlValidCtxtNormalizeAttributeValue()
4016 if ((attrDecl == NULL) && (doc->extSubset != NULL)) { in xmlValidCtxtNormalizeAttributeValue()
4017 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, elem->name, name); in xmlValidCtxtNormalizeAttributeValue()
4018 if (attrDecl != NULL) in xmlValidCtxtNormalizeAttributeValue()
4022 if (attrDecl == NULL) in xmlValidCtxtNormalizeAttributeValue()
4024 if (attrDecl->atype == XML_ATTRIBUTE_CDATA) in xmlValidCtxtNormalizeAttributeValue()
4076 xmlAttributePtr attrDecl = NULL; in xmlValidNormalizeAttributeValue() local
4093 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, name); in xmlValidNormalizeAttributeValue()
4094 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidNormalizeAttributeValue()
4095 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, elem->name, name); in xmlValidNormalizeAttributeValue()
4097 if (attrDecl == NULL) in xmlValidNormalizeAttributeValue()
4099 if (attrDecl->atype == XML_ATTRIBUTE_CDATA) in xmlValidNormalizeAttributeValue()
4384 xmlAttributePtr attrDecl = NULL; in xmlValidateOneAttribute() local
4400 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, fullname, in xmlValidateOneAttribute()
4402 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4403 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, fullname, in xmlValidateOneAttribute()
4406 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, attr->name); in xmlValidateOneAttribute()
4407 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4408 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneAttribute()
4414 if (attrDecl == NULL) { in xmlValidateOneAttribute()
4416 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, elem->name, in xmlValidateOneAttribute()
4418 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4419 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, elem->name, in xmlValidateOneAttribute()
4422 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, in xmlValidateOneAttribute()
4424 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4425 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneAttribute()
4432 if (attrDecl == NULL) { in xmlValidateOneAttribute()
4438 attr->atype = attrDecl->atype; in xmlValidateOneAttribute()
4440 val = xmlValidateAttributeValueInternal(doc, attrDecl->atype, value); in xmlValidateOneAttribute()
4449 if (attrDecl->def == XML_ATTRIBUTE_FIXED) { in xmlValidateOneAttribute()
4450 if (!xmlStrEqual(value, attrDecl->defaultValue)) { in xmlValidateOneAttribute()
4453 attr->name, elem->name, attrDecl->defaultValue); in xmlValidateOneAttribute()
4459 if (attrDecl->atype == XML_ATTRIBUTE_ID) { in xmlValidateOneAttribute()
4464 if ((attrDecl->atype == XML_ATTRIBUTE_IDREF) || in xmlValidateOneAttribute()
4465 (attrDecl->atype == XML_ATTRIBUTE_IDREFS)) { in xmlValidateOneAttribute()
4471 if (attrDecl->atype == XML_ATTRIBUTE_NOTATION) { in xmlValidateOneAttribute()
4472 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneAttribute()
4501 if (attrDecl->atype == XML_ATTRIBUTE_ENUMERATION) { in xmlValidateOneAttribute()
4502 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneAttribute()
4516 if ((attrDecl->def == XML_ATTRIBUTE_FIXED) && in xmlValidateOneAttribute()
4517 (!xmlStrEqual(attrDecl->defaultValue, value))) { in xmlValidateOneAttribute()
4520 attr->name, elem->name, attrDecl->defaultValue); in xmlValidateOneAttribute()
4526 attrDecl->atype, value); in xmlValidateOneAttribute()
4561 xmlAttributePtr attrDecl = NULL; in xmlValidateOneNamespace() local
4579 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, fullname, in xmlValidateOneNamespace()
4581 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4582 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, fullname, in xmlValidateOneNamespace()
4585 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, in xmlValidateOneNamespace()
4587 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4588 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullname, in xmlValidateOneNamespace()
4594 if (attrDecl == NULL) { in xmlValidateOneNamespace()
4596 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, elem->name, in xmlValidateOneNamespace()
4598 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4599 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, elem->name, in xmlValidateOneNamespace()
4602 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, in xmlValidateOneNamespace()
4604 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4605 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneNamespace()
4612 if (attrDecl == NULL) { in xmlValidateOneNamespace()
4625 val = xmlValidateAttributeValueInternal(doc, attrDecl->atype, value); in xmlValidateOneNamespace()
4640 if (attrDecl->def == XML_ATTRIBUTE_FIXED) { in xmlValidateOneNamespace()
4641 if (!xmlStrEqual(value, attrDecl->defaultValue)) { in xmlValidateOneNamespace()
4645 ns->prefix, elem->name, attrDecl->defaultValue); in xmlValidateOneNamespace()
4649 elem->name, attrDecl->defaultValue, NULL); in xmlValidateOneNamespace()
4662 if (attrDecl->atype == XML_ATTRIBUTE_ID) { in xmlValidateOneNamespace()
4667 if ((attrDecl->atype == XML_ATTRIBUTE_IDREF) || in xmlValidateOneNamespace()
4668 (attrDecl->atype == XML_ATTRIBUTE_IDREFS)) { in xmlValidateOneNamespace()
4675 if (attrDecl->atype == XML_ATTRIBUTE_NOTATION) { in xmlValidateOneNamespace()
4676 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneNamespace()
4717 if (attrDecl->atype == XML_ATTRIBUTE_ENUMERATION) { in xmlValidateOneNamespace()
4718 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneNamespace()
4738 if ((attrDecl->def == XML_ATTRIBUTE_FIXED) && in xmlValidateOneNamespace()
4739 (!xmlStrEqual(attrDecl->defaultValue, value))) { in xmlValidateOneNamespace()
4743 ns->prefix, elem->name, attrDecl->defaultValue); in xmlValidateOneNamespace()
4747 elem->name, attrDecl->defaultValue, NULL); in xmlValidateOneNamespace()
4755 attrDecl->atype, value); in xmlValidateOneNamespace()
4758 attrDecl->atype, value); in xmlValidateOneNamespace()