Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5248

wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate in eclipse

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • EJB
    • None

      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:

      <xs:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="http://www.jboss.org/j2ee/schema/jboss-ejb3-spec-2_0.xsd
      

      3) jboss-ejb3-spec-2_0.xsd imports jboss-ejb3-2_0.xsd as follows:

      <xs:import namespace="http://www.jboss.com/xml/ns/javaee" schemaLocation="jboss-ejb3-2_0.xsd"/>
      

      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/

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

                Created:
                Updated: