XMLELEMENT Returns Wrong XML Document When NON-PRINTABLE Character Exists

(Doc ID 1921658.1)

Last updated on AUGUST 29, 2014

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2 to 12.1]
Information in this document applies to any platform.


We use XMLELEMENT function to create XML files. In some cases it gives back wrong result, e.g.

The requested result should be each of below ones but not the abowe wrong result:
- skip not valid character -> data
- replace not valid character -> data?


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 hundreds of Community platforms