}
else if (particleCode == SchemaParticle.WILDCARD)
{
if (!allowElt)
state.error("Must be a sequence, choice or all here", XmlErrorCodes.EXPLICIT_GROUP_NEEDED, parseTree);
Any parseAny = (Any)parseTree;
sPart = new SchemaParticleImpl();
sPart.setParticleType(SchemaParticle.WILDCARD);
QNameSet wcset;
NamespaceList nslist = parseAny.xgetNamespace();
if (nslist == null)
wcset = QNameSet.ALL;
else
wcset = QNameSet.forWildcardNamespaceString(nslist.getStringValue(), targetNamespace);
sPart.setWildcardSet(wcset);
sPart.setWildcardProcess(translateWildcardProcess(parseAny.xgetProcessContents()));
minOccurs = extractMinOccurs(parseAny.xgetMinOccurs());
maxOccurs = extractMaxOccurs(parseAny.xgetMaxOccurs());
}
else
{
Group parseGroup = (Group)parseTree;
sPart = new SchemaParticleImpl();