Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20529 Master JIRA for XML Validation Problems
  3. JBIDE-20534

application-component-2 quickstart fails due to bad namespace import

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Major Major
    • 4.3.x
    • None
    • project-examples, server
    • 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"

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

                Created:
                Updated:
                Resolved: