|
Re: Tag File Validation Bugs? [message #205763 is a reply to message #205754] |
Thu, 13 December 2007 19:44 |
|
Phillip wrote:
> I've come across two possible bugs with validation of tag files. I'm
> wondering if anyone else has come across this.
>
> 1. Tag file validation issues an "Undefined attribute name" warning on
> dynamic-attributes for both of the following versions. The attribute is
> correctly defined (and works on Tomcat) for both JSP 2.0 and 2.1.
>
> <%@ tag body-content="empty" dynamic-attributes="attrs" %>
>
> <jsp:directive.tag body-content="empty" dynamic-attributes="attrs"/>
>
> 2. Tag file validation issues a "Missing required attribute" error on
> the following statement. While the use of EL might be a bit edgy, it
> works as expected in Tomcat 6.0. However, the use of <jsp:attribute>
> should satisfy the required attribute.
>
> <c:set var="data" scope="page">
> <x:out><jsp:attribute name="select">${value}</jsp:attribute></x:out>
> </c:set>
This are both omissions in WTP 2.0's JSP support. The second is a
known problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=197220. Please open a
bug report for the first.
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.03157 seconds