Author |
Message
|
vinbud117 |
Posted: Sun Feb 05, 2006 5:31 pm Post subject: 2 new Lines in TDS |
|
|
Acolyte
Joined: 22 Jul 2005 Posts: 61
|
hi... using mb6... i have created a mesg set with tds layer. The element repeats with <OD><OA> as the "repeating element delimiter". If thr is two consecutive new lines (<OD><OA><OD><OA>) i get an error saying the bitstream is longer than that defined in the logical structure.
If i delete one new line it works fine. Any idea as to y this m8 be happening?
Thks |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Feb 05, 2006 6:26 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's happening because that's the way it works.
When there are blank lines at the end of your message, it doesn't match the model you have created.
You can either adjust your data to match the model, or adjust the model to handle the full range that your data can cover. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vinbud117 |
Posted: Sun Feb 05, 2006 7:07 pm Post subject: |
|
|
Acolyte
Joined: 22 Jul 2005 Posts: 61
|
Hi Jefflowrey,
The two new lines are in the middle of the data...
thks |
|
Back to top |
|
 |
elvis_gn |
Posted: Sun Feb 05, 2006 11:24 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi vinbud117,
Let me guess....
This last repeating element will end with <OD><OA>.....
This repeating element is inside another complex type which also ends in <OD><OA>....am i right ? I also suppose that this complex type is at the end of the message ?
You could work with the "Suppress Absent Element Delimiters" in the complex properties.
Regards. |
|
Back to top |
|
 |
vinbud117 |
Posted: Mon Feb 06, 2006 1:23 am Post subject: |
|
|
Acolyte
Joined: 22 Jul 2005 Posts: 61
|
hey elvis,
gr8 guess.. u r perfect. its working fine after making that change...
thanks a lot.
Cheers!!!
vin |
|
Back to top |
|
 |
|