aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-02-16 08:36:13 +0000
committerJeremias Maerki <jeremias@apache.org>2009-02-16 08:36:13 +0000
commit8f75d04af016452a77111bfe7ad7ebfcde0fe4dd (patch)
tree2d2a296868c3385aa6043caa3fb2723d902e9c5b
parent108b6a24d4a9483176e84f8094d198f9f59baa8a (diff)
downloadxmlgraphics-fop-8f75d04af016452a77111bfe7ad7ebfcde0fe4dd.tar.gz
xmlgraphics-fop-8f75d04af016452a77111bfe7ad7ebfcde0fe4dd.zip
Bugfix for replicator stylesheet: Only IDs in the FO namespace shall be adjusted. Adjusting also SVG IDs can result in errors.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744862 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/xsl/fo-replicator.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/xsl/fo-replicator.xsl b/test/xsl/fo-replicator.xsl
index 0f2736cd0..256c47752 100644
--- a/test/xsl/fo-replicator.xsl
+++ b/test/xsl/fo-replicator.xsl
@@ -50,15 +50,15 @@
</xsl:call-template>
</xsl:if>
</xsl:template>
- <xsl:template match="@id">
+ <xsl:template match="fo:*/@id">
<xsl:param name="run"/>
<xsl:attribute name="id"><xsl:value-of select="."/>-<xsl:value-of select="$run"/></xsl:attribute>
</xsl:template>
- <xsl:template match="@ref-id">
+ <xsl:template match="fo:*/@ref-id">
<xsl:param name="run"/>
<xsl:attribute name="ref-id"><xsl:value-of select="."/>-<xsl:value-of select="$run"/></xsl:attribute>
</xsl:template>
- <xsl:template match="@internal-destination">
+ <xsl:template match="fo:*/@internal-destination">
<xsl:param name="run"/>
<xsl:attribute name="internal-destination"><xsl:value-of select="."/>-<xsl:value-of select="$run"/></xsl:attribute>
</xsl:template>