IBM Support

IT22783: INCORRECT RESULT WHEN USING THE XMLTABLE FUNCTION AND REFERENCING ELEMENTS THAT DON"T EXIST IN THE SOURCE DOCUMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The issue is due to an incomplete fix introduced in V10.1.
    Xmltable queries like the following that reference non-existent
    tags in an XML document will return  incorrect results
    
    XMLTABLE( '$d/*:LocationUpdates'  PASSING Var_DB210_5_XML_issue
    AS  "d"
                COLUMNS
                   SOV_LOC_ID         BIGINT      PATH
    '*:LocationId'
                  ,ORGNL_FALT         VARCHAR(2000) PATH  'let $x :=
    . return $x/*[local-name()="abcd"]/*[local-name()="dabcd"]'
    )GTT;
    

Local fix

  • a)  modified query
    
    b) don't reference any non existent tags.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * XMLTABLE FUNCTIONS                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please, See Error Description and install this fix.          *
    ****************************************************************
    

Problem conclusion

  • Please, See Error Description and install this fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT22783

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-13

  • Closed date

    2018-03-16

  • Last modified date

    2018-03-16

  • APAR is sysrouted FROM one or more of the following:

    IT22548

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 March 2018