.NET Framework使用時のXML Schemaのデータ型,およびXML Schemaのサポート範囲を示します。
表12-12 XML Schemaのデータ型のサポート範囲(.NET Framework使用時)
XML Schemaのデータ型 | データ型 | データ型の列挙 | attribute要素 | list要素※1 |
---|---|---|---|---|
xsd:duration | ○ | ○ | ○ | ○ |
xsd:dateTime | ○ | × | ○ | ○ |
xsd:time | ×※2 | × | × | × |
xsd:date | ×※2 | × | × | × |
xsd:gYearMonth | ○ | ○ | ○ | ○ |
xsd:gYear | ○ | ○ | ○ | ○ |
xsd:gMonthDay | ○ | ○ | ○ | ○ |
xsd:gDay | ○ | ○ | ○ | ○ |
xsd:gMonth | ○ | ○ | ○ | ○ |
xsd:boolean | ○ | × | ○ | ○ |
xsd:base64Binary | ○※3 | × | ○ | × |
xsd:hexBinary | ○※3 | × | ○ | × |
xsd:float | ○ | ○ | ○ | ○ |
xsd:double | ○ | ○ | ○ | ○ |
xsd:anyURI | ○ | × | ○ | ○ |
xsd:QName | × | × | × | × |
xsd:NOTATION | × | × | × | × |
xsd:string | ○ | ○ | ○ | ○ |
xsd:normalizedString | ○ | × | ○ | ○ |
xsd:token | ○ | ○ | ○ | ○ |
xsd:language | △ | ○ | ○ | ○ |
xsd:Name | △ | ○ | ○ | ○ |
xsd:NCName | △ | ○ | ○ | ○ |
xsd:ID | △ | ○ | ○ | ○ |
xsd:IDREF | △ | ○ | ○ | ○ |
xsd:ENTITY | △ | ○ | ○ | ○ |
xsd:IDREFS | △ | × | ○ | × |
xsd:ENTITIES | △ | × | ○ | × |
xsd:NMTOKEN | △ | ○ | ○ | ○ |
xsd:NMTOKENS | △ | × | ○ | × |
xsd:decimal | ○ | ○ | ○ | ○ |
xsd:integer | ○ | ○ | ○ | ○ |
xsd:nonPositiveInteger | ○ | ○ | ○ | ○ |
xsd:negativeInteger | ○ | ○ | ○ | ○ |
xsd:long | ○ | ○ | ○ | ○ |
xsd:int | ○ | ○ | ○ | ○ |
xsd:short | ○ | ○ | ○ | ○ |
xsd:byte | ○ | ○ | ○ | ○ |
xsd:nonNegativeInteger | ○ | ○ | ○ | ○ |
xsd:unsignedInt | ○ | ○ | ○ | ○ |
xsd:unsignedShort | ○ | ○ | ○ | ○ |
xsd:unsignedByte | ○ | ○ | ○ | × |
xsd:unsignedLong | ○ | ○ | ○ | ○ |
xsd:positiveInteger | ○ | ○ | ○ | ○ |
xsd:anyType※4 | ○ | × | × | × |
xsd2000:timeInstant | × | × | × | × |
表12-13 XML Schemaのサポート範囲(.NET Framework使用時)
要素名 | サポート | 属性名 | サポート |
---|---|---|---|
schema | ○ | id | × |
attributeFormDefault | ○ | ||
blockDefault | × | ||
elementFormDefault | ○ | ||
finalDefault | × | ||
targetNamespace | ○ | ||
version | × | ||
xml:lang | △ | ||
include | ○ | id | ○ |
schemaLocation | ○ | ||
import | ○ | id | ○ |
namespace | ○ | ||
schemaLocation※1 | ○ | ||
redefine | × | id | × |
schemaLocation | × | ||
element (グローバル) | ○ | id | ○ |
abstract | ○ | ||
final | × | ||
substitutionGroup | × | ||
block | △ | ||
default | × | ||
fixed | × | ||
name | ○ | ||
nillable | ○ | ||
type | ○ | ||
element (ローカル) | ○ | id | ○ |
minOccurs | ○ | ||
maxOccurs | ○ | ||
form | ○ | ||
block | △ | ||
default | × | ||
fixed | × | ||
name | ○ | ||
nillable | ○ | ||
type | ○ | ||
ref | ○ | ||
simpleType (グローバル)※2※3 | ○ | id | ○ |
final | △ | ||
name | ○ | ||
simpleType (ローカル)※2※3 | ○ | id | ○ |
complexType (グローバル) | ○ | id | ○ |
abstract | ○ | ||
block | △ | ||
final | △ | ||
mixed | × | ||
name | ○ | ||
complexType (ローカル) | ○ | id | ○ |
mixed | × | ||
all | ○※4 | id | ○ |
minOccurs | △ | ||
maxOccurs | ○ | ||
sequence | ○※4 | id | ○ |
minOccurs | × | ||
maxOccurs | × | ||
choice | × | id | × |
minOccurs | × | ||
maxOccurs | × | ||
any | × | id | × |
minOccurs | × | ||
maxOccurs | × | ||
namespace | × | ||
processContents | × | ||
group | × | id | × |
minOccurs | × | ||
maxOccurs | × | ||
ref | × | ||
name | × | ||
attribute (グローバル) | ○ | id | ○ |
default | × | ||
fixed | × | ||
name | ○ | ||
type | ○ | ||
wsdl:arrayType | × | ||
attribute (ローカル) | ○※4 | id | ○ |
default | × | ||
fixed | × | ||
form | ○ | ||
name | ○ | ||
ref | ○ | ||
type | ○ | ||
use | × | ||
wsdl:arrayType | × | ||
anyAttribute | × | id | × |
namespace | × | ||
attributeGroup | × | id | × |
name | × | ||
ref | × | ||
list※5 | ○ | id | ○ |
itemType | ○ | ||
union | × | id | × |
memberTypes | × | ||
enumeration | ○ | value | ○ |
minExclusive | △ | value | △ |
fixed | ×※6 | ||
minInclusive | △ | value | △ |
fixed | ×※6 | ||
maxExclusive | △ | value | △ |
fixed | ×※6 | ||
maxInclusive | △ | value | △ |
fixed | ×※6 | ||
totalDigits | △ | value | △ |
fractionDigits | △ | value | △ |
length | △ | value | △ |
minLength | △ | value | △ |
maxLength | △ | value | △ |
whiteSpace | △ | value | △ |
fixed | ×※6 | ||
pattern | △ | value | △ |
complexContent※7 | ○ | id | ○ |
mixed | × | ||
simpleContent | × | id | × |
restriction※3※7 | ○ | id | ○ |
base | ○ | ||
extension※8 | ○ | id | ○ |
base | ○ | ||
unique | × | id | × |
name | × | ||
key | × | id | × |
name | × | ||
keyref | × | id | × |
name | × | ||
refer | × | ||
selector | × | id | × |
xpath | × | ||
field | × | id | × |
xpath | × | ||
notation | × | id | × |
name | × | ||
public | × | ||
system | × | ||
annotation | ○ | id | ○ |
appinfo※9 | ○ | source | ○ |
documentation | ○ | source | ○ |
xml:lang | ○ |