Fixes are available
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 via extendin g the TagExtraInfo class, the .jsp validator will report bogus errors such as: Syntax error, insert '}' to complete ClassBody. This can be worked around by declaring the taglib a second time with a different prefix for use in the nested tag: ?@ taglib uri='/WEB-INF/mytags.tld' prefix='my'? ?@ taglib uri='/WEB-INF/mytags.tld' prefix='my2'? ?my:customTag declareVariable='foo'? ?my2:customTag declareVariable='bar'? .... ?/my2:customTag? ?/my:customTag?
Local fix
Problem summary
Improper handling of nested custom tags with the same name were causing syntax problems during validation.
Problem conclusion
Handling of nested custom tags has been reworked to include tags with the same name. Fix delivered in Rational Application Developer V7007.
Temporary fix
Comments
APAR Information
APAR number
PK58103
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
2007-12-12
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