Cannot Display JSON String Value That Contains '&' Sign
(Doc ID 2967045.1)
Last updated on AUGUST 16, 2023
Applies to:
Oracle SOA Suite - Version 12.2.1.3.0 and laterInformation in this document applies to any platform.
Symptoms
In the EM Console, when attempting to display a JSON string that contains '&' sign, the following error occurs. However, the code itself is working as designed.
ERROR
-----------------------
<parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">
<h3>This page contains the following errors:</h3>
<div style="font-family:monospace;font-size:12px">
error on line 2 at column 64: EntityRef: expecting ';'
</div>
<h3>Below is a rendering of the page up to the first error.</h3>
</parsererror>
<json></json>
-----------------------
<parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">
<h3>This page contains the following errors:</h3>
<div style="font-family:monospace;font-size:12px">
error on line 2 at column 64: EntityRef: expecting ';'
</div>
<h3>Below is a rendering of the page up to the first error.</h3>
</parsererror>
<json></json>
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |