Corrected test results
authorMichael Kay <mike@saxonica.com>
Tue, 15 Aug 2017 15:31:17 +0100
changeset 1738 c0fc0b95d637
parent 1737 c7584e81c04e
child 1739 8ce663f30f4f
Corrected test results
tests/decl/use-package/_use-package-test-set.xml
tests/decl/use-package/use-package-174c.xsl
--- a/tests/decl/use-package/_use-package-test-set.xml	Thu Aug 10 16:54:23 2017 +0100
+++ b/tests/decl/use-package/_use-package-test-set.xml	Tue Aug 15 15:31:17 2017 +0100
@@ -374,26 +374,28 @@
    <test-case name="use-package-170">
       <description>A more complex package hierarchy</description>
       <created by="Michael Kay after Toshihito Makita" on="2017-07-17"/>
+      <modified by="Michael Kay" on="2017-08-15" change="corrected expected result"/>
       <environment ref="use-package-170"/>
       <test>
          <stylesheet file="use-package-170a.xsl" role="principal"/>
       </test>
       <result>
          <assert-xml><![CDATA[<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" color="red"
-            ><fo:inline>ph:Phrase text</fo:inline><fo:inline font-weight="bold">Bold text</fo:inline></fo:block>]]></assert-xml>
+            ><fo:inline>ph:Phrase text</fo:inline><fo:inline>ph:Bold text</fo:inline></fo:block>]]></assert-xml>
       </result>
    </test-case>
    
    <test-case name="use-package-171">
       <description>Variant of -170 with a mode explicitly accepted</description>
       <created by="Michael Kay after Toshihito Makita" on="2017-07-17"/>
+      <modified by="Michael Kay" on="2017-08-15" change="corrected expected result"/>
       <environment ref="use-package-170"/>
       <test>
          <stylesheet file="use-package-171a.xsl" role="principal"/>
       </test>
       <result>
          <assert-xml><![CDATA[<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" color="red"
-            ><fo:inline>ph:Phrase text</fo:inline><fo:inline font-weight="bold">Bold text</fo:inline></fo:block>]]></assert-xml>
+            ><fo:inline>ph:Phrase text</fo:inline><fo:inline>ph:Bold text</fo:inline></fo:block>]]></assert-xml>
       </result>
    </test-case>
    
--- a/tests/decl/use-package/use-package-174c.xsl	Thu Aug 10 16:54:23 2017 +0100
+++ b/tests/decl/use-package/use-package-174c.xsl	Tue Aug 15 15:31:17 2017 +0100
@@ -4,6 +4,6 @@
     
     <xsl:use-package name='http://www.ctk.cz/B/'/>
     <xsl:template name="xsl:initial-template">
-        <out><xsl:sequence select="pB:fB()"/></out>
+        <out xsl:exclude-result-prefixes="#all"><xsl:sequence select="pB:fB()"/></out>
     </xsl:template>
 </xsl:stylesheet>
\ No newline at end of file