IBM Support

PK59823: Incorrect JSP validator syntax error when code is correct

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In a .jsp file, nested custom tags of the same name that define
    variables are not properly interpreted causing bogus validation
    errors to be reported in the .jsp. e.g.:
    
    
    ?@ taglib uri='/WEB-INF/mytags.tld' prefix='my'?
    
    
    ?my:customTag declareVariable='foo'?
    
      ?my:customTag declareVariable='bar'?
    
       ....
    
      ?/my:customTag?
    
    ?/my:customTag
    
    
    If the 'customTag' tag impl. declares any variables by extending
     the
    TagExtraInfo class, the .jsp validator will report bogus errors
    such as:
    
     Syntax error, insert '}' to complete ClassBody.
    
    Eclipse bug:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=214394
    

Local fix

Problem summary

  • Showing Java syntax errors that were reported in locations
    not based on the JSP file's scripting regions was enabled in
    7005, exposing a problem in how nested custom tags of the
    same name were being handled.
    

Problem conclusion

  • Handling of nested custom tags was made more robust.
    
    Fix delivered in Rational Application Developer V7007.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK59823

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-01-23

  • Closed date

    2008-06-27

  • Last modified date

    2008-06-27

  • 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

  • R700 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":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 June 2008