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

XSD: Support <perform><rule> (or perhjaps revisit how nesting works in general)

    XMLWordPrintable

Details

    • Story
    • Resolution: Won't Do
    • Major
    • 2.x Future
    • 2.2.0.Final
    • None
    • None

    Description

      The following currently doesn't conform to windup-ruleset-jboss.

      Also, this particular rule should probably iterate over the results of the 1st query, which it doesn't.

              <rule id="XmlSpringRules_4mthy">
                  <when>
                      <xmlfile matches="/spring:beans | /beans">
                          <namespace prefix="spring" uri="http://www.springframework.org/schema/beans"/>
                      </xmlfile>
                  </when>
                  <perform>
                      <iteration>
                          <classification title="Spring Configuration" effort="0"/>
                      </iteration>
                      <rule>
                          <when>
                              <xmlfile matches="//sca:reference/@type">
                                  <namespace prefix="sca" uri="http://www.springframework.org/schema/sca"/>
                              </xmlfile>
                          </when>
                          <perform>
                              <hint effort="1" ><message>SCA Implementation</message></hint>
                          </perform>
                      </rule>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: