[ http://issues.apache.org/jira/browse/MYFACES-515?page=comments#action_12322709 ]
Andy commented on MYFACES-515: ------------------------------ There seems to be difference between Servlet 2.3 and 2.4. You are right. that the order is OK according to 2.3. However, this is invalid according to 2.4. I ran XML validation on the example web.xml and it fails if description tag is not before param-name tag. See http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd: <xsd:element name="context-param" type="j2ee:param-valueType"> http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd: <xsd:complexType name="param-valueType"> <xsd:sequence> <xsd:element name="description" type="j2ee:descriptionType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="param-name" type="j2ee:string"/> <xsd:element name="param-value" type="j2ee:xsdStringType"/> </xsd:sequence> </xsd:complexType> > web.xml - XML validation error in sample applications > ----------------------------------------------------- > > Key: MYFACES-515 > URL: http://issues.apache.org/jira/browse/MYFACES-515 > Project: MyFaces > Type: Bug > Components: General > Versions: Nightly Build > Environment: WebLogic 9.0 (J2EE 1.4, Servlet 2.4) > Reporter: Andy > Assignee: Martin Marinschek > Priority: Trivial > > The sample application (simple.war) does not deploy on WebLogic 9.0. The > following in web.xml does not seem to pass the validation > (param-name/param-value before description element): > <context-param> > <param-name>javax.faces.CONFIG_FILES</param-name> > <param-value>/WEB-INF/examples-config.xml</param-value> > <description> > Comma separated list of URIs of (additional) faces config files. > (e.g. /WEB-INF/my-config.xml) > See JSF 1.0 PRD2, 10.3.2 > </description> > </context-param> > This works (description element before param-name element): > <context-param> > <description> > Comma separated list of URIs of (additional) faces config files. > (e.g. /WEB-INF/my-config.xml) > See JSF 1.0 PRD2, 10.3.2 > </description> > <param-name>javax.faces.CONFIG_FILES</param-name> > <param-value>/WEB-INF/examples-config.xml</param-value> > </context-param> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
