xsl:message document is not available as $err:value
Section 8.3 of the XSLT 3.0 spec states that if the error arising from
<xsl:message terminate> is caught using try/catch, then the document node holding the error message constructed by xsl:message should be available in the catch block as $err:value. This is not happening.
Test case message-0501 fails as a result, with either compiler.
Fixed in the code of Expr["message"].
Please register to edit this issue