if (instances.length < min)
{
Object[] filler = {
qname, new Integer(min), new Integer(instances.length)
};
throw new SchemaValidationFault(_MESSAGES.get("BelowMinimum", filler));
}
//
// under the max?
//
if (!maxUnbounded && instances.length > max)
{
Object[] filler = {
qname, new Integer(min), new Integer(instances.length)
};
throw new SchemaValidationFault(_MESSAGES.get("AboveMaximum", filler));
}
//
// not nillable yet still null?
////