int minOccurs = group.getMinOccurs();
//-- if minOccurs == 1, then check to see
//-- if all elements inside group are
//-- optional, if so, we return 0, not 1.
if (minOccurs == 1) {
Enumeration enumeration = group.enumerate();
while (enumeration.hasMoreElements()) {
if (getLowerBound((Annotated)enumeration.nextElement()) != 0)
return 1;
}
//-- if we make it here, all items in group have a