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

Bug 253699

Summary: JSP Validator Hates Spring's form:errors Tag
Product: [WebTools] WTP Source Editing Reporter: Bruno De Fraine <bruno>
Component: jst.jspAssignee: jst.jsp <jst.jsp-inbox>
Status: RESOLVED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Bruno De Fraine CLA 2008-11-04 09:26:21 EST
Build ID: M20080911-1700

Steps To Reproduce:
The JSP validator produces syntax errors for the following JSP file:

------ begin JSP ------
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<form:errors path="email" />
------ end JSP ------

The errors are all on line 0:
- Syntax error on token "}", delete this token
- Syntax error on token "catch", Identifier expected
- Syntax error, insert "Finally" to complete TryStatement

The errors disappear if you change the tag to:

<form:errors path="email"></form:errors>



More information:
The problem is discussed here:
http://www.eclipse.org/newsportal/article.php?id=17447&group=eclipse.webtools

But I could not find a bug report.
Comment 1 Nitin Dahyabhai CLA 2008-11-11 19:38:14 EST

*** This bug has been marked as a duplicate of bug 249799 ***