private void PreprocessGroup(XmlSchemaGroup group)
{
if (group.Name != null)
{
this.ValidateNameAttribute(group);
group.SetQualifiedName(new XmlQualifiedName(group.Name, this.targetNamespace));
}
else
{
base.SendValidationEvent("Sch_MissRequiredAttribute", "name", group);
}
if (group.Particle == null)
{
base.SendValidationEvent("Sch_NoGroupParticle", group);
}
else
{
if (group.Particle.MinOccursString != null)
{
base.SendValidationEvent("Sch_ForbiddenAttribute", "minOccurs", group.Particle);
}
if (group.Particle.MaxOccursString != null)
{
base.SendValidationEvent("Sch_ForbiddenAttribute", "maxOccurs", group.Particle);
}
this.PreprocessParticle(group.Particle);
this.PreprocessAnnotation(group);
this.ValidateIdAttribute(group);
}
}