Riyad,
We’re having this problem to. I can reproduce this quite easily. jsp:attribute is a -direct- alternative for any atribute on any taglib tag. So, if I just take the example from my other post where I created a new web project and did nothing but add a test file, and change a random tag attribute in jsp:attribute, the validation warning appears:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<html> <body>
<f:view>
<f:loadBundle var="msg">
<jsp:attribute name="basename" >test.bundle</jsp:attribute>
</f:loadBundle>
<h:outputText value="#{msg.bla}" />
</f:view>
</body>
</html>
This will give you the unknown tag warning again, while it runs perfectly in Tomcat and other servlet containers.
The original (equivalent) code is:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<html> <body>
<f:view>
<f:loadBundle var="msg" basename="test.bundle" />
<h:outputText value="#{msg.bla}" />
</f:view>
</body>
</html>