[jboss-jira] [JBoss JIRA] (WFLY-635) TS: Fix XSLT transformations (namespaces problem)
Jason Greene (JIRA)
jira-events at lists.jboss.org
Tue Apr 23 15:45:08 EDT 2013
[ https://issues.jboss.org/browse/WFLY-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Greene moved AS7-3778 to WFLY-635:
----------------------------------------
Project: WildFly (was: Application Server 7)
Key: WFLY-635 (was: AS7-3778)
Component/s: (was: Test Suite)
Fix Version/s: (was: 7.1.1.Final)
> TS: Fix XSLT transformations (namespaces problem)
> -------------------------------------------------
>
> Key: WFLY-635
> URL: https://issues.jboss.org/browse/WFLY-635
> Project: WildFly
> Issue Type: Sub-task
> Reporter: Ondrej Zizka
> Assignee: Ondrej Zizka
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> Applying the standard XSLT copy template,
> {code:xml}
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:ds="urn:jboss:domain:datasources:1.0"
> xmlns="urn:jboss:domain:1.1"
> version="1.0">
> <xsl:template match="@*|node()">
> <xsl:copy>
> <xsl:apply-templates select="@*|node()"/>
> </xsl:copy>
> </xsl:template>
> {code}
> to the JBoss AS 7 standalone.xml, leads to loss of parameters:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?><server xmlns="urn:jboss:domain:1.1">
> <extensions>
> <extension/>
> <extension/>
> {code}
> instead of
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?><server xmlns="urn:jboss:domain:1.1">
> <extensions>
> <extension module="org.jboss.as.clustering.infinispan"/>
> <extension module="org.jboss.as.configadmin"/>
> {code}
> It's something namespace-related because ds:... attribs ARE copied:
> {code:xml}
> <subsystem>
> <datasources>
> <ds:datasource xmlns:ds="urn:jboss:domain:1.1" jndi-name="java:jboss/datasources/ExampleDS"
> pool-name="MSQL"
> enabled="true"
> jta="true"
> use-java-context="true">
> {code}
--
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