My Oracle Support Banner

Invalid Xml For Ampersand Character In Bpel Email Attachment (Doc ID 1336946.1)

Last updated on JULY 20, 2011

Applies to:

Oracle(R) BPEL Process Manager - Version: to - Release: AS10gR3 to 11gR1
This problem can occur on any platform.


A BPEL process contains payload data in XML format which contain a correctly-formatted, i.e. escaped, ampersand character as & a m p ; (without blanks). Viewing the data in the BPEL instance's flow confirms that this character has been escaped correctly. If this same payload is sent as an email notification attachment, the ampersand character is replaced by an actual ampersand. I.e. it is converted from "& a m p ;" to a single "&". This is invalid XML, as defined in the XML specification at
See - Extensible Markup Language (XML) 1.1 (Second Edition)
under 2.4 Character Data and Markup - "The ampersand character (&) and the left angle bracket (<) MUST NOT appear in their literal form... etc."


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

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