My Oracle Support Banner

Unable To Parse Ampersand "The XPath expression failed to execute" (Doc ID 2866662.1)

Last updated on MAY 02, 2022

Applies to:

Oracle SOA Suite - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Facing issues while parsing '&' in xml. In the database, '&' is stored as '&'. While parsing the xml with '&', it is throwing below error.
"The XPath expression failed to execute; the reason was: Expected name instead of .".

Tried with oraext:parseXML but the issue still persists.


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
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.