public void CallForElementWithZeroMaxOccurs()
{
XmlSchemaValidator val = CreateValidator(XSDFILE_GET_EXPECTED_PARTICLES);
XmlSchemaInfo info = new XmlSchemaInfo();
val.Initialize();
val.ValidateElement("MaxOccurs0Element", "", info);
val.ValidateEndOfAttributes(null);
CheckExpectedElements(val.GetExpectedParticles(), new XmlQualifiedName[] { new XmlQualifiedName("bar") });
return;
}