My Oracle Support Banner

XMLELEMENT Returns Wrong XML Document When NON-PRINTABLE Character Exists (Doc ID 1921658.1)

Last updated on FEBRUARY 28, 2019

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?


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

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