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

[Quickstart] application-component-2 fails xml validation in eclipse

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • None

      jts/application-component-2/src/main/resources/META-INF/jboss-ejb3.xml file includes:

      <jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
                     xmlns="http://java.sun.com/xml/ns/javaee"
                     xmlns:iiop="urn:iiop"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd
                        http://java.sun.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-spec-2_0.xsd
                        urn:iiop jboss-ejb-iiop_1_0.xsd"
      

      The line "urn:iiop jboss-ejb-iiop_1_0.xsd" is clearly problematic and provides no evidence of where it might pull this xsd from.

      I suggest replacing it with

      urn:iiop http://www.jboss.org/schema/jbossas/jboss-ejb-iiop_1_0.xsd"

              jgreene@redhat.com Jason Greene
              rob.stryker Rob Stryker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: