The logical data model to XML Schema transformation generates XML
schema primitive types from data types for the logical data model.
The following table shows the mapping between data types for logical
data models and XML schema primitive types.
Table 1. Logical data model to XML schema data type mappingsLogical data model data types |
XML schema data types generated by the transform |
CHAR |
byte |
CHAR(length) |
string (with Length facet) |
VARCHAR(length) |
string (with MaxLength facet) |
CLOB(length) |
string (with MaxLength facet) |
BINARY(length) |
base64Binary (with Length facet) |
VARBINARY(length) |
base64Binary (with MaxLength facet) |
BLOB(length) |
base64Binary (with MaxLength facet) |
SHORT |
short |
INTEGER |
integer |
LONG |
long |
FLOAT(precision) |
float (with TotalDigits facet) |
DECIMAL(precision,scale) |
decimal (with TotalDigits and FractionDigits facets) |
DOUBLE |
double |
BOOLEAN |
boolean |
DATE |
date |
TIME |
time |
TIMESTAMP |
datetime |
INTERVAL |
duration |
DATALINK(length) |
string |
ROWID |
string |
XML |
string |