-
Sub-task
-
Resolution: Done
-
Major
-
4.3.0.CR1
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.
- is caused by
-
WFLY-5247 wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate in eclipse
- Closed