XSDMaxInclusive

Define the maximum inclusive value allowed and depending on the data type where it is set, namely all numeric, date and time data types.

Note: The maximum value cannot exceed the implicit maximum value supported by the data type itself or the compiler will complain. For instance, with XSDShort the maximum value is 32767.

Example

DEFINE myCode SMALLINT ATTRIBUTES(XSDShort, XSDMaxInclusive="1000",
  XMLName="MyCode")
DEFINE myRate DECIMAL(4,2) ATTRIBUTES(XSDDecimal, XSDMaxInclusive="299.99",
  XMLName="MyRate")