[jbosstools-issues] [JBoss JIRA] (JBIDE-15311) Error in validation of jboss-deployment-structure.xml

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Jul 31 12:37:26 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-15311:
-----------------------------------

    Component/s: upstream

    
> Error in validation of jboss-deployment-structure.xml
> -----------------------------------------------------
>
>                 Key: JBIDE-15311
>                 URL: https://issues.jboss.org/browse/JBIDE-15311
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: upstream
>         Environment: Version: 7.0.0.GA
> Build id: GA-v20130720-0044-B364
> Build date: 20130720-0044
> WFK 2.3.0.GA, Seam 2.3.1.Final-redhat-2
>            Reporter: Marek Novotny
>
> Wrong validation error on jboss-deployment-structure.xml file:
> {code:XML}
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
>   <deployment>
>   	  <dependencies>
> 	      <module name="org.hibernate" export="true"/>
> 	      <module name="javax.faces.api" export="true" />
>           <module name="com.sun.jsf-impl" export="true"/>
>           <module name="org.dom4j" export="true"/>
>           <module name="org.hibernate.validator" export="true"/>
> 	    </dependencies>
>   </deployment>  
> </jboss-deployment-structure> 
> {code}
> Validation error:
> {noformat}
> cvc-complex-type.2.4.a: Invalid content was found starting with element 'deployment'. One of '{ear-subdeployments-isolated, deployment, sub-deployment, module}' is expected.	jboss-deployment-structure.xml
> {noformat}
> The error says exactly what is in jboss-deployment-structure.xml - we have there deployment, so this is valid and not invalid content.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list