Posted: Mon Nov 10, 2003 5:43 am Post subject: TDS and optional element
Acolyte
Joined: 05 Jun 2003 Posts: 56 Location: Sweden
I know that this has been discussed numerous times on this board, but I couldn't find the exact answer to my issue.
I have mapped a message set MRM-TDS with a number of fields.
The last five fields are headers that can be optional (i.e. if one field is omitted it's the last one, if two fields are missing it's nr four and five and so on...)
I used the Occurrences fields (Min occurs=0), Max occurs=1), but if I cut the last field (using one record in initial tests) in my test file (RFHUTIL), I get "The bitstream of a TDS message contains less data than expected.".
A test file with all fields in it parses ok.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum