In order to test our application we are using sink_driven_source reading generated XML messages based on those captured by rmdstestclient.
Can you advise on whether datasize field is required to be correct and if so how is it calculated? From the data captured I am unable to determine what this size relates to.
e.g.
<!-- rwfMajorVer="14" rwfMinorVer="0" -->
<updateMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="5" containerType="RSSL_DT_FIELD_LIST" flags="0x18 (RSSL_UPMF_HAS_MSG_KEY|RSSL_UPMF_HAS_SEQ_NUM)" updateType="0" seqNum="5470" dataSize="8">
<key flags="0x7 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE)" serviceId="467" name="EUR=" nameType="1"/>
<dataBody>
<fieldList flags="0x8 (RSSL_FLF_HAS_STANDARD_DATA)">
<fieldEntry fieldId="3293" dataType="RSSL_DT_REAL" data="-0.0062"/>
</fieldList>
</dataBody>
</updateMsg>
In another message there datasize = 24 whereas there are 16 characters?
Can you advise how to populate the datasize field?