Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-112

Insufficient rule for jboss-deployment-structure.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.5.0.Final
    • 2.5.0.CR1
    • EAP6 -> EAP7
    • None

      The rule created for jboss-deployment-structure.xml (WINDUPRULE-97, WINDUPRULE-99) is insufficient. The rule expects that the XML file will use one of the supported namespaces (urn:jboss:deployment-structure:1.*), but it turns out that EAP processes the file just fine even if it doesn't specify a namespace.

      I.e., this is supported:

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
        ...
      </jboss-deployment-structure>
      

      But this is supported as well:

      <jboss-deployment-structure>
        ...
      </jboss-deployment-structure>
      

              mbriskar_jira Matej Briskar (Inactive)
              lthon@redhat.com Ladislav Thon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: