[
https://issues.jboss.org/browse/AS7-2854?page=com.atlassian.jira.plugin.s...
]
Remy Maucherat commented on AS7-2854:
-------------------------------------
Most, of not all, can be fixed by enabling validation (supposedly on the stax
xmlInputFactory, although of course I am not the biggest stax expert). This is the same
for all descriptors, although maybe only web is tested with funny XML.
Since this is generic, there should be a generic flag (or system property) somewhere to do
that.
Web does not validate descriptors sufficiently
----------------------------------------------
Key: AS7-2854
URL:
https://issues.jboss.org/browse/AS7-2854
Project: Application Server 7
Issue Type: Bug
Components: JSR88, Web
Reporter: Thomas Diesler
Assignee: Remy Maucherat
Java EE Platform Specification EE8.5:
The deployment tools for Java EE containers must validate the deployment descriptors
against the Java EE deployment descriptor schemas or DTDs that correspond to the
deployment descriptors being processed. The appropriate schema or DTD is chosen by
analyzing the deployment descriptor to determine which version it claims to conform to.
Validation errors must cause an error to be reported to the Deployer.
--
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