cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT 2.0 Mapping Error

Former Member
0 Kudos

Hi ,

Even after importing saxon9ee.jar file into imported archive of xslt mapping and set the parameter com.sap.aii.ibrun.server.mapping.externalTransfomer  value to True in exchange profile , it is still throwing error..Pls find below screenshots..

Could you please help , suggest how to proceed further





Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Hi Sumit!

Wouldn't you please provide your source message structure and XSLT transformation code snippet.

Also try to execute your operation mapping from Test tab and look for more detailed error info in mapping trace.

By the way, as I could see from error message, you get error in your second transformation. Than try with first transformation only and its result is the input message for your second transformation.

Provide that message here along with second transformation code.

Regards, Evgeniy.

Former Member
0 Kudos

Hi Kolmakov,

how the source xslt code and saxon9ee.jar file connected.

Pls find below screenshots

I imported saxon9ee.jar file (9.6.09)

former_member190293
Active Contributor
0 Kudos

Please copy the source code of XSLT (second button SRC on your screenshot) and post it here. And also provide input XML.

Regards, Evgeniy.

former_member190293
Active Contributor
0 Kudos

You get error in your second XSLT - chameleon.xsl

As you first XSLT transformation marked as XSLT 2.0 stylesheet and it goes without errors, I guess that there is an error in your second XSLT mapping. Thus your saxon processor seems to be working.

Regards, Evgeniy.

Former Member
0 Kudos

Hi Kolmakov,

second button SRC on your screenshot ->I didn't get to you.


below is the input file XSLTinput.xml

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href ="XSLTTest.xsl"?>

<books>

    <book category="reference">

        <Sr>1</Sr>

        <author>Nigel Rees</author>

        <title>Sayings of the Century</title>

        <price>8.95</price>

    </book>

    <book category="fiction">

        <Sr>2</Sr>

        <author>Evelyn Waugh</author>

        <title>Sword of Honour</title>

        <price>12.99</price>

    </book>

    <book category="fiction">

   

        <Sr>3</Sr>

        <author>Herman Melville</author>

        <title>Moby Dick</title>

        <price>8.99</price>

    </book>

    <book category="fiction">

        <Sr>4</Sr>

        <author>J. R. R. Tolkien</author>

        <title>The Lord of the Rings</title>

        <price>22.99</price>

    </book>

</books>



former_member308595
Participant
0 Kudos

Hi Kolmakov ,

Thanks for your valuable inputs ..

Here in this first we did same development in XSLT 1.0 code as mentioned in below :

It's working fine getting proper output .

but when we changed to version code as "2.0" we are getting issues , and sumit did some changes as you suggested , but still getting same issue . Is it this problem is with XSLT code or with imported

.Jar file (saxon9ee.jar)  why because in I.E (abap stack ) it's throwing error.

let  us know what is exact solution for this .

Thanks in advance.

From ,
Ganne

former_member190293
Active Contributor
0 Kudos

Hi Sumit!

As I could understand, it's your initial XML. You transform it with "XSLT_HTML" and get some output XML/HTML. Right?

In next step you transform your previous output with "chameleon" transformation and get above error.

So, for further suggests we need at least your first transformation output and "chameleon" transformation source code.

Regards, Evgeniy.

former_member308595
Participant
0 Kudos

Hi Evgeniy,

It's working after few modification in PI configuration (Operation Mapping).

Thanks,

Ganne

Answers (0)