Problem:
You stumble upon a case where your Swift message comes out without the text block start and end tags: “(4:” & “-}”…
Solution:
The <TextBlock> & <EndTextBlock> have to be present in the XML that is being assembled so in case of a map for example an empty string has to be places in these nodes.
Update:
In newer message packs, the end text block is not present, the end tag is automatically placed when you place values in the trailer block.