You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Neil Griffin (JIRA)" <de...@myfaces.apache.org> on 2012/08/07 16:44:08 UTC
[jira] [Created] (PORTLETBRIDGE-230) web.xml specifies Servlet 2.3
instead of Servlet 2.5
Neil Griffin created PORTLETBRIDGE-230:
------------------------------------------
Summary: web.xml specifies Servlet 2.3 instead of Servlet 2.5
Key: PORTLETBRIDGE-230
URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-230
Project: MyFaces Portlet Bridge
Issue Type: TCK Challenge
Components: TCK
Affects Versions: 2.0.0
Environment: Tomcat 6
Reporter: Neil Griffin
Assignee: Michael Freedman
[Test Challenger Name and Company]
Neil Griffin, Liferay, Inc.
[Specification Name(s) and Version(s)]
Portlet 2.0 Bridge for JavaServerâ„¢ Faces 1.2
[Test Suite Name and Version]
portlet-bridge-tck-jsr329, v1.0.0
[Exclude List Version]
N/A
[Test Name]
portlet-bridge-tck-section3-2-lifecycle-set
portlet-bridge-tck-section3-2-render-policy-always-delegate
portlet-bridge-tck-section3-2-render-policy-default
portlet-bridge-tck-section3-2-render-policy-never-delegate
portlet-bridge-tck-section6-2-configured-response-wrapper
[Complaint (argument for why test is invalid)]
The src/main/webapp/WEB-INF/web.xml descriptor specifies the following DTD:
{code}
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
<web-app>
{code}
But JSF 1.2 has a dependency on Servlet 2.5, and the EL-expressions will not evaluate in Tomcat 6 unless the following XML Schema is specified instead:
{code}
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira