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

Can't validate jboss-deployment-structure.xml due to incorrect schema

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.0.0.CR1
    • Fix Version/s: 8.0.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      The following deployment structure cannot be validated against the XML schema:

      <jboss-deployment-structure  xmlns="urn:jboss:deployment-structure:1.2">
      
          <deployment>
              <dependencies>
                  <module name="foo"/>
              </dependencies>
          </deployment>
      
      </jboss-deployment-structure>
      

      This looks like a glitch in the schema where the module-alias element in deploymentType is missing a minOccurs="0".

      The same holds for the filter element of resource-root, which should be optional according to the schema documentation.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                swd847 Stuart Douglas
                Reporter:
                hwellmann.de Harald Wellmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: