Change expected error code, to reflect spec changes since the test was written
authorMichael Kay <mike@saxonica.com>
Wed, 13 Jun 2018 12:35:34 +0100
changeset 1854 34b81d40f96b
parent 1853 0da0f4567f4b
child 1855 c36860b47510
Change expected error code, to reflect spec changes since the test was written
tests/insn/merge/_merge-test-set.xml
tests/insn/merge/merge-022.xsl
--- a/tests/insn/merge/_merge-test-set.xml	Wed Jun 13 12:34:38 2018 +0100
+++ b/tests/insn/merge/_merge-test-set.xml	Wed Jun 13 12:35:34 2018 +0100
@@ -333,12 +333,14 @@
    <test-case name="merge-022">
       <description>Test xsl:merge-key context: visibility of variable defined in xsl:merge-input</description>
       <created by="O'Neil Delpratt" on="2012-11-07"/>
+      <modified by="Michael Kay" on="2018-05-12" 
+         change="Change expected error; xsl:merge-input is no longer a valid element, so the original error no longer applies"/>
       <environment ref="merge008"/>
       <test>
          <stylesheet file="merge-022.xsl"/>
       </test>
       <result>
-         <error code="XPST0008"/>
+         <error code="XTSE0010"/>
       </result>
    </test-case>
 
--- a/tests/insn/merge/merge-022.xsl	Wed Jun 13 12:34:38 2018 +0100
+++ b/tests/insn/merge/merge-022.xsl	Wed Jun 13 12:35:34 2018 +0100
@@ -4,6 +4,7 @@
     xmlns:s="http://s.com/" exclude-result-prefixes="s">
     
     <!-- PURPOSE: Test xsl:merge-key context: visibility of variable defined in xsl:merge-input  -->
+    <!-- NOTE 2018-05-12: changes to the spec mean the original purpose of this test has been lost -->
     
     <xsl:output indent="no"/>