[jboss-jira] [JBoss JIRA] (AS7-2854) Web does not validate descriptors sufficiently
Thomas Diesler (Issue Comment Edited) (JIRA)
jira-events at lists.jboss.org
Thu Dec 1 10:31:41 EST 2011
[ https://issues.jboss.org/browse/AS7-2854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647137#comment-12647137 ]
Thomas Diesler edited comment on AS7-2854 at 12/1/11 10:30 AM:
---------------------------------------------------------------
I have some code to enable schema validation via woodstox. It catches the error. However it takes 30sec to do so. Half of the time is spend to create the schema object, half for the validation itself.
https://github.com/tdiesler/metadata/commit/8260f810001ad98bdd348e22aab0adf05f59306f
was (Author: thomas.diesler):
I have some code to enable schema validation via woodstox. It catches the error. However it takes 30sec to do so. Half of the time is spend to create the schema object, half for the validation itself.
> 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
More information about the jboss-jira
mailing list