IBM Support

PM47344: OPTIONS OR PRAGMAS WITH NO NAMESPACE PREFIX PRODUCED MISLEADING ERROR MESSAGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The existing message said "A QName used in a query contains a
    namespace prefix that cannot be expanded into a namespace URI
    by using the statically known namespaces. Prefix '\{0\}' is
    undefined." To clarify what's actually wrong, we have appended
    additional text: "(Note that there is no default namespace for
    options or pragmas, so their QNames must have explicit
    prefixes.)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server        *
    *                  Feature                                     *
    *                  Pack for XML users                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: If an XQuery user attempted to refer    *
    *                      to an Option or Pragma with an          *
    *                      unqualified QName, our error message    *
    *                      did not clearly explain what they       *
    *                      were doing wrong.                       *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack that contains this       *
    *                  APAR.                                       *
    ****************************************************************
    QNames for XQuery Options or Pragmas must include a namespace
    prefix; there is no "default namespace" mechanism for these,
    and unqualified names are not permitted. Our existing error
    message did not help the user understand this mistake; it said
    "A QName used in a query contains a namespace prefix that
    cannot be expanded into a namespace URI by using the
    statically known namespaces. Prefix '' is undefined."
    

Problem conclusion

  • We have appended additional text to clarify this nmessage:
    "(Note that there is no default namespace foroptions or
    pragmas, so their QNames must have explicit prefixes.) "
    
    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

    PM47344

  • 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-07

  • Closed date

    2011-10-21

  • Last modified date

    2011-10-21

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

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

    PM47349

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