Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 253699 - JSP Validator Hates Spring's form:errors Tag
Summary: JSP Validator Hates Spring's form:errors Tag
Status: RESOLVED DUPLICATE of bug 249799
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 09:26 EST by Bruno De Fraine CLA
Modified: 2008-11-11 19:38 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***