My Oracle Support Banner

Beginning with, a Newline Character is Added to Inserted XML Using Binary Storage (Doc ID 1932180.1)

Last updated on MARCH 28, 2019

Applies to:

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


Beginning with, a newline character is being added to an XMLTYPE column.  This can be illustrated with the following testcase:

This is causing the application to throw the following error and would require recoding:

org.xhtmlrenderer.util.XRRuntimeException: Can't load the XML resource (using TRaX transformer).
org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 734;
The content of elements must consist of well-formed character data or markup.
at org.xhtmlrenderer.resource.XMLResource$XMLResourceBuilder.createXMLResource(
at org.xhtmlrenderer.resource.XMLResource.load(


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.