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

Rob Stryker (JIRA) issues at jboss.org
Wed Jun 4 03:18:17 EDT 2014


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

Rob Stryker resolved JBIDE-17480.
---------------------------------

      Assignee: Rob Stryker  (was: Viacheslav Kabanovich)
    Resolution: Done


I've updated existing schema in the org.jboss.tools.as.catalog plugin using copies as found in wildfly8.1.0.CR4. 

I did not add any new schema, so I can say pretty certainly I didn't add any duplicates. We'll need to investigate the best way to pull schema in the future, to ensure updates, without duplication. 

> Error in validation of jboss-deployment-structure.xml
> -----------------------------------------------------
>
>                 Key: JBIDE-17480
>                 URL: https://issues.jboss.org/browse/JBIDE-17480
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server, upstream
>         Environment: Version: 8.0.0.Beta1
> Build id: Beta1-v20140408-2350-B93
> Build date: 20140408-2350
>            Reporter: Emil Cervenan
>            Assignee: Rob Stryker
>             Fix For: 4.2.0.Beta3
>
>
> Wrong validation error on jboss-deployment-structure.xml file:
> {code}
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
>     <deployment>
>         <dependencies>
>             <module name="org.apache.log4j" slot="main" export="true"/>
>         </dependencies>
>         <exclusions>
>             <module name="org.hibernate"/>
>         </exclusions>
>     </deployment>
> </jboss-deployment-structure>
> {code}
> Error:
> {code}
> cvc-complex-type.2.4.b: The content of element 'deployment' is not complete. One of '{"urn:jboss:deployment-structure:1.2":module-alias, "urn:jboss:deployment-structure:1.2":exports, "urn:jboss:deployment-structure:1.2":resources, "urn:jboss:deployment-structure:1.2":transformers, "urn:jboss:deployment-structure:1.2":local-last, "urn:jboss:deployment-structure:1.2":exclude-subsystems}' is expected.
> {code}
> Same for urn:jboss:deployment-structure:1.1.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list