Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322523 - JSP error incorrectly reported when using taglib with an empty nested element inside an HTML attribute
Summary: JSP error incorrectly reported when using taglib with an empty nested element...
Status: CLOSED DUPLICATE of bug 315051
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 08:49 EDT by Aurélien ouderc CLA
Modified: 2010-08-12 09:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien ouderc CLA 2010-08-12 08:49:55 EDT
Build Identifier: 20100617-1415

This is a regression since Helios, it worked correctly in former versions.

The following code illustrates the problem :

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<body>
<!-- OK -->
<a href="<c:url value="/my_url.do" />">My link</a>

<!-- OK -->
<a href="<c:url value="/my_url.do"><c:param name="myparam" value="${myValue}"></c:param></c:url>">My link</a>

<!-- JSP error -->
<a href="<c:url value="/my_url.do"><c:param name="myparam" value="${myValue}" /></c:url>">My link</a>
</body>
</html>


Reproducible: Always

Steps to Reproduce:
1. Create a basic webapp.
2. Paste the code above in a JSP file.
3. Check the « Problems » window, there is a JSP error with an empty message.
Comment 1 Nick Sandonato CLA 2010-08-12 09:35:34 EDT
Thanks for your report. This is addressed in Bug 315051.

*** This bug has been marked as a duplicate of bug 315051 ***
Comment 2 Aurélien ouderc CLA 2010-08-12 09:51:28 EDT
Fixed indeed in 3.2.1, thank you for the fast update.