Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20529 Master JIRA for XML Validation Problems
  3. JBIDE-20537

wildfly-ejb-multi-server-app-one-ejb quickstart content incomplete

XMLWordPrintable

      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):

      <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>
      

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

      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.
      

              Unassigned Unassigned
              rob.stryker Rob Stryker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: