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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Final
    • 8.0.0.CR1
    • None
    • 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.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            hwellmann.de Harald Wellmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: