Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 248081

Summary: Java syntax errors reported for unbalanced start and end tags
Product: [WebTools] WTP Source Editing Reporter: Nitin Dahyabhai <thatnitind>
Component: jst.jspAssignee: Nitin Dahyabhai <thatnitind>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3    
Version: 3.0.2   
Target Milestone: 3.0.3   
Hardware: All   
OS: All   
Whiteboard:

Description Nitin Dahyabhai CLA 2008-09-21 23:51:29 EDT
3.0.2 release

The JSP translator currently inserts opening and closing braces for each start and end tag, and also any server-side scripting variables they create.  While this ends up being correct if the document is properly written, the generation of braces makes for Java errors if there are problems in the tags.  And that's a problem since one of the ideas behind JSP is that the page creator isn't supposed to *need* to know Java, and Java error messages aren't particularly helpful.  Correcting the braces handling to only generate a single pair per start and end tag pair will allow us to prevent the Java syntax error from being created.  Of course we'll want to report the unbalanced tags directly instead.
Comment 1 Nitin Dahyabhai CLA 2008-09-22 00:05:09 EDT
That start/end tag reporting is separately tracked in bug 243663.
Comment 2 Nitin Dahyabhai CLA 2008-10-21 23:26:37 EDT
Done