The "maxlength" attribute sets the maximum length for properties of type string.
<property name = NAME label = LABEL maxlength="100" />
<property name ="name" label="Name" type="string" maxlength="100" />