IBM Support

IT13948: DFDL ESCAPE CHARACTER GETTING ESCAPED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

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

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:

    IT13883

  • 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