XMLData

base: dataFIX 5.0 SP2length-prefixed

XMLData is a FIX datatype defined in FIX 5.0 SP2, carried on the wire as data. 1 field uses it.

Wire format

Base type
data
Fields
1

Carried on the wire as data.

What the specification says

Contains an XML document raw data with no format or content restrictions. XMLData fields are always immediately preceded by a length field. The length field should specify the number of octets of the value of the data field (up to but not including the terminating SOH).

Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.

How @boarteam/fix handles it

@boarteam/fix reads the partner length field first and takes exactly that many bytes, so an embedded separator does not truncate the value.

Fields with this datatype

TagFieldDialectsMessages
1185SecurityXMLFIX 5.0 SP272

Decode this in your own code

The same engine that produced the decoded example above is an Apache-2.0 npm package with zero runtime dependencies. It runs in Node and in the browser, and parse() returns problems as data instead of throwing.

npm i @boarteam/fix @boarteam/fix-dict-fix44