Built-in Simple Types (constraining facets)

lengthspecifies the length of the value
minLengthspecifies the minimum length of the value
maxLengthspecifies the maximum length of the value
patternspecifies the pattern of the value (regular expression)
enumerationspecifies a set of predefined values
whiteSpacespecifies the behavior for white-space normalization, values can be: preserve, replace or collapse.
maxInclusivemaximum inclusive number
maxExclusivemaximum exclusive number
minInclusiveminimum inclusive number
minExclusiveminimum exclusive number
totalDigitstotal number of digits
frationDigitstotal number of fraction digits


only a subset of all facets is supported by the data-types