suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT22548 Status: Closed

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

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem 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;
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* XML                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to DB2 UDB Version 10.5 FixPack 10.                  *
****************************************************************
Local Fix:
a)  modified query

b) don't reference any non existent tags.
Solution
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : 
follow-up : IT22783 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
26.09.2017
12.07.2018
12.07.2018
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)