[xsl] "Request for streaming ignored: this Saxon configuration does not support streaming"

Subject: [xsl] "Request for streaming ignored: this Saxon configuration does not support streaming"
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Jan 2025 21:53:16 -0000
Hi Folks,

I am trying to get a simple XSLT streaming program to work.

I am using SAXON-EE 12.5

The SAXON documentation says this:

There are two main ways to initiate a streaming transformation:

1. Using the xsl:source-document instruction, with the attribute
streamable="yes". Here the source document is identified within the stylesheet
itself. Typically such a stylesheet will have a named template as its entry
point, and will not have any principal source document supplied externally.

2. I'm not using this way.

So I wrote an XSLT program that contains just a named template ("main"). I
invoked SAXON from the command line using -it:main.

java -classpath %CLASSPATH% -jar C:\SAXON\saxon-ee\saxon-ee-12.5.jar -it:main
-xsl:ARINC-streaming.xsl -o:out.xml

Below is my XSLT program. When I run it, I get this message:

Warning at xsl:source-document on line 9 column 47 of ARINC-streaming.xsl:
  SXST0068  Request for streaming ignored: this Saxon configuration does not
support streaming

Why am I getting that message? How to fix it?

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                           version="3.0">

    <xsl:output method="xml" />

    <xsl:template name="main">
        <xsl:source-document
href="file:///C:/dfdl-3.9.0/ARINC/convert-legacy-ARINC-to-XMLized-ARINC/Lido.
xml"
                                                streamable="yes">
            <count>
                <xsl:value-of
select="count(ARINC/record/ARINC_424-18_4_1_7_1_Airport_Primary_Records)" />
            </count>
        </xsl:source-document>
    </xsl:template>

</xsl:stylesheet>

Current Thread