APAR status
Closed as program error.
Error description
The user has an EDI document where they have defined a ? (question mark) as an escape character and ' (single quote) as a segment separator and this is being parsed to DFDL and the resulting data stored in a queue. They find that when they subsequently read the contents of the queue, an escaped character which looked like ?' becomes ??' and this triggers a DFDL parsing error. For example : Original input file: FTX+AAA+++CARPENTERS?' SQUARE 800 X380MM W/O MARK. HOLES' After writing it back to disk: FTX+AAA+++CARPENTERS??' SQUARE 800 X380MM W/O MARK. HOLES'
Local fix
Problem summary
**************************************************************** USERS AFFECTED: All users of IBM Integration Bus V9 and V10 who are using DFDL schemas for EDIFACT and having escape scheme that has a char in the extraEscapedChars property which is the first char in an in-scope multi-char delimiter. Platforms affected: MultiPlatform **************************************************************** PROBLEM DESCRIPTION: The problem is triggered by the space that follows the single quote in the input data. The end-of-segment delimiter is '%WSP*; (single quote plus zero or more white space). The single quote + space in the data matches the delimiter, so the escape char ? is applied. However the single quote also appears in the list of extra characters to escape (the extraEscapedChars property of the escape scheme). To prevent double application of the escape char due to extraEscapedChars, a list is kept of any chars that have been escaped and a check is made against the list. The bug is that the list contains an entry for single quote + space, but the check uses the single quote and an exact match.
Problem conclusion
The product now parses the EDI document correctly when there are escape characters. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v9.0 9.0.0.6 v10.0 10.0.0.5 The latest available maintenance can be obtained from: http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041 If the maintenance level is not yet available,information on its planned availability can be found on: http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308 ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IT13948
Reported component name
INTEGRATION BUS
Reported component ID
5724J0530
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-02-24
Closed date
2016-05-25
Last modified date
2016-05-25
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
INTEGRATION BUS
Fixed component ID
5724J0530
Applicable component levels
R900 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
23 March 2020