[jboss-jira] [JBoss JIRA] (AS7-4219) Invalid descriptor doesn't rejected - requirement of <servlet-name> uniqueness by specs.
Remy Maucherat (JIRA)
jira-events at lists.jboss.org
Thu Apr 19 12:45:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12685782#comment-12685782 ]
Remy Maucherat commented on AS7-4219:
-------------------------------------
Validation is already (optionally) implemented, so I had marked this JIRA as a duplicate of AS7-2854.
> Invalid descriptor doesn't rejected - requirement of <servlet-name> uniqueness by specs.
> ----------------------------------------------------------------------------------------
>
> Key: AS7-4219
> URL: https://issues.jboss.org/browse/AS7-4219
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Web
> Reporter: Pavel Janousek
> Assignee: Remy Maucherat
> Priority: Minor
> Fix For: Open To Community
>
>
> Invalid web.xml deployment descriptor like this:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app version="3.0" 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_3_0.xsd" metadata-complete="false">
> <servlet>
> <servlet-name>ConflictServlet</servlet-name>
> <servlet-class>org.jboss.as.test.integration.web.servlet.deployment.DummyServlet</servlet-class>
> </servlet>
> <servlet>
> <servlet-name>ConflictServlet</servlet-name>
> <servlet-class>org.jboss.as.test.integration.web.servlet.deployment.DummyServlet</servlet-class>
> </servlet>
> </web-app>
> {code}
> isn't rejected during deploying a such WAR application.
> Uniqueness of <servlet-name> is requirement of Servlet deployment descriptor.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list