IBM Support

JR64973: Hierarchical Stage: REST step throws invalid xml error when xml response body contains less than 4 characters in the first line.

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

  • In Hierarchical Data stage, REST Step throws invalid XML error
    when the received XML content contains less than 4 characters in
    the first line of the body content. Following is the error
    message.
    
    CDIER0925E: The REST step found invalid XML data in an HTTP
    body.
    

Local fix

Problem summary

  • In Hierarchical Data stage, REST Step throws invalid XML error
    when the received XML content contains
    less than 4 characters in the first line of the body content.
    This happens because REST Step uses
    the first four characters before a new line for determining the
    charset.
    
    Following is the error message
    CDIER0925E: The REST step found invalid XML data in an HTTP
    body.
    

Problem conclusion

  • A new java property xmlcc.ignore.invalidXMLError has been added,
     setting this to true will by pass the
    check and assume the charset to be UTF-8 and proceed. Please
    note that this does not guarantee that
    the resulting XML will be valid and may not be parsed in the XML
    parser step.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR64973

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    B71

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-24

  • Closed date

    2022-06-10

  • Last modified date

    2022-06-10

  • 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

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.7"}]

Document Information

Modified date:
11 June 2022