IBM Support

PM48130: NO SOURCE LOCATION PASSED TO ERROR HANDLER FOR PARSE ERRORS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In some cases, an XQuery parsing error message was being
    reported to the Error Handler with its location information
    (systemID when available, line and column numbers) included in
    the text of the message, rather than in the SourceLocation
    object. This made tooling for user assistance (debugging etc)
    more difficult than it should be.
    
    We have left the location information in the error's text
    message, rather than risk changing that, but we have corrected
    the code so it is also provided correctly in the
    SourceLocation object.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server        *
    *                  Feature                                     *
    *                  Pack for XML users                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Some XQuery parsing errors, when        *
    *                      passed to the error handler, were       *
    *                      failing to provide the SourceLocation   *
    *                      data structure, though they included    *
    *                      this information in the message text.   *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack which includes this      *
    *                  APAR.                                       *
    ****************************************************************
    This was an oversight when we introduced support for
    source-level debugging information (SourceLocation) in errors
    reported to the ErrorHandler, due to the exact location at
    which this message is being reported.
    

Problem conclusion

  • Error reporting is improved to carry a proper SourceLocation
    (though we have not changed the text of the error message, in
    case someone has previously written code which attempts the
    parse the information out of that.)
    
    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

    PM48130

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

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

    PM48136

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