I recently upgraded from Saxon-B 8.8 to 8.9 and I'm having issues with the unparsed-text function.

My stylesheet looks like this:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:dxmlf="http://www.datypic.com/xmlf"
                version="2.0">
<xsl:output method="xml"/>
<xsl:template match="dxmlf:library">
  <xsl:copy>
    <xsl:variable name="propFile" select="unparsed-text('../build.properties')"/>
    <dxmlf:settings>
       <xsl:for-each select="tokenize($propFile,'\r\n')[not(starts-with(.,'#'))][normalize-space(.) != '']">
         <xsl:element name="dxmlf:{substring-before(.,'=')}">
           <xsl:value-of select="substring-after(.,'=')"/>
         </xsl:element>
       </xsl:for-each>
    </dxmlf:settings>
    <xsl:copy-of select="node()"/>
  </xsl:copy>
</xsl:template>
</xsl:stylesheet>


And the error I'm getting is:

[xslt] : Error! Error checking type of the expression 'funcall(unparsed-text, [literal-expr(../build.properties)])'.
[xslt] : Fatal Error! Could not compile stylesheet

It works fine in 8.8.  Any ideas?  I've tried various URL formats and experimented with the "as" attribute but no luck.

Thanks,
Priscilla