Fixes are available
APAR status
Closed as program error.
Error description
Java syntax errors inside a scriptlet in a .jsp cause the syntax validation to break and fail to report any other Java syntax errors in the .jsp. Specifically, an extra opening brace such as: <% if( nonexistantVariable.getStuff() ) {{ // other syntax errors follow } %> In the above snippet no errors are reported at all, including the reference to the non-existing variable. Turning on JSP compilation does not help either, save for the fact that the compilation fails and the .java file is placed under WEB-INF/classes, still no problems show up in the Problems view. Similarly, syntax errors with an extra parenthesis, as in: <%= bean.getProperty()) %> validate with no problems reported.
Local fix
Problem summary
Any problems reported in non-scripting areas were ignored before because no position could be determined for them within the JSP. This solution allows problems indicated as both "Internal" (caused by the user's source according to the IProblem javadoc) and "Syntax" related by the compiler to be mapped to the first character of the last code scripting region.
Problem conclusion
Fixed in Rational Application Developer V7.5
Temporary fix
Comments
APAR Information
APAR number
PK51185
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-08-16
Closed date
2008-09-26
Last modified date
2008-09-26
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:
26 September 2008