SAP Knowledge Base Article - Public

3420871 - XML Special Characters

Symptom

You are about to make upserts using the payload on XML format and is looking to understand how XML deals with special characters.

Resolution

There are 4 specific Special Characters on XML that are handled differently from the others:

  • &    &
  • <    &lt;
  • >    &gt;
  • "    &quot;

That is, if in your payload there is a value such as &, you need to change it to &amp. If this is not performed, multiple errors must be seen.

Keywords

XML, special character, &, <, >, ", odata, upsert, format , KBA , LOD-SF-INT-ODATA , OData API Framework , How To

Product

SAP SuccessFactors HCM Suite all versions