You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ad...@apache.org on 2008/06/22 12:21:05 UTC

svn commit: r670332 - /xmlgraphics/fop/trunk/test/layoutengine/testcase2fo.xsl

Author: adelmelle
Date: Sun Jun 22 03:21:03 2008
New Revision: 670332

URL: http://svn.apache.org/viewvc?rev=670332&view=rev
Log:
Minor tweak: avoid warning when running through Saxon

Modified:
    xmlgraphics/fop/trunk/test/layoutengine/testcase2fo.xsl

Modified: xmlgraphics/fop/trunk/test/layoutengine/testcase2fo.xsl
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/layoutengine/testcase2fo.xsl?rev=670332&r1=670331&r2=670332&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/layoutengine/testcase2fo.xsl (original)
+++ xmlgraphics/fop/trunk/test/layoutengine/testcase2fo.xsl Sun Jun 22 03:21:03 2008
@@ -50,16 +50,12 @@
           </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>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org