[jbosstools-issues] [JBoss JIRA] (JBIDE-20537) wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate

Rob Stryker (JIRA) issues at jboss.org
Tue Sep 1 02:50:05 EDT 2015


Rob Stryker created JBIDE-20537:
-----------------------------------

             Summary: wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate
                 Key: JBIDE-20537
                 URL: https://issues.jboss.org/browse/JBIDE-20537
             Project: Tools (JBoss Tools)
          Issue Type: Sub-task
          Components: server
    Affects Versions: 4.3.0.CR1
            Reporter: Rob Stryker


Even after fixing https://issues.jboss.org/browse/JBIDE-20536  to import some namespaces using exact schema locations on the web, wildfly-ejb-multi-server-app-one-ejb fails to validate. 

The file jboss-ejb3.xml has the following content (trimmed for brevity):

{code}
<jboss:ejb-jar (cut out xml:ns stuff)     version="3.1" impl-version="2.0">
    <enterprise-beans>
    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>
</jboss:ejb-jar>
{code}

Unfortunately, empty enterprise-beans tags are invalid according to the xsd against which this is validated. Error message as follows:

{code}
cvc-complex-type.2.4.b: The content of element 'enterprise-beans' is not complete. One of '{"http://
 java.sun.com/xml/ns/javaee":session, "http://java.sun.com/xml/ns/javaee":entity, "http://
 java.sun.com/xml/ns/javaee":message-driven}' is expected.
{code}





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list