Fix bug 28866
authorMichael Kay <mike@saxonica.com>
Tue, 30 Jun 2015 11:02:59 +0100
changeset 995 cfb78e5d6ca9
parent 994 439f5cc4f449
child 996 a92b3bd6f031
Fix bug 28866
tests/expr/expression/_expression-test-set.xml
tests/expr/expression/expression-1906.xsl
--- a/tests/expr/expression/_expression-test-set.xml	Tue Jun 30 09:21:37 2015 +0100
+++ b/tests/expr/expression/_expression-test-set.xml	Tue Jun 30 11:02:59 2015 +0100
@@ -1258,6 +1258,7 @@
    <test-case name="expression-1906">
       <description>Unparsed entities preserved by xsl:copy</description>
       <created by="Michael Kay" on="2015-05-01"/>
+      <modified by="Michael Kay" on="2015-06-30" change="fix bug 28866"/>
       <environment ref="expression-19"/>
       <dependencies>
          <spec value="XSLT20+"/>
--- a/tests/expr/expression/expression-1906.xsl	Tue Jun 30 09:21:37 2015 +0100
+++ b/tests/expr/expression/expression-1906.xsl	Tue Jun 30 11:02:59 2015 +0100
@@ -5,7 +5,7 @@
 
   <xsl:template match="/">
     <xsl:variable name="p" as="document-node()">
-      <xsl:copy select="."/>
+      <xsl:copy/>
     </xsl:variable>
     <out>
       <xsl:for-each select="$p">