private void PreprocessAttributeGroup(XmlSchemaAttributeGroup attributeGroup) { if (attributeGroup.Name != null) { this.ValidateNameAttribute(attributeGroup); attributeGroup.SetQualifiedName(new XmlQualifiedName(attributeGroup.Name, this.targetNamespace)); } else { base.SendValidationEvent("Sch_MissRequiredAttribute", "name", attributeGroup); } this.PreprocessAttributes(attributeGroup.Attributes, attributeGroup.AnyAttribute, attributeGroup); this.PreprocessAnnotation(attributeGroup); this.ValidateIdAttribute(attributeGroup); }
private void PreprocessAttributeGroup(XmlSchemaAttributeGroup attributeGroup) { if (attributeGroup.Name != null) { ValidateNameAttribute(attributeGroup); attributeGroup.SetQualifiedName(new XmlQualifiedName(attributeGroup.Name, _targetNamespace)); } else { SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", attributeGroup); } PreprocessAttributes(attributeGroup.Attributes, attributeGroup.AnyAttribute, attributeGroup); PreprocessAnnotation(attributeGroup); ValidateIdAttribute(attributeGroup); }