[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: : saxon:base64Binary-to-string error!

Subject: Re: : 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
Re:  : saxon:base64Binary-to-string error!
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:  : 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:  : 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.