]
Ranabir Chakraborty commented on WFLY-5248:
-------------------------------------------
[~rob.stryker] is this issue still there?
wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate in
eclipse
----------------------------------------------------------------------------
Key: WFLY-5248
URL:
https://issues.redhat.com/browse/WFLY-5248
Project: WildFly
Issue Type: Bug
Components: EJB
Reporter: Rob Stryker
Priority: Major
The quickstart wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate. The
reason seems to be as follows:
1) jboss-ejb3.xml imports the xmlns:ci ="urn:container-interceptors:1.0"
namespace.
2) boss-ejb-container-interceptors_1_0.xsd imports jboss-ejb3-spec-2_0.xsd namespace as
follows:
{code}
<xs:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="http://www.jboss.org/j2ee/schema/jboss-ejb3-spec-2_0...
{code}
3) jboss-ejb3-spec-2_0.xsd imports jboss-ejb3-2_0.xsd as follows:
{code}
<xs:import
namespace="http://www.jboss.com/xml/ns/javaee"
schemaLocation="jboss-ejb3-2_0.xsd"/>
{code}
The use of a relative path in step 3 breaks the eclipse validator. It would be best to
use full urls that point to the actual xsd file.
This fix will most likely require:
1) Changes to jboss-ejb3-spec-2_0.xsd in whatever repository it lives in
2) Changes to jboss-ejb3-spec-2_0.xsd on
http://www.jboss.org/schema/jbossas/
3) Changes to jboss-ejb3-spec-2_0.xsd inside jbosstools, which typically clones all
updated files living at
http://www.jboss.org/schema/jbossas/