diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2008-06-22 10:21:03 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2008-06-22 10:21:03 +0000 |
commit | 833f24d52f663402347421c1151bcae0c9c13a90 (patch) | |
tree | 53a1aa4bf34f359fbfe9a539f7d460ab2fbd5cf9 /test | |
parent | fca3dcefc389f5c96faf7d032f98909e5484df37 (diff) | |
download | xmlgraphics-fop-833f24d52f663402347421c1151bcae0c9c13a90.tar.gz xmlgraphics-fop-833f24d52f663402347421c1151bcae0c9c13a90.zip |
Minor tweak: avoid warning when running through Saxon
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670332 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/layoutengine/testcase2fo.xsl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/layoutengine/testcase2fo.xsl b/test/layoutengine/testcase2fo.xsl index 0b677471d..522f53fa7 100644 --- a/test/layoutengine/testcase2fo.xsl +++ b/test/layoutengine/testcase2fo.xsl @@ -50,16 +50,12 @@ value as subsitution value. </xsl:when> <xsl:otherwise> <!-- if variable isn't defined, just copy --> - <xsl:copy> - <xsl:apply-templates select="node()" mode="copy"/> - </xsl:copy> + <xsl:copy-of select="." /> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> - <xsl:copy> - <xsl:apply-templates select="node()" mode="copy"/> - </xsl:copy> + <xsl:copy-of select="." /> </xsl:otherwise> </xsl:choose> </xsl:template> |