IBM Support

PM32859: ATTRIBUTE TESTS IN AN XQUERY DIRECT ATTRIBUTE CONSTRUCTOR MAY FAIL TO MATCH BECAUSE THE DEFAULT NAMESPACE IS INCORRECTLY USED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The processor is incorrectly using the default namespace on
    attribute tests inside of an XQuery direct attribute
    constructor such as the following:
    
    <a href="{$context/foo:doc/foo:elem[@id='b']/@attr)}">link</a>
    
    This incorrect usage of the default namespace may cause the
    attribute test to fail to match when it should not.
    
    The problem does not occur when a computed attribute
    constructor is used.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server Feature*
    *                  Pack for XML users                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Attribute tests in an XQuery direct     *
    *                      attribute constructor may fail to       *
    *                      match because the processor is          *
    *                      incorrectly using the default           *
    *                      namespace.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The processor is incorrectly using the default namespace on
    attribute tests inside of an XQuery direct attribute
    constructor such as the following:
    
    <a href="{$context/foo:doc/foo:elem[@id='b']/@attr)}">link</a>
    
    This incorrect usage of the default namespace may cause the
    attribute test to fail to match when it should not.
    
    The problem does not occur when a computed attribute
    constructor is used.
    

Problem conclusion

  • The processor has been fixed to no longer use the default
    namespace on attribute tests inside of direct attribute
    constructors.
    
    The fix for this APAR is currently targeted for inclusion in
    the Feature Pack for XML fix pack 1.0.0.9. 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

    PM32859

  • 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-02-16

  • Closed date

    2011-04-12

  • Last modified date

    2011-04-12

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

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

    PM41721

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