[jboss-jira] [JBoss JIRA] (AS7-2854) Web does not validate descriptors sufficiently

Remy Maucherat (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 10:51:40 EST 2011


    [ https://issues.jboss.org/browse/AS7-2854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647146#comment-12647146 ] 

Remy Maucherat commented on AS7-2854:
-------------------------------------

This really doesn't look very good. I think it might make sense to not use stax to validate, no ? (essentially, the optional validation, if enabled, would be completely separate from the parsing 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