The following tables describe the specifications that depend on the XML Schema implementation.
Table 6-31 Implementation-dependent specifications for data types
Data type | Maximum value | Maximum 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 seconds | X | ||
Less than 1 second | X | |||
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 type | Y | Z | ||
hexBinary type | Z | |||
decimal type | Z | |||
integer type | Z | |||
nonPositiveInteger type | Z | |||
nonNegativeInteger type | Z | |||
negativeInteger type | Z | |||
positiveInteger type | Z |
Table 6-32 Implementation-dependent specifications for constraining facet
Constraining facet | Maximum value | Maximum number of digits |
---|---|---|
length | X | -- |
minLength | X | |
maxLength | X | |
totalDigits | X | |
fractionDigits | X | |
maxInclusive | Y | Z |
maxExclusive | Z | |
minInclusive | Z | |
minExclusive | Z |
Table 6-33 Implementation-dependent specifications for the number of occurrences
Number of occurrences | Maximum value | Maximum number of digits |
---|---|---|
minOccurs | X | -- |
maxOccurs | X |