public void CallForChoiceAfterValidating_1_2_ChoiceElement(String elemAfter)
{
XmlSchemaValidator val = CreateValidator(XSDFILE_GET_EXPECTED_PARTICLES);
XmlSchemaInfo info = new XmlSchemaInfo();
string elem = elemAfter;
val.Initialize();
val.ValidateElement("ChoiceElement", "", info);
val.ValidateAttribute("attr1", "", StringGetter("foo"), info);
val.ValidateAttribute("attr2", "", StringGetter("foo"), info);
val.ValidateEndOfAttributes(null);
val.ValidateElement(elem, "", info);
val.SkipToEndElement(info);
CheckExpectedElements(val.GetExpectedParticles(), new XmlQualifiedName[] { });
return;
}