IBM Support

PM47421: AN ERROR RESULTS IF AN EXTENSION FUNCTION CALLED FROM XQUERY, XP ATH OR XSLT RETURNS AN XMLGREGORIANCALENDAR VALUE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error IXJXE1044E is reported if a user-defined extension
    function invoked from an XSLT stylesheet or XPath expression,
    or an external function invoked from an XQuery expression,
    returns a value of type javax.xml.datatype.XMLGregorianCalendar.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server        *
    *                  Feature                                     *
    *                  Pack for XML users                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: If a user-defined extension function    *
    *                      called from an XSLT stylesheet or an    *
    *                      XQuery or XPath expressions returns a   *
    *                      value of type                           *
    *                      javax.xml.datatype.XMLGregorianCalendar *
    *                      or of type                              *
    *                      javax.xml.datatype.Duration, the        *
    *                      processor reports error IXJXE1044E,     *
    *                      and execution of the stylesheet or      *
    *                      expression terminates.                  *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack that contains this       *
    *                  APAR.                                       *
    ****************************************************************
    The processor examines the result of calling any user-defined
    extension function, and determines which data type in the
    XPath and XQuery Data Model most closely corresponds to the
    Java data type of the result.  In the case of a value of type
    XMLGregorianCalendar, the processor always chooses the type
    xs:dateTime, and in the case of a value of type Duration, the
    processor always chooses xs:duration.   However, the
    XMLGregorianCalendar type can represent any of the schema date
    and time data types, not just xs:dateTime values, and a value
    of type Duration can also represent xs:yearMonthDuration and
    xs:dayTimeDuration values.  If the value contained in
    XMLGregorianCalendar or Duration value is not an xs:dateTime
    or xs:duration, the processor is unable to force the object to
    represent a value of that type, and an error results.
    

Problem conclusion

  • The problem was fixed by having the processor examine the type
    of the XMLGregorianCalendar or Duration value by calling the
    getXMLSchemaType() method on the object.  The processor then
    selects the XML Schema data type that most closely corresponds
    to the type returned by calling that method.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 1.0.0.11.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM47421

  • Reported component name

    XML FEATUREPACK

  • Reported component ID

    5724J0856

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-08

  • Closed date

    2011-10-18

  • Last modified date

    2011-10-18

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

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

    PM47614

Fix information

  • Fixed component name

    XML FEATUREPACK

  • Fixed component ID

    5724J0856

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022