IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Handling nulls in message maps

A message might contain fields that can carry a specific out-of-range value. This is distinct from the field being empty. Such values are termed nil or null, and the field is said to be nillable or nullable.

The logical message tree supports the concept of out-of-range values by using one of two techniques, depending on the data format:

  1. For XML the schema model allows for elements to be defined as nillable to indicate that they support an out-of-range value. An XML element in a document is identified as being nilled by having a xsi:nil attribute with the value 'true'. The XMLNSC parser logical tree for a nilled element has an empty value and a child xsi:nil attribute with the value 'true'.
  2. For other text and binary messages modeled with a DFDL schema or MRM message set, elements can also be defined as nillable to indicate that they support an out-of-range value. In the message bit stream, a reserved value is identified to indicate the nulled state. The DFDL and MRM parsers logical tree for a nilled element have the value set to the special value NULL.

br28815_.htm | Last updated Friday, 21 July 2017