Hi All,
I have tried xml transformation in ESB. But it gave me the following error
for xslt function "distinct-values"
ERROR - XSLTMediator Fatal error occurred in stylesheet parsing :
javax.xml.transform.TransformerException: Could not find function:
distinct-values
Thanks,
Nipuni
_
Are you trying ESB trunk (4.5.0) or an older version? Xpath-2.0 is
supported by ESB trunk version.
/Charitha
On Thu, Jun 21, 2012 at 3:46 PM, Nipuni Perera wrote:
> Hi All,
>
> I have tried xml transformation in ESB. But it gave me the following error
> for xslt function "distinct-values"
>
>
Hi Charitha,
I am trying ESB 4.0.3
Thanks,
Nipuni
On Thu, Jun 21, 2012 at 3:57 PM, Charitha Kankanamge wrote:
> Are you trying ESB trunk (4.5.0) or an older version? Xpath-2.0 is
> supported by ESB trunk version.
>
> /Charitha
>
>
> On Thu, Jun 21, 2012 at 3:46 PM, Nipuni Perera wrote:
>
>> H
AFAIK, ESB-4.0.3 does not support Xpath-2.0
/Charitha
On Thu, Jun 21, 2012 at 4:02 PM, Nipuni Perera wrote:
> Hi Charitha,
>
> I am trying ESB 4.0.3
>
> Thanks,
> Nipuni
>
>
> On Thu, Jun 21, 2012 at 3:57 PM, Charitha Kankanamge wrote:
>
>> Are you trying ESB trunk (4.5.0) or an older version?
If you remove Xalan & use Saxon, you will get XPath 2.0 support in ESB
4.0.3.
On Thu, Jun 21, 2012 at 4:07 PM, Charitha Kankanamge wrote:
> AFAIK, ESB-4.0.3 does not support Xpath-2.0
>
> /Charitha
>
> On Thu, Jun 21, 2012 at 4:02 PM, Nipuni Perera wrote:
>
>> Hi Charitha,
>>
>> I am trying ES
Hi,
Following steps will provide Xpath 2.0 support for ESB 4.0.3
1. Remove xalan-2.7.0.wso2v1.jar in ESB_HOME/lib/endorsed/
2. Remove saxon-8.9.0.wso2v1.jar from ESB_HOME/repository/components/plugins
3. Copy the saxon9he.jar (which is available at [1]) to lib/endorsed and
start the server.
[1]
You can't get XPath 2.0 support with this, just XSLT 2.0 ( yes you can use
XPath 2.0 inside XSLT but not outside XSLT like filter, log mediators)
Synapse XPath evaluation is tightly bounded to Jaxen via AXIOM Xpath and
Jaxen does not support XPath 2.0 [1]
In trunk, I have changed Synapse XPath c
Hi,
I tried the above mentioned steps but it didn't work. I also build ESB from
trunk but it gives the same error as ESB-4.0.3.
Thanks,
Nipuni
On Thu, Jun 21, 2012 at 8:59 PM, Achala Aponso wrote:
> Hi,
>
> Following steps will provide Xpath 2.0 support for ESB 4.0.3
>
> 1. Remove xalan-2.7.0.
Hi,
This is the sample that I have tested in the ESB-4.5.0. SNAPSHOT. I crated
custom proxy service and gave the path to XSLT document as follows:
http://ws.apache.org/ns/synapse"; name="CustomProxy"
transports="https,http" statistics="disable" trace="disable"
startOnLoad="true">
Don't we have to use some kind of a prefix in-front of "distinct-values"?
Thanks,
Hiranya
On Mon, Jun 25, 2012 at 6:44 PM, Nipuni Perera wrote:
> Hi,
>
> This is the sample that I have tested in the ESB-4.5.0. SNAPSHOT. I crated
> custom proxy service and gave the path to XSLT document as follo
I've enabled Saxon on ESB 4.0.3. Following XSLT works without any issue.
-Chintana
On Mon, Jun 25, 2012 at 6:44 PM, Nipuni Perera wrote:
> Hi,
>
> This is the sample that I have tested in the ESB-4.5.0. SNAPSHOT. I crated
> custom proxy service and gave the path to XSLT document as follows:
I've tried in both ESB 4.0.3 and 4.5.0, but it gives me the same error.
I've checked the code I've posted with an on-line XSLT test tool and it
gives the desired output without any error.
Three parameter version of the key() function which is in the XSLT 2.0
specifications, is also not working in t
On Tue, Jun 26, 2012 at 4:54 PM, Nipuni Perera wrote:
> I've tried in both ESB 4.0.3 and 4.5.0, but it gives me the same error.
> I've checked the code I've posted with an on-line XSLT test tool and it
> gives the desired output without any error.
> Three parameter version of the key() function w
Hi Achala,
I followed your steps and it works after enabling saxon in ESB 4.0.3.
Thanks,
Nipuni
On Thu, Jun 21, 2012 at 8:59 PM, Achala Aponso wrote:
> Hi,
>
> Following steps will provide Xpath 2.0 support for ESB 4.0.3
>
> 1. Remove xalan-2.7.0.wso2v1.jar in ESB_HOME/lib/endorsed/
> 2. Remo
14 matches
Mail list logo