Printing in Document Engine Results in Error [XML document structures must start and end within the same entity] (Doc ID 2109585.1)

Last updated on MARCH 15, 2016

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 12.0 and later
Information in this document applies to any platform.

Symptoms

When printing or previewing a document, an error is generated:

Could not get document from xml.

The bm.log will also have the full error stack similar to the one below:

Changes

 str:tokenize() or str:split() is used multiple times throughout the document, either in the Global XSL or in the XSL snippet.

Cause

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