Skip to content

Commit

Permalink
Merge pull request qt4cg#674 from michaelhkay/663(bis)-xsl-original-k…
Browse files Browse the repository at this point in the history
…eywords

663: Describe how calls to xsl:original with keywords work
  • Loading branch information
ndw authored Sep 26, 2023
2 parents 282248d + 4345e38 commit 1b6d981
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion specifications/xslt-40/src/xslt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4885,8 +4885,16 @@
the name of the overridden function, not
<code>xsl:original</code>.</p>
</note>


<p diff="add" at="issue663">If the function <code>xsl:original</code> is
called with keyword arguments, the keywords used are those of the overridden
function.</p>


<p>Neither <code>xsl:original</code>, nor the overridden function, is added
to the <term>named functions</term> component of the dynamic context for
to the <xtermref diff="add" at="issue663" spec="XP40"
ref="dt-dynamically-known-function-definitions">dynamically known function definitions</xtermref> component of the dynamic context for
XPath expressions within the overriding function. This means that any
attempt to bind the function name <code>xsl:original</code> dynamically
(for example using <xfunction>function-lookup</xfunction>, or
Expand Down

0 comments on commit 1b6d981

Please sign in to comment.