src/main/java/org/xmlet/xsdparser/xsdelements/AttributeValidations.java
static String maxOccursValidation(String elementName, String value){
        if (value.equals("unbounded")){
            return value;
        }

        validateNonNegativeInteger(elementName, MAX_OCCURS_TAG, value);

        return value;
    }
static String maxOccursValidation(String elementName, String value){
        if (value.equals("unbounded")){
            return value;
        }

        validateNonNegativeInteger(elementName, MAX_OCCURS_TAG, value);

        return value;
    }
Checks if the maxOccurs attribute is unbounded or an {@link Integer} value.
@param value The possible maxOccurs value.
@param elementName The name of the element containing the maxOccurs attribute.
@return The validated maxOccurs value.