cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT mapping throws error in XI, but not in XMLSPY

Former Member
0 Kudos

Hi everybody,

I got a really complex XSLT mapping. It works fine in XMLSPY.

But when I execute the mapping in XI, I get the following error:

Error during XSLT Transformation: Could not load stylesheet.com.sap.engine.lib.xml.util.NestedException: Operator or ')' expected.

I asume there is a special character that XI cannot execute.

has anybody an idea of finding this character?

Thanks, regards Mario

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all:

The error was a missing SPACE:

<xsl:if test="D_EDISCODE orLEISTUNG">

but XMLSPY does not care!

Thank you all

Former Member
0 Kudos

Glad it worked

How did you find this particular if clause in the end??

regards

krishna

Former Member
0 Kudos

Please submit the bug to Altova so I dont get the same issue sometime

former_member529475
Active Contributor
0 Kudos

Hi Mario

Check your input data, and also try to see test in Interface mapping test tab,

you will get an idea about the input is correct or not

see the below links..

<u><b>XSLT Mapping</b>[/u

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

<u><b>XSLT Mapping with java enhancement</b></u>

/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners

/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping

Cheers..

Vasu

<i>** Reward Points if found useful **</i>

Former Member
0 Kudos

Hi Vasu,

thanks for your reply.

But this is no answer to my question.

Regards Mario

Former Member
0 Kudos

Mario

You have missed a "(" in some "if" or "when" clause

check that.

regards

krishna

Former Member
0 Kudos

Hi krishna,

thank you for your reply.

My problem is to find the missing "(" .

The XSLT is very HUGE.

I wonder why it works in XMLSPY?

Regards Mario

Former Member
0 Kudos

Mario,

I would suggest to download stylus studio and check once again in it. By the way what is the error you are getting when you are trying to use this mapping in interface mapping?

---Satish

Former Member
0 Kudos

Why dont you do a Search in the mapping editor (the binocular icon) for the if clauses ?;)

regards

krishna

Former Member
0 Kudos

Hi krishna,

Why dont you do a Search in the mapping editor (the binocular icon) for the if clauses ?;)

--> There are to many if-clauses!!!

Thanks Regards Mario