This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This test contains: <xsl:template match="x[. = current-merge-key()]"/> which is an error, but not XTSE3520. Furthermore, it does not reference the variable. While this is a static error which I think is supposed to be raised on the declaration of the variable, if it is never referenced, I think there should be no requirement to raise it. Proposed fix: remove the matching template and reference the variable to force the error.
(Bug was initially reported by Vitaliy Yudenkov)
Fixed as suggested.
Was resolved > 30 days ago, closing.