Bug 28419, call function to trigger XTTE0945 error
authorabraaksm
Tue, 07 Apr 2015 06:33:51 +0200
changeset 925 69f2300cd8d0
parent 924 b0a24d892947
child 926 5723baa5e5eb
Bug 28419, call function to trigger XTTE0945 error
tests/misc/error/_error-test-set.xml
tests/misc/error/error-0945a.xsl
--- a/tests/misc/error/_error-test-set.xml	Tue Apr 07 06:17:54 2015 +0200
+++ b/tests/misc/error/_error-test-set.xml	Tue Apr 07 06:33:51 2015 +0200
@@ -6027,6 +6027,7 @@
                         to use the xsl:copy instruction with no select attribute when the context item is absent.
                      </description>
       <created by="Michael Kay" on="2014-08-25"/>
+      <modified by="Abel Braaksma" on="2015-04-06" change="Bug 28419, changed stylesheet to actually call the function to trigger the error"/>
       <dependencies>
          <spec value="XSLT30+"/>
       </dependencies>
--- a/tests/misc/error/error-0945a.xsl	Tue Apr 07 06:17:54 2015 +0200
+++ b/tests/misc/error/error-0945a.xsl	Tue Apr 07 06:33:51 2015 +0200
@@ -8,7 +8,7 @@
                      
    <xsl:template name="main">
       <out>
-         <x y="f:f()"/>
+         <x y="{f:f()}"/>
       </out>
    </xsl:template>