|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
DFDL serialization error for ISO8583 |
« View previous topic :: View next topic » |
Author |
Message
|
Martand |
Posted: Sun May 27, 2018 10:36 am Post subject: DFDL serialization error for ISO8583 |
|
|
Newbie
Joined: 22 Mar 2018 Posts: 6
|
Hi,
We are trying to implement parsing of ISO8583 message 1987 unpacked version using available DFDL parser.
In Windows with CCSID 1208, Encoding 273, the ISO8583 sample got parsed successfully but once moved to Unix box HP-UX 64bit, it is causing error.
Exception list description : The DFDL serializer cannot output the text representation of element '#xscd(/schemaElement::ISO8583_1987_Unpacked/type::0/model::sequence/schemaElement::MTI_Version)'. The serialized number digits value '?' with length '2' is greater than the declared length '1'
Where MTI_Version is defined as integer of explicit length 1.
Also, We are facing parsing error for Arabic characters as each is occupying 2 bytes.
Any inputs will be much appreciated and we have played around with CCSID 1208,1089, 1252, 1200 etc... and different available encoding.
Regards,
Martand |
|
Back to top |
|
 |
timber |
Posted: Tue May 29, 2018 12:53 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Quote: |
MTI_Version is defined as integer of explicit length 1 |
1 character or 1 byte? What value does the lengthUnits property have?
Quote: |
Also, We are facing parsing error for Arabic characters as each is occupying 2 bytes. |
What does the ISO8583 specification say about multibyte character encodings? |
|
Back to top |
|
 |
Martand |
Posted: Tue May 29, 2018 1:08 am Post subject: |
|
|
Newbie
Joined: 22 Mar 2018 Posts: 6
|
Quote: |
1 character or 1 byte? What value does the lengthUnits property have? |
As 1 Byte.
Quote: |
What does the ISO8583 specification say about multibyte character encodings |
As nothing that i came across in IBM site specific to ISO8583, other sites provided leads for UTF-8 supporting arabic charcaters which in ISO8583 default schema was US-ASCII. |
|
Back to top |
|
 |
timber |
Posted: Tue May 29, 2018 3:38 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
The error message is explaining fairly clearly what the technical problem is:
Quote: |
Exception list description : The DFDL serializer cannot output the text representation of element '#xscd(/schemaElement::ISO8583_1987_Unpacked/type::0/model::sequence/schemaElement::MTI_Version)'. The serialized number digits value '?' with length '2' is greater than the declared length '1' |
You need to tell us
a) what the numeric value is (unfortunately the error message does not quote that)
b) what the expected output value is. Please quote the exact *byte* value(s) that you are expecting.
Also, before posting again please ensure that you have reviewed the DFDL trace view (I assume that you are testing this in the IIB toolkit and not in the runtime). The DFDL trace is an essential tool when debugging problems like this. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|