XML Schemaの実装に依存した仕様を表6-26~表6-28に示します。
表6-26 データ型に関する実装依存仕様
データ型 | 最大値 | 最大桁数 | ||
---|---|---|---|---|
duration型 (形式:PnYnMnDTnHnMnS) | nY(年) | ○ | - | |
nM(月) | ○ | |||
nD(日) | ○ | |||
nH(時) | ○ | |||
nM(分) | ○ | |||
nS(秒) | 1秒以上 | ○ | ||
1秒未満 | ○ | |||
date型 (形式:CCYY-MM-DD) | CCYY ("9999"を超える場合,桁数の追加ができる) | ○ | ||
gYearMonth型 (形式:CCYY-MM) | ||||
gYear型 (形式:CCYY) | ||||
dateTime型 (形式:CCYY-MM-DDThh:mm:ss) | ||||
1秒未満 (ssに続く,小数点以下に1秒未満の値を指定できる) | ○ | |||
time型 (形式:hh:mm:ss) | ||||
base64Binary型 | △ | ◎ | ||
hexBinary型 | ◎ | |||
decimal型 | ◎ | |||
integer型 | ◎ | |||
nonPositiveInteger型 | ◎ | |||
nonNegativeInteger型 | ◎ | |||
negativeInteger型 | ◎ | |||
positiveInteger型 | ◎ |
表6-27 制約ファセットに関する実装依存仕様
制約ファセット | 最大値 | 最大桁数 |
---|---|---|
length | ○ | - |
minLength | ○ | |
maxLength | ○ | |
totalDigits | ○ | |
fractionDigits | ○ | |
maxInclusive | △ | ◎ |
maxExclusive | ◎ | |
minInclusive | ◎ | |
minExclusive | ◎ |
表6-28 出現回数の指定に関する実装依存仕様
出現回数の指定 | 最大値 | 最大桁数 |
---|---|---|
minOccurs | ○ | - |
maxOccurs | ○ |