[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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:36:35 -0000

Hello,

I am running with java in command line as follows:

java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode, sharing)

P:\SaxonPE9-6-0-8J\pe-renamed>java -jar "saxon9pe.jar" -s:"input.xml"
-xsl:"stylesheet.xsl" -o:"output.htm"

Error thrown is as follows:

--------
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
--------

Here Error line(94) on xsl file is as follows(Lines: 93, 94, 95):

<xsl:template match="w_binData">
<xsl:value-of
select="saxon:base64Binary-to-string(xs:base64Binary(normalize-space(.)),
'UTF8')"/>
</xsl:template>

Thanks & Regards,

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


-----Original Message-----
From: R.Arulselvan, DS-Technology, Chennai arul.selvan@xxxxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Saturday, May 21, 2016 4:52 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] [xsl]: saxon:base64Binary-to-string error!

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.



________________________________
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
Keywords