IBM Support

IT08134: REGEXP:REPLACE() MIGHT YIELD INCORRECT RESULTS WHEN INPUT TEXT CONTAINS MULTI-BYTE CHARACTERS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • DataPower extension function regexp:replace() might yield
    incorrect results when input text contains multi-byte
    characters.
    

Local fix

  • Users may use XQuery's fn:replace() instead of XSLT's
    regexp:replace().
    

Problem summary

  • Affected is the use of  regexp:replace()  EXSLT extension
    function.
    
    Matching should be done (unicode) character wise, but is done
    byte wise leading to wrong matches for multibyte UTF-8
    characters (UTF-8 is DataPower internal encoding).
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT08134

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    402

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-08

  • Closed date

    2015-06-16

  • Last modified date

    2015-06-29

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • R600 PSY

       UP

  • R601 PSY

       UP

  • R700 PSY

       UP

  • R710 PSY

       UP



Document information

More support for: IBM DataPower Gateways
General

Software version: 4.0.2

Reference #: IT08134

Modified date: 29 June 2015