Data Type Compatibility

Use

The data types you use when defining data mappings are organized in type clusters. Each cluster contains semantically similar XSD types. One or more of the XSD types in a cluster defines the XSD type of the whole cluster.

At runtime, data mappings that you have defined are checked for compatibility based on these type clusters. When you define data mappings between data types contained in different clusters, you need to know to which type cluster the target data type belongs, and the type of the whole cluster. The following table lists the type clusters and the XSD types contained in a cluster. The emphasized types define the type of each cluster:

Type Name

XSD Types

finite-integer

xsd:byte, xsd:int

xsd:long , xsd:short

xsd:unsignedByte,

xsd:unsignedInt,

xsd:unsignedShort

infinite-integer

xsd:integer ,

xsd:negativeInteger,

xsd:nonNegativeInteger,

xsd:nonPositiveInteger,

xsd:positiveInteger,

xsd:unsignedLong

fuzzy-real

xsd:double , xsd:float

precise-real

xsd:decimal

text

xsd:ID, xsd:IDREF,

xsd:language, xsd:Name,

xsd:NCName,

xsd:NMTOKEN,

xsd:normalizedString,

xsd:NOTATION,

xsd:string , xsd:token,

xsd:gDay, xsd:gMonth,

xsd:gMonthDay,

xsd:gYear,

xsd:gYearMonth,

xsd:ENTITY, xsd:duration,

xsd:anyURI (?), QName (?)

boolean

xsd:boolean

binary

xsd:base64Binary ,

xsd:hexBinary

time

xsd:date, xsd:dateTime ,

xsd:time