Re: [xsl] Saxon serialization methods require Saxon-PE to be enabled

Subject: Re: [xsl] Saxon serialization methods require Saxon-PE to be enabled
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Jun 2018 08:28:39 -0000
As Liam says, it would be better to raise this on a Saxon list (or since
you're a paying customer, you're perfectly entitled to email us directly).

My first guess with this is that you are instantiating Saxon using "new
Processor(false)" rather than "new Processor(true)". But without seeing any
code, that's a shot in the dark, and there are many other possible
explanations.

Michael Kay
Saxonica

> On 1 Jun 2018, at 00:57, ian.proudfoot@xxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Ibm using a licenced copy of Saxon-PE embedded in a Java application. One
of the stylesheets makes use of xsl:result-document  with
method="saxon:base64Binary". While developing the stylesheets using Oxygen
Editor this works perfectly. However when running my JAR file from the command
line I get an unexpected message:
>
> Error on line 94 of designmap.xsl:
>   Saxon serialization methods require Saxon-PE to be enabled
>
> Looking at the Saxon documentation leads me to the Saxon Configuration File,
but so far my attempts have been spectacularly ineffective!
>
> Ibm relatively new to Java development, so it can take me some time to get
my head around the Saxon Java API documentation, but itbs getting easier
every day!
> Thanks for any guidance
>
> Ian
>
> iTP-X
> ian.proudfoot@xxxxxxxxxxx <mailto:ian.proudfoot@xxxxxxxxxxx>
>
> Bembridge
> Isle of Wight
> United Kingdom
>
> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <-list/293509> (by email <>)

Current Thread