XSDMaxLength

Restrict the length of the data to the maximum number of XML characters allowed when set on a 4GL STRING, VARCHAR, CHAR or TEXT, or the number of bytes allowed when set on a 4GL BYTE.

Note:
  1. XSDMinLength and XSDMaxLength can be used together, but XSDMaxLength value must be greater then XSDMinLength
  2. XSDMaxLength cannot be used with XSDLength
DEFINE myStr STRING ATTRIBUTE(XSDString, XSDMaxLength="12",
  XMLName="MyString")
DEFINE myByte BYTE ATTRIBUTE(XSDBase64Binary, XSDMaxLength="8000",
  XMLName="MyPicture")