IBM Support

IT10977: DATAPOWER FAILS TO CREATE VALID XML IN CONVERT-HTTP(JSON) ACTION IF JSON STRING CONTAINS "\U0026" OR "\U003E"

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The customer observed that invalid XML got created if feeding
    DataPower convert-http(JSON) action with JSON strings
    containing "\u0026" or "\u003e".
    

Local fix

  • In JSON, replace occurences of "\u0026" by "&" and "\u003e" by
    "<" in the hosted file or use JSONiq or GatewayScript instead.
    

Problem summary

  • Affected is the use of convert-http action for conversion of
    JSON input to JSONX.
    
    A JSON string containing "\u0026" or "\u003e" will be converted
    into Non-XML.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT10977

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-08-31

  • Closed date

    2015-10-01

  • Last modified date

    2015-11-06

  • 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

  • R720 PSY

       UP



Document information

More support for: IBM DataPower Gateways
General

Software version: 7.0.0

Reference #: IT10977

Modified date: 06 November 2015