IBM Support

PM41721: 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:  Users of the XML API for IBM WebSphere      *
    *                  Application Server V8.0                     *
    ****************************************************************
    * 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
    fix pack 8.0.0.1.  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

    PM41721

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-15

  • Closed date

    2011-06-15

  • Last modified date

    2011-06-28

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

    PM32859

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

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021