IBM Support

PM37704: Custom tags that are embedded in attribute regions of a tag are properly translated but produce validation errors

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Custom tags that are embedded in attribute regions of a tag are
    being translated in Rational Application Developer but results
    in the error message 'isValid() == false' visible in the
    Problems view.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The error message comes from the implementation of the
    TagExtraInfo class for the JSTL forEach tag. It expects a
    certain number of attributes to be defined and if any are
    missing then the validator returns the error 'isValid() ==
    false'.
    
    The Rational Application Developer translator, responsible
    for converting JSP into Java and collecting any validation
    messages, was not correctly translating the attribute
    regions of the embedded forEach tag. As a result the
    TagExtraInfo class believed it was missing the necessary
    attributes and it returned the validation error 'isValid()
    == false'.
    

Problem conclusion

  • The Rational Application Developer translator was corrected
    to properly identify attribute values of embedded custom
    tags so that they can be used in custom tag validation.
    
    The fix for this issue is included in Rational Application
    Developer version 8.0.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM37704

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-25

  • Closed date

    2011-06-20

  • Last modified date

    2011-06-20

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

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

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R800 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
20 June 2011