[
https://issues.jboss.org/browse/AS7-4101?page=com.atlassian.jira.plugin.s...
]
Ondrej Zizka commented on AS7-4101:
-----------------------------------
Instead of
{code:xml}
<xsl:template match="web:connector[@name=$connectorName]"
xmlns:web="urn:jboss:domain:web:1.1">
{code}
use
{code:xml}
<xsl:template match="*[local-name()='connector' and
@name=$connectorName]">
{code}
{code:xml}
<xsl:template match="*[starts-with(name(), 'web') and local-name() =
'connector' and @name=$connectorName]">
{code}
or if there's some `namespace()`, then
{code}
starts-with( namespace(), 'urn:jboss:domain:web:')
{code}
TS: Allow XSLT to fit any namespace versions.
---------------------------------------------
Key: AS7-4101
URL:
https://issues.jboss.org/browse/AS7-4101
Project: Application Server 7
Issue Type: Sub-task
Components: Test Suite
Reporter: Ondrej Zizka
Assignee: Ondrej Zizka
Fix For: 7.2.0.Alpha1
Original Estimate: 2 days
Time Spent: 2 hours
Remaining Estimate: 1 day, 6 hours
Namespaces versions change during development, which leads to upstream testsuite versus
EAP releases mismatch, which is undesirable as the testsuite sometimes contains more
up-to-date tests.
It would be good to have XLST matching namespaces but except version.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira