Author |
Message
|
SphereOfLove |
Posted: Fri Aug 22, 2014 7:07 am Post subject: DFDL Modeling Error |
|
|
Apprentice
Joined: 13 May 2014 Posts: 38
|
Hi all,
I hope this finds you well.
I have a question, i was creating a DFDL model for T24 Fixed length message.
I am getting the following Error at the end of the sample File i have given as the input file.
The total length of the Message is 926, and i am getting the following ERROR.
Aug 22, 2014, 7:53:05 AM error: CTDP3000E: Unexpected end of data at byte offset '927' while parsing element 'RESERVED5'. The parser encountered the end of the data stream or the end of a parent element.
Aug 22, 2014, 7:53:05 AM fatal: CTDP3000E: Unexpected end of data at byte offset '927' while parsing element 'RESERVED5'. The parser encountered the end of the data stream or the end of a parent element[/quote] |
|
Back to top |
|
 |
JosephGramig |
Posted: Fri Aug 22, 2014 7:25 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Moderator, plz move this to the Broker forum. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 22, 2014 7:30 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
So the parser was trying to build up an element named RESERVED5.
While doing that, the parser reached the last piece of the actual data of the actual message.
But the necessary pieces of the RESERVED5 element were not all found. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 22, 2014 7:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The total of the individual lengths of your message components is greater than the total length of the message. Looks like your stream is ok but your DFDL definition is not.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
SphereOfLove |
Posted: Fri Aug 22, 2014 7:39 am Post subject: |
|
|
Apprentice
Joined: 13 May 2014 Posts: 38
|
I have Checked that in my Mode, i defined exact length required to each Field, But still i am getting the error.
I am not sure Why?
I have already included the DFDL code.
Thank you! |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 22, 2014 7:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
|