Merge pull request #3234 from vramik/KEYCLOAK-3549

KEYCLOAK-3549 fix xsl locator to work with ibmjdk
This commit is contained in:
Stian Thorgersen 2016-09-16 09:22:23 +02:00 committed by GitHub
commit b2fd429749

View file

@ -42,8 +42,8 @@
</modules>
</xsl:variable>
<!--inject provider-->
<xsl:template match="//*[local-name()='providers']/*[local-name()='provider']">
<!--inject provider; note: due to ibmjdk issues it tries to find out provider which has no attributes-->
<xsl:template match="//*[local-name()='subsystem' and starts-with(namespace-uri(), $nsKS)]//*[local-name()='provider' and not(@*)]">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>