Custom wire format - NULL handling

CWF supports the handling of explicit NULL values within messages. An explicit null is identified by a specific value that identifies an element as being null.

The Boolean Null Value can be specified at the message set level and applies to the boolean elements of all messages defined in that message set. The null value for all other element types can be specified individually for each element.

CWF supports the representation of null values using the Encoding Null and Encoding Null Value element properties. Together this information controls how null values are handled by the MRM parser.

The Encoding Null property can be set to one of three values:

NullLogicalValue

The Encoding Null Value property is interpreted as a logical value. Thus, if its value is set to 0 for example then both 0 and 0.00 are interpreted as null values.

NullLiteralValue

The Encoding Null Value property is interpreted as a string value. Thus, the value of the element in the bitstream must match exactly the value specified to be interpreted as a null value.

NullPadFill

This should be used for fixed length elements. On output, any element with a null value will be padded to the appropriate length with the specified padding character.

Related Concepts
The message model
Physical formats in the MRM domain
Working with a message set
Working with physical properties
Adding a Custom Wire Format (CWF)
Configuring Custom Wire Format (CWF) properties: Message sets
Removing a physical format

Related Reference
Custom Wire Format physical properties for message model objects