Beginning with, a Newline Character is Added to Inserted XML Using Binary Storage

(Doc ID 1932180.1)

Last updated on OCTOBER 02, 2014

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(


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