Data types for elements in an MRM message

A parser is supplied for the body of a message in the MRM domain; it associates each field with a specific data type.

The following table shows the mapping from XML Schema data types that you have specified for elements in the MRM to data types used by the broker and supported by ESQL. When you create an element, you might find that associated value constraints are created to ensure a more accurate mapping of the XML Schema type.

Data type of the element ESQL data type in message tree
ANYURI CHARACTER
BASE64BIN BLOB
BOOLEAN BOOLEAN
BYTE INTEGER
DATE DATE
DATETIME TIMESTAMP
DECIMAL DECIMAL
DOUBLE FLOAT
DURATION INTERVAL
ENTITIES List of CHARACTER
ENTITY STRING
FLOAT FLOAT
GDAY DATE
GMONTH DATE
GMONTHDAY DATE
GYEAR DATE
GYEARMONTH DATE
HEXBINARY BLOB
ID CHARACTER
IDREF CHARACTER
IDREFS List of CHARACTER
INT INTEGER
INTEGER DECIMAL
LANGUAGE CHARACTER
LONG INTEGER
NAME CHARACTER
NCNAME CHARACTER
NEGATIVE_INTEGER DECIMAL
NMTOKEN CHARACTER
NMTOKENS List of CHARACTER
NON_NEGATIVE_INT DECIMAL
NON_POSITIVE_INTEGER DECIMAL
NORMAILIZED_STRING CHARACTER
NOTATION CHARACTER
POSITIVE_INTEGER DECIMAL
QNAME CHARACTER
SHORT INTEGER
STRING CHARACTER
TIME DATETIME
TOKEN CHARACTER
UNSIGNED_BYTE INTEGER
UNSIGNEDINT INTEGER
UNSIGNEDLONG DECIMAL
UNSIGNED_SHORT INTEGER

Simple type - list

In the message tree, a list type will be represented as a name node with an anonymous value child for each list item. This allows repeating lists to be handled without any loss of information. Repeating lists will appear as sibling name elements, each of which has its own anonymous value child nodes for its respective list items.

Related concepts
Message flows overview
Message modeling
Related tasks
Developing ESQL
Developing Java
Developing message models
Manipulating messages in the MRM domain
Related reference
Data types of fields and elements
Message model reference information
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:20:59

ad09640_