6.17 Notes on implementation-dependent specifications

The following tables describe the specifications that depend on the XML Schema implementation.

Table 6-31 Implementation-dependent specifications for data types

Data typeMaximum valueMaximum number of digits
duration type
(Format: PnYnMnDTnHnMnS)
nY (Year)X--
nM (Month)X
nD (Day)X
nH (Hour)X
nM (Minute)X
nS (Second)1 or more secondsX
Less than 1 secondX
date type
(Format: CCYY-MM-DD)
CCYY
(If 9999 is exceeded, digits can be added.)
X
gYearMonth type
(Format: CCYY-MM)
gYear type
(Format: CCYY)
dateTime type
(Format: CCYY-MM-DDThh:mm:ss)
Less than 1 second
(Values smaller than 1 second can be specified to the right of the decimal point after ss.)
X
time type
(Format: hh:mm:ss)
base64Binary typeYZ
hexBinary typeZ
decimal typeZ
integer typeZ
nonPositiveInteger typeZ
nonNegativeInteger typeZ
negativeInteger typeZ
positiveInteger typeZ
Legend:
X: Can be up to 2,147,483,647
Y: Maximum value is not defined
Z: Maximum number of digits depends on the memory
--: Not applicable

Table 6-32 Implementation-dependent specifications for constraining facet

Constraining facetMaximum valueMaximum number of digits
lengthX--
minLengthX
maxLengthX
totalDigitsX
fractionDigitsX
maxInclusiveYZ
maxExclusiveZ
minInclusiveZ
minExclusiveZ
Legend:
X: Can be up to 2,147,483,647
Y: Maximum value is not defined
Z: Maximum number of digits depends on the memory
--: Not applicable

Table 6-33 Implementation-dependent specifications for the number of occurrences

Number of occurrencesMaximum valueMaximum number of digits
minOccursX--
maxOccursX
Legend:
X: Can be up to 2,147,483,647
--: Not applicable