tests/insn/try/_try-test-set.xml
changeset 1856 067c1e8d801d
parent 1306 cf6c3ab45196
child 1881 276745f9d5b5
--- a/tests/insn/try/_try-test-set.xml	Wed Jun 13 12:36:14 2018 +0100
+++ b/tests/insn/try/_try-test-set.xml	Wed Jun 13 12:37:24 2018 +0100
@@ -572,4 +572,20 @@
          <error code="FOAR0001"/>
       </result>
    </test-case>
+   
+   <test-case name="try-032">
+      <description>Saxon bug 3791 - reference to err:code in a predicate</description>
+      <keywords>xsl:try</keywords>
+      <created by="Michael Kay" on="2018-05-25"/>
+      <dependencies>
+         <spec value="XSLT30+"/>
+      </dependencies>
+      <test>
+         <stylesheet file="try-032.xsl"/>
+         <initial-template name="main"/>
+      </test>
+      <result>
+         <assert>/out='test: Bang!'</assert>
+      </result>
+   </test-case>
 </test-set>
\ No newline at end of file