Correct test so it doesn't attempt xsl:import on a package
authorMichael Kay <mike@saxonica.com>
Tue, 11 Aug 2015 17:57:29 +0100
changeset 1024 28342569f383
parent 1023 2156a3dcec57
child 1025 17b24d9f546b
Correct test so it doesn't attempt xsl:import on a package
tests/decl/accumulator/_accumulator-test-set.xml
tests/decl/accumulator/accumulator-027a.xsl
--- a/tests/decl/accumulator/_accumulator-test-set.xml	Wed Jul 29 18:30:58 2015 +0100
+++ b/tests/decl/accumulator/_accumulator-test-set.xml	Tue Aug 11 17:57:29 2015 +0100
@@ -477,6 +477,7 @@
       <created by="Michael Kay" on="2014-07-07"/>
       <modified by="Michael Kay" on="2014-08-01" change="Backlog (by AB), bug#26330 rename @new-value to @select" />
       <modified by="Abel Braaksma" on="2015-04-06" change="Bug 28410, change xsl:stylesheet to xsl:package (no version or name, not required)"/>
+      <modified by="Michael Kay" on="2015-08-07" change="Change xsl:package on the imported module back to xsl:stylesheet"/>
       <environment ref="accumulator-001"/>
       <test>
          <stylesheet file="accumulator-027.xsl"/>
@@ -955,7 +956,7 @@
    </test-case>
 
    <test-case name="accumulator-049s">
-      <description>Accumulator values are NOT copied by xsl:copy-of with copy-accumulators="yes" - streaming</description>
+      <description>Accumulator values are NOT copied by xsl:copy-of with copy-accumulators="no" - streaming</description>
       <created by="Michael Kay" on="2015-04-24"/>
       <environment>
          <source role="." file="accumulator-001.xml" streaming="true"/>
--- a/tests/decl/accumulator/accumulator-027a.xsl	Wed Jul 29 18:30:58 2015 +0100
+++ b/tests/decl/accumulator/accumulator-027a.xsl	Tue Aug 11 17:57:29 2015 +0100
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<xsl:package xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:xs="http://www.w3.org/2001/XMLSchema" 
   exclude-result-prefixes="xs" version="3.0">
 
@@ -17,4 +17,4 @@
 
   <xsl:mode on-no-match="shallow-skip"/>
 
-</xsl:package>
+</xsl:stylesheet>