Subject: Re: [xsl] "Request for streaming ignored: this Saxon configuration does not support streaming" From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 29 Jan 2025 22:20:15 -0000 |
The message almost certainly means that it's not picking up your license file. Don't use the -jar option on the Java command line, use the -cp (or -classpath) option. Include both the Saxon JAR file and the *folder containing the Saxon license file* (not the file itself) on the classpath, separating entries on the classpath by semicolon on Windows, or colon on Unix. Use the -t option for more output which might help diagnose the problem. Check the relevant documentation at https://www.saxonica.com/documentation12/index.html#!about/license Michael Kay Saxonica > On 29 Jan 2025, at 21:53, Roger L Costello costello@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] "Request for streaming ig, Martin Honnen martin | Thread | [xsl] [ANN] Webinar: AI-Powered Dev, Octavian Nadolu octa |
Re: [xsl] "Request for streaming ig, Martin Honnen martin | Date | [xsl] [ANN] Webinar: AI-Powered Dev, Octavian Nadolu octa |
Month |