Data type casting
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
OpenEdge supports a set of alternative ABL data types (in addition to a suggested data type) to represent the value for an XML Schema data type in ABL. These alternative data types essentially force the Web service invocation to cast the value between the specified native ABL representation and the corresponding XML Schema data type. The result of this casting might not preserve as much accuracy as the suggested mapping.
The following table shows all the supported castings (alternative mappings) between the XML Schema and ABL data types. The suggested ABL data type mapping for each XML Schema type appears in bold font.
Note: OpenEdge supports no castings for the
RECID,
ROWID, or HANDLE ABL data types.| XML Schema data type | ABL data type |
|---|---|
anyURI
|
|
base64Binary
|
|
boolean
|
|
byte
|
|
date
|
|
dateTime
|
|
decimal
|
|
double
|
|
duration
|
|
ENTITIES
|
|
ENTITY
|
|
float
|
|
gDay
|
|
gMonth
|
|
gMonthDay
|
|
gYear
|
|
gYearMonth
|
|
hexBinary
|
|
ID
|
|
IDREF
|
|
IDREFS
|
|
int
|
|
integer
|
|
Language
|
|
long
|
|
Name
|
|
NCName
|
|
negativeInteger
|
|
NMTOKEN
|
|
NMTOKENS
|
|
nonNegativeInteger
|
|
nonPositiveInteger
|
|
normalizedString
|
|
NOTATION
|
|
positiveInteger
|
|
qName
|
|
short
|
|
string
|
|
time
|
|
token
|
|
unsignedByte
|
|
unsignedInt
|
|
unsignedLong
|
|
unsignedShort
|
|