My Oracle Support Banner

BI Publisher Corrupts RTF SubTemplates When Uploaded and Generates Error: XML-22049 When SubTemplate referenced in Report. (Doc ID 2176937.1)

Last updated on AUGUST 23, 2023

Applies to:

BI Publisher (formerly XML Publisher) - Version 12.2 to 12.2 [Release 12.2]
Information in this document applies to any platform.

Symptoms

On : 12.2 version, Enterprise: User Interface

BI Publisher corrupts MS Word created RTF sub templates when uploaded

When uploading MS Word RTF Sub template into Oracle BI Publisher 12.2.1.0.0 the file becomes corrupt. When trying to download the file and viewing it in MS Word an error is raised "Word was unable to read this document. It may be corrupt......". This file can be opened in WordPad just fine.

However this sub template can not be referenced in a BIP report. The following BIP error is raised:

oracle.xdo.servlet.data.DataException: oracle.xdo.servlet.data.DataException: oracle.xdo.XDOException: oracle.xdo11g.xslt.XSLException: : XML-22049: (Error) Template 'sub' invoked but not defined.


ERROR
-----------------------
oracle.xdo.servlet.data.DataException: oracle.xdo.servlet.data.DataException: oracle.xdo.XDOException: oracle.xdo11g.xslt.XSLException: : XML-22049: (Error) Template 'sub' invoked but not defined

Changes

 Upload MS Word RTF Sub templates into BI Publisher.

Cause

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
Symptoms
Changes
Cause
Solution


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