Lines Matching refs:attrDecl
2694 xmlAttributePtr attrDecl = NULL; in xmlIsID() local
2708 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullelemname, in xmlIsID()
2710 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlIsID()
2711 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullelemname, in xmlIsID()
2720 if ((attrDecl != NULL) && (attrDecl->atype == XML_ATTRIBUTE_ID)) in xmlIsID()
3028 xmlAttributePtr attrDecl; in xmlIsRef() local
3031 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, attr->name); in xmlIsRef()
3032 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlIsRef()
3033 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlIsRef()
3036 if ((attrDecl != NULL) && in xmlIsRef()
3037 (attrDecl->atype == XML_ATTRIBUTE_IDREF || in xmlIsRef()
3038 attrDecl->atype == XML_ATTRIBUTE_IDREFS)) in xmlIsRef()
3960 xmlAttributePtr attrDecl = NULL; in xmlValidCtxtNormalizeAttributeValue() local
3975 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, name); in xmlValidCtxtNormalizeAttributeValue()
3976 if ((attrDecl == NULL) && (doc->extSubset != NULL)) { in xmlValidCtxtNormalizeAttributeValue()
3977 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullname, name); in xmlValidCtxtNormalizeAttributeValue()
3978 if (attrDecl != NULL) in xmlValidCtxtNormalizeAttributeValue()
3984 if ((attrDecl == NULL) && (doc->intSubset != NULL)) in xmlValidCtxtNormalizeAttributeValue()
3985 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, name); in xmlValidCtxtNormalizeAttributeValue()
3986 if ((attrDecl == NULL) && (doc->extSubset != NULL)) { in xmlValidCtxtNormalizeAttributeValue()
3987 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, elem->name, name); in xmlValidCtxtNormalizeAttributeValue()
3988 if (attrDecl != NULL) in xmlValidCtxtNormalizeAttributeValue()
3992 if (attrDecl == NULL) in xmlValidCtxtNormalizeAttributeValue()
3994 if (attrDecl->atype == XML_ATTRIBUTE_CDATA) in xmlValidCtxtNormalizeAttributeValue()
4046 xmlAttributePtr attrDecl = NULL; in xmlValidNormalizeAttributeValue() local
4063 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, elem->name, name); in xmlValidNormalizeAttributeValue()
4064 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidNormalizeAttributeValue()
4065 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, elem->name, name); in xmlValidNormalizeAttributeValue()
4067 if (attrDecl == NULL) in xmlValidNormalizeAttributeValue()
4069 if (attrDecl->atype == XML_ATTRIBUTE_CDATA) in xmlValidNormalizeAttributeValue()
4352 xmlAttributePtr attrDecl = NULL; in xmlValidateOneAttribute() local
4368 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, fullname, in xmlValidateOneAttribute()
4370 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4371 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, fullname, in xmlValidateOneAttribute()
4374 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, attr->name); in xmlValidateOneAttribute()
4375 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4376 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneAttribute()
4382 if (attrDecl == NULL) { in xmlValidateOneAttribute()
4384 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, elem->name, in xmlValidateOneAttribute()
4386 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4387 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, elem->name, in xmlValidateOneAttribute()
4390 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, in xmlValidateOneAttribute()
4392 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneAttribute()
4393 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneAttribute()
4400 if (attrDecl == NULL) { in xmlValidateOneAttribute()
4406 attr->atype = attrDecl->atype; in xmlValidateOneAttribute()
4408 val = xmlValidateAttributeValueInternal(doc, attrDecl->atype, value); in xmlValidateOneAttribute()
4417 if (attrDecl->def == XML_ATTRIBUTE_FIXED) { in xmlValidateOneAttribute()
4418 if (!xmlStrEqual(value, attrDecl->defaultValue)) { in xmlValidateOneAttribute()
4421 attr->name, elem->name, attrDecl->defaultValue); in xmlValidateOneAttribute()
4427 if (attrDecl->atype == XML_ATTRIBUTE_ID) { in xmlValidateOneAttribute()
4432 if ((attrDecl->atype == XML_ATTRIBUTE_IDREF) || in xmlValidateOneAttribute()
4433 (attrDecl->atype == XML_ATTRIBUTE_IDREFS)) { in xmlValidateOneAttribute()
4439 if (attrDecl->atype == XML_ATTRIBUTE_NOTATION) { in xmlValidateOneAttribute()
4440 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneAttribute()
4469 if (attrDecl->atype == XML_ATTRIBUTE_ENUMERATION) { in xmlValidateOneAttribute()
4470 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneAttribute()
4484 if ((attrDecl->def == XML_ATTRIBUTE_FIXED) && in xmlValidateOneAttribute()
4485 (!xmlStrEqual(attrDecl->defaultValue, value))) { in xmlValidateOneAttribute()
4488 attr->name, elem->name, attrDecl->defaultValue); in xmlValidateOneAttribute()
4494 attrDecl->atype, value); in xmlValidateOneAttribute()
4529 xmlAttributePtr attrDecl = NULL; in xmlValidateOneNamespace() local
4547 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, fullname, in xmlValidateOneNamespace()
4549 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4550 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, fullname, in xmlValidateOneNamespace()
4553 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, fullname, in xmlValidateOneNamespace()
4555 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4556 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, fullname, in xmlValidateOneNamespace()
4562 if (attrDecl == NULL) { in xmlValidateOneNamespace()
4564 attrDecl = xmlGetDtdQAttrDesc(doc->intSubset, elem->name, in xmlValidateOneNamespace()
4566 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4567 attrDecl = xmlGetDtdQAttrDesc(doc->extSubset, elem->name, in xmlValidateOneNamespace()
4570 attrDecl = xmlGetDtdAttrDesc(doc->intSubset, in xmlValidateOneNamespace()
4572 if ((attrDecl == NULL) && (doc->extSubset != NULL)) in xmlValidateOneNamespace()
4573 attrDecl = xmlGetDtdAttrDesc(doc->extSubset, in xmlValidateOneNamespace()
4580 if (attrDecl == NULL) { in xmlValidateOneNamespace()
4593 val = xmlValidateAttributeValueInternal(doc, attrDecl->atype, value); in xmlValidateOneNamespace()
4608 if (attrDecl->def == XML_ATTRIBUTE_FIXED) { in xmlValidateOneNamespace()
4609 if (!xmlStrEqual(value, attrDecl->defaultValue)) { in xmlValidateOneNamespace()
4613 ns->prefix, elem->name, attrDecl->defaultValue); in xmlValidateOneNamespace()
4617 elem->name, attrDecl->defaultValue, NULL); in xmlValidateOneNamespace()
4624 if (attrDecl->atype == XML_ATTRIBUTE_ID) { in xmlValidateOneNamespace()
4629 if ((attrDecl->atype == XML_ATTRIBUTE_IDREF) || in xmlValidateOneNamespace()
4630 (attrDecl->atype == XML_ATTRIBUTE_IDREFS)) { in xmlValidateOneNamespace()
4636 if (attrDecl->atype == XML_ATTRIBUTE_NOTATION) { in xmlValidateOneNamespace()
4637 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneNamespace()
4678 if (attrDecl->atype == XML_ATTRIBUTE_ENUMERATION) { in xmlValidateOneNamespace()
4679 xmlEnumerationPtr tree = attrDecl->tree; in xmlValidateOneNamespace()
4699 if ((attrDecl->def == XML_ATTRIBUTE_FIXED) && in xmlValidateOneNamespace()
4700 (!xmlStrEqual(attrDecl->defaultValue, value))) { in xmlValidateOneNamespace()
4704 ns->prefix, elem->name, attrDecl->defaultValue); in xmlValidateOneNamespace()
4708 elem->name, attrDecl->defaultValue, NULL); in xmlValidateOneNamespace()
4716 attrDecl->atype, value); in xmlValidateOneNamespace()
4719 attrDecl->atype, value); in xmlValidateOneNamespace()