Re: [xsl] [xsl]: saxon:base64Binary-to-string error!

Subject: Re: [xsl] [xsl]: saxon:base64Binary-to-string error!
From: "R.Arulselvan, DS-Technology, Chennai arul.selvan@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 21 May 2016 11:21:47 -0000
I am using 'SaxonPE9-6-0-8J.jar'/saxon9pe.jar as follows:

--------------
P:\SaxonPE9-6-0-8J\pe-renamed>java -jar
"\\192.168.25.222\PublishedTools\MmpXmlGe
n\Application
Files\MmpXmlGen_1_0_0_11\Bin\Debug\XC\s9.6.1pe\SaxonPE9-6-0-8J\pe-renamed\sa
xon9pe.jar" -s:"\\192.168.25.222\Technology\Software\MMPXml\
Req Spec\14-05-2016\Test\GH-12-75.int.xml"
-xsl:"D:/Prg/Arul_V2/Now/MMP-Xml-Gen/MmpLs4S\Iwx2Mmx.xsl"
-o:"\\192.168.25.222\Technology\Software\MMPXml\R
eq Spec\14-05-2016\MmpXml_Test\GH-12-75.xml.htm"
No license file found - running with licensable features disabled
Error at xsl:value-of on line 94 column 107 of Iwx2Mmx.xsl:
  XPST0017 XPath syntax error at char 0 on line 94 near
{...y(normalize-space(.)), 'UTF...}:
    Cannot find a matching 2-argument function named
  {http://saxon.sf.net/}base64Binary-to-string(). Saxon extension functions
require a
  Saxon-PE or Saxon-EE license
Stylesheet compilation failed: 1 error reported

--------------

Regards,

Arulselvan Rangarajan
Direct: +91 (0)44 4916 2259 | Ext: 259
Mobile: +91 (0)9710416093  | arul.selvan@xxxxxxxxxxx

-----Original Message-----
From: Martin Honnen martin.honnen@xxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Saturday, May 21, 2016 4:48 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] [xsl]: saxon:base64Binary-to-string error!

On 21.05.2016 13:09, R.Arulselvan, DS-Technology, Chennai
arul.selvan@xxxxxxxxxxx wrote:

> <xsl:template match="w_binData">
>         <xsl:value-of
> select="saxon:base64Binary-to-string(xs:base64Binary(normalize-space(.
> )),
> 'UTF8')"/> </xsl:template>
>
> Throwing following error:
>
> No license file found - running with licensable features disabled
> Error at xsl:value-of on line 94 column 107 of Iwx2Mmx.xsl:
>   XPST0017 XPath syntax error at char 0 on line 94 near
> {...y(normalize-space(.)), 'UTF...}:
>     Cannot find a matching 2-argument function named
>   {http://saxon.sf.net/}base64Binary-to-string(). Saxon extension
> functions require a
>   Saxon-PE or Saxon-EE license
> Stylesheet compilation failed: 1 error reported

So which version of Saxon exactly are you trying to use, how do you try to
use it (command line, within a Java or within a .NET application)?



________________________________
Disclaimer: This e-mail and/or attachments are confidential and may also be
legally privileged. If you are not the intended recipient, any disclosure,
copying, distribution or action taken relying on the contents is strictly
prohibited and may be unlawful. If you have received this communication in
error, please notify the sender immediately by responding to this e-mail and
deleting the contents of the e-mail & related attachments from your system.
Though MPS Limited has taken reasonable steps to ensure no viruses are present
in this e-mail, it cannot accept responsibility for any loss or damage arising
from the use of this e-mail or attachments. No contracts may be concluded with
MPS through e-mail communication. Please consider the environment before
printing this e-mail.
Current Thread