6.17 Notes on implementation-dependent specifications
The following tables describe the specifications that depend on the XML Schema implementation.
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) |
CCYY (If 9999 is exceeded, digits can be added.) 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) |
Less than 1 second (Values smaller than 1 second can be specified to the right of the decimal point after ss.) |
X |
||
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 |
- 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‒31: 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
- 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 the number of occurrences Number of occurrences
Maximum value
Maximum number of digits
minOccurs
X
--
maxOccurs
X
- Legend:
-
X: Can be up to 2,147,483,647
--: Not applicable