IBM Support

IT37739: XMLNSC PARSER CAN TRIGGER NON-FATAL ABEND IF VALIDATION IS ENABLED AND A MALFORMED XML MESSAGE IS PARSED

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

  • If a malformed XML message which has an incomplete closing tag,
    for example
    
    <Student>    <Name>James</Nam
    
    is parsed using the XMLNSC parser with validation enabled then
    an informational abend will be generated and the following BIP
    exceptions will be thrown:
    
    BIP5009E: XML Parsing Errors have occurred. : /Users/gb120268/l
    ocalbuilds/S1100/WMB/src/MTI/MTIforBroker/GenXmlParser4/ImbXMLN
    SCParser.cpp:1069: ImbXMLNSCParser::parseFirstChild: :
    BIP5020E: XMLNSC parser: XML parsing was stopped due to an
    internal error.  Internal error information: -1 : /Users/gb1202
    68/localbuilds/S1100/WMB/src/MTI/MTIforBroker/GenXmlParser4/Imb
    XMLNSCDocHandler.cpp:927: ImbXMLNSCDocHandler::handleAbort: ComI
    TestFlow#FCMComposite_1_1
    
    Additionally an abend file will be generated, but the
    DataFlowEngine or IntegrationServer process will not exit. The
    abend file will show
    
    Function: ImbXMLNSCServices::abort
    ---- Inserts ----
    XML Parser R1.1.28 Wed, 2 Dec 2020 09:45:05 GMT SymbolTable.c:
    2119 SymbolTable.needTest(22)
    ---- Stack ----
    #4 0x7fcfdb5390cd in
    ImbXMLNSCExceptionCache::parseAbortedByXLXP(char*) from
    /opt/ibm/ace-11/server/lib/libGenXmlParser4.so
    #5 0x7fcfdb539124 in ImbXMLNSCServices::abort(void const*,
    unsigned int) from
    /opt/ibm/ace-11/server/lib/libGenXmlParser4.so
    #6 0x7fcfd72ee3da in xlxpc::Services::panic(void const*,
    unsigned int, xlxpc::XLXPCParser&) from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #7 0x7fcfd7312afa in SymbolTable_scanQNameBuffered2 from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #8 0x7fcfd73232ae in VMScannerEventQueue_scanEndElement from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #9 0x7fcfd72fc24c in ?? from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #10 0x7fcfd72fc4cf in ?? from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #11 0x7fcfd72f4f7c in xlxpc::XLXPCParser::parseNext() from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    

Local fix

  • Disable validation
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of the XMLNSC parser in IBM Integration Bus v10, App
    Connect Enterprise v11, or v12.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If a malformed XML message which has an incomplete closing tag,
    for example
    
    <Student>    <Name>James</Nam
    
    is parsed using the XMLNSC parser with validation enabled then
    an informational abend will be generated and the following BIP
    exceptions will be thrown:
    
    BIP5009E: XML Parsing Errors have occurred. :
    /Users/gb120268/localbuilds/S1100/WMB/src/MTI/MTIforBroker/GenXm
    lParser4/ImbXMLNSCParser.cpp:1069:
    ImbXMLNSCParser::parseFirstChild: :
    BIP5020E: XMLNSC parser: XML parsing was stopped due to an
    internal error.  Internal error information: -1 :
    /Users/gb120268/localbuilds/S1100/WMB/src/MTI/MTIforBroker/GenXm
    lParser4/ImbXMLNSCDocHandler.cpp:927:
    ImbXMLNSCDocHandler::handleAbort: ComITestFlow#FCMComposite_1_1
    
    Additionally an abend file will be generated, but the
    DataFlowEngine or IntegrationServer process will not exit. The
    abend file will show
    
    Function: ImbXMLNSCServices::abort
    ---- Inserts ----
    XML Parser R1.1.28 Wed, 2 Dec 2020 09:45:05 GMT SymbolTable.c:
    2119 SymbolTable.needTest(22)
    ---- Stack ----
    #4 0x7fcfdb5390cd in
    ImbXMLNSCExceptionCache::parseAbortedByXLXP(char*) from
    /opt/ibm/ace-11/server/lib/libGenXmlParser4.so
    #5 0x7fcfdb539124 in ImbXMLNSCServices::abort(void const*,
    unsigned int) from
    /opt/ibm/ace-11/server/lib/libGenXmlParser4.so
    #6 0x7fcfd72ee3da in xlxpc::Services::panic(void const*,
    unsigned int, xlxpc::XLXPCParser&) from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #7 0x7fcfd7312afa in SymbolTable_scanQNameBuffered2 from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #8 0x7fcfd73232ae in VMScannerEventQueue_scanEndElement from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #9 0x7fcfd72fc24c in ?? from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #10 0x7fcfd72fc4cf in ?? from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    #11 0x7fcfd72f4f7c in xlxpc::XLXPCParser::parseNext() from
    /opt/ibm/ace-11/server/xlxpc/lib/libBIPNVBRT.so.11
    

Problem conclusion

  • Invalid messages of this type no longer trigger a non-fatal
    abend and will correctly trigger appropriate parsing exceptions.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v11.0      11.0.0.20
    v12.0      12.0.7.0
    
    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

    IT37739

  • Reported component name

    INTEGRATION BUS

  • Reported component ID

    5724J0540

  • Reported release

    A00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-07-23

  • Closed date

    2023-08-03

  • Last modified date

    2023-08-03

  • 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

    5724J0540

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0"}]

Document Information

Modified date:
16 August 2023