Posted: Wed Oct 01, 2003 7:21 am Post subject: <LF> in Fixed Length TDS
Newbie
Joined: 30 Sep 2003 Posts: 3
hi all
I have a fixed length compound element which has length of 50 characters. And this compund message has been included in the message as repeatable. Repeatable delimiter is <LF>.
All the input records in the input message are delimited by line feed (<LF>).
If one of the input message records is less than 50 characters, the Parser is appending <LF> into the compound element while forming the tree structure. This is what my trace file shows. And the parser does not throw any error.
Question is, is it a normal expected behaviour pattern of TDS....that it can accomodate <LF> as part of a string defined element ??
Fixed length means just that - the length of the field is fixed.
When the parser encounters a field that is fixed length, it takes the next block of the bitstream that matches that length, regardless of their content.
I think you want variable length elements. _________________ I am *not* the model of the modern major general.
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