Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1055

XSD: Allow any condition next to <not>/<and>/<or> - `when-base` within `when`

    Details

      Description

      This is not allowed:

         <when>
                 <not>  <xmlfile public-id=".*JBoss.+DTD Java EE.+5.*"/>  </not>
                 <xmlfile matches="//*[local-name()='jboss-app']" in="jboss-app.xml"/>
      

      The <xmlfile> has to be wrapped in <or> or <and>.

      There's no reason for that wrapping, except for the technical ones - XSD not allowing it, and maybe the implementation.

      See https://github.com/windup/windup/blob/master/config-xml/schema/windup-jboss-ruleset.xsd#L381-L410

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ozizka Ondrej Zizka
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: