cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use XSLT 2.0 processor in PI Dual stack installation?

former_member190293
Active Contributor
0 Kudos

Hi Gurus!

Recently I've tried to use XSLT 2.0 transformation in my PI 7.4 Dual stack system.

There comes error during mapping execution:

javax.xml.transform.TransformerException: java.lang.RuntimeException: Unsupported XSL element 'http://www.w3.org/1999/XSL/Transform:for-each-group'

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:765)

As we can see, Xalan processor is still used though I've imported jars for Saxon processor in according SCW and set parameter com.sap.aii.ibrun.server.mapping.externalTransfomer to "true" in NWA.

Does it mean that this feature works only on PI AEX/PO installations?

Or did I miss anything?

Regards, Evgeniy.

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Problem is solved.

bhavesh_kantilal
Active Contributor
0 Kudos

Evgeniy, How?

Regards

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

I see your blog posting , never mind!

Regards

Bhavesh

former_member190293
Active Contributor
0 Kudos

Bhavesh,

Regards, Evgeniy.

former_member182412
Active Contributor
0 Kudos

Hi Evegeniy,

You can refer your blog and you can make this as correct answer instead of just mention problem solved then whoever faced this problem in future they will check the blog for this problem.

Regards,

Praveen.

former_member186851
Active Contributor
0 Kudos

Great Eve,.:)

former_member190293
Active Contributor
0 Kudos

Hi Praveen!

Thank you very much for your suggestion!

I'll do it this way.

Regards, Evgeniy.

former_member190293
Active Contributor
0 Kudos

Hi Raghuraman!

Thanks!

Regards, Evgeniy.

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Eve,

Try enabling/disabling SAP XML Toolkit option in Operation mapping and check once.

former_member190293
Active Contributor
0 Kudos

Hi Raghuraman!

Thanks for your answer.

I don't use XML toolkit as it's deprecated in PI 7.4.

Regards, Evgeniy.

former_member186851
Active Contributor
0 Kudos

ya Eve,okay.

Then I guess you need to use Custom XSLT transformers.Which SP is used?

Use Custom XSLT Transformer to Support XSLT 2.0 in XLST Mappings (New) - What's New in SAP NetWeaver...

former_member190293
Active Contributor
0 Kudos

Hi Raghuraman!

That my question is.

I've tried Saxon-B and Saxon HE. In both cases I get exception from java xalan processor. This means that PI doesn't use imported jars.

Regards, Evgeniy.

former_member186851
Active Contributor
0 Kudos

Hello Eve,

Try with Saxon 9.

Was browsing and got the below link,should be helpful to you.

former_member190293
Active Contributor
0 Kudos

Hi Raghuruman!

I've seen this document before. You can find my dialogue with Chris in comments.

I tried with Saxon 9 HE and Saxon-B 9.

Regards, Evgeniy.

former_member186851
Active Contributor
0 Kudos

Oh..Great Eve.

External transformers should work,this is strange.

Even in SAP document no restrictions are mentioned,Lets wait for his reply.