[jboss-jira] [JBoss JIRA] (WFLY-1357) XSLT scripts for integration tests failing silently

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Thu May 16 11:08:06 EDT 2013


Richard Achmatowicz created WFLY-1357:
-----------------------------------------

             Summary: XSLT scripts for integration tests failing silently
                 Key: WFLY-1357
                 URL: https://issues.jboss.org/browse/WFLY-1357
             Project: WildFly
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 8.0.0.Alpha1
         Environment: Wildfly integration tests
            Reporter: Richard Achmatowicz
            Assignee: Ondrej Zizka


We use XSLT scripts to build custom Wildfly distributions for testing.

Hard-coding of Wildfly subsystem namespace versions with no corresponding update to the scripts when schema versions change is causing XSLT scripts to be executed but silently not carry out the intended changes, resulting in broken test cases, of which no one is aware. 

For example:
<xsl:stylesheet xmlns:jgroups="urn:jboss:domain:jgroups:1.1"

<xsl:template match="//jgroups:subsystem">
  // do something
</xsl:template>

<xsl:stylesheet>

will do nothing when executed against a 2.0 jgroups schema.

We need to have a general mechanism in place to work around the need to hardcode namespace versions when the namespace version is general and not specific. This needs to be applied to most XSLT scripts.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list