This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The test calls a function that uses an expression that select the root node from a context item that is not a node: <xsl:function name="f:doc" xmlns:f="http://f.com/"> <xsl:analyze-string select="'abcd'" regex="efgh"> <xsl:matching-substring> <xsl:value-of select="//a"/> </xsl:matching-substring> </xsl:analyze-string> </xsl:function> </xsl:stylesheet> However, the function is never executed. The test is marked with: "." used when not a node - static error even though never executed. I don't think that is true. If the function is never called, the error does not need to be raised.
Actually, even when that function is called, we still do not throw the error because the body of the xsl:analyze-string is never hit.
Same is true for error-XPTY0004f. Both fixed as suggested.
Was resolved > 30 days ago, closing.