[jboss-jira] [JBoss JIRA] (WFLY-5248) wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate in eclipse
Rob Stryker (JIRA)
issues at jboss.org
Tue Sep 1 03:41:05 EDT 2015
Rob Stryker created WFLY-5248:
---------------------------------
Summary: wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate in eclipse
Key: WFLY-5248
URL: https://issues.jboss.org/browse/WFLY-5248
Project: WildFly
Issue Type: Bug
Reporter: Rob Stryker
Assignee: Jason Greene
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.xsd
{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/
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list