// unlimited
// If the elementValidator requires per element state then we need
// to wrap it in a repeating validator but otherwise we can just
// return it as is.
if (nestedValidator.requiresPerElementState()) {
contentValidator =
prototypeFactory.createBoundedContentValidator(
nestedValidator, minimum, maximum);
} else {
contentValidator =