Thank you. The problem has been logged here

and fixed.

Michael Kay

On 18 Jul 2013, at 11:44, Abel Braaksma wrote:

I tried the following stylesheet:

<xsl:stylesheet xmlns:xsl=""

    <xsl:mode streamable="yes"/>

    <xsl:template match="/">
        <xsl:apply-templates select="
            unparsed-text-lines('test.xsl')" >
    <xsl:template match="~xs:string">
        <xsl:value-of select="., '&#xA;'" />

The stylesheet runs correctly when using streamable="no", but it throws the following exception when running it with streamable="yes":

Description: Fatal error during transformation: java.lang.ClassCastException: Unable to cast object of type 'net.sf.saxon.type.BuiltInAtomicType' to type 'net.sf.saxon.pattern.NodeTest'.

I used both (Java, licensed) and (.NET, trial) version of Saxon EE, both raise the same exception.


See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
saxon-help mailing list archived at