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

Update appropriate web folders with newly changed schema

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      Recent changes to several ejb3 xsd files require the following web folders to be updated with the most up-to-date schema files:

      http://www.jboss.org/j2ee/schema/
      http://www.jboss.org/schema/jbossas/

      While this specific request comes due to WFLY-3189, it is related to WFLY-3434 about finding somewhere to host all schema. But something tells me putting them all on wildfly.org is not sufficient. Tools like eclipse will see the namespace and schemaLocation in our examples online (Such as https://docs.jboss.org/author/display/AS71/jboss-ejb3.xml+Reference) and copy-paste them verbatim. Those example files include things like the following:

      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://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
      

      The important thing to note here is that it specifically points to http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd and so that specific schema file needs to be updated at THAT url, not at the wildfly URL. Tools like eclipse or other validators will try to fetch those specific urls.

      If we intend to move all schemas to wildfly.org, then we probably need to update all examples to point to the new files as well.

      At this point, the schemas I care most about are those mentioned in the following two PRs:

      https://github.com/wildfly/wildfly/pull/6739
      https://github.com/jboss/metadata/pull/72

      But obviously all appropriate or changed xsd's should be updated on the web urls if possible.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: