cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with the symbol &

bhavesh_kantilal
Active Contributor
0 Kudos

All,

I am facing an issue while posting special symbols from my XI.

I changed the encoding schema <b>from "UTF-8" TO

"ISO-8859-1".</b> after doing this, we are facing an issue with the symbol <b>&</b>. When this is in my payload, it errors out in XI.

I found the same issue when i was trying to open the xml in my browser.

Any ideas on how to resolve this?

Regards,

Bhavesh

Accepted Solutions (0)

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Hi Bhavesh,

Go to Source message of xml, it will show some characters for that. So try to map with this. Because it is because of xml is not valid with that symbol.

& will be changed as & in the source xml.. Try with the mapping..

One field in IDoc had & as the value. It will get automatically converted to &amp; in XI and the output XML will have &amp;. This I have seen in my earlier project. And vice versa in file to idoc scneario. But in this case,I have used small java function to check if there any special chars exists, replace with &amp like this..

Check this,

Moorthy

Message was edited by: Krishna Moorthy P

Former Member
0 Kudos

Hi Krishna,

I have the same problem in some interfaces. Can you put in the forum your function (java code)?

Thanks,

Dejalma Rodrigues.