My intention was that I thought the maxLength would be applicable for primitive types and for Arrays the arrSize is what is needed rather than the maxLength.  Let me check the impact of this based on your comment too.