IBM Support

PK78724: SYSFUN.DSN_XMLVALIDATE XML VALIDATION RETURNS SQLCODE0 INSTEAD ERROR SQLCODE FOR INVALID XML DOCUMENT ELEMENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With invalid XML document, well-formed but one element is
    filled with incorrect values. DB2's SYSFUN.DSN_XMLVALIDATE
    function anyway does not recognize this error and returns an
    SQLCODE = 0.
    
    error SQLCODE should be issued
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: DB2 for z/Os V9 users of XML schema          *
    *                 validation.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: XML schema validation function          *
    *                      SYSFUN.DSN_XMLVALIDATE                  *
    *                      failed to report a validation           *
    *                      error and returned an SQLCODE = 0       *
    *                      when validating an invalid pattern      *
    *                      value in an XML document.               *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A code bug was found in the XML schema compiler.
    

Problem conclusion

  • - fixed the code bug in XML schema compiler;
    - integrated the XLXP parser v1.0.11.
    - SQLCODE -20399 (SRN20399) is returned to report the
      invalid XML document element.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK78724

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-01-15

  • Closed date

    2009-03-17

  • Last modified date

    2009-05-01

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

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

    UK44979

Modules/Macros

  • DSNNVBAT DSNNVBCT DSNNVBRT DSNNVBRX DZPARSER
    SHREDBUF
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • R910 PSY UK44979

       UP09/04/02 P F904

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 May 2009