Report Generation Fails Due To 'Illegal closing table XSL context' And 'Missing body begin XSL context for' Errors

(Doc ID 727509.1)

Last updated on SEPTEMBER 05, 2017

Applies to:

BI Publisher (formerly XML Publisher) - Version 11.5 to 12.2 [Release 11.5 to 12.2]
Information in this document applies to any platform.
Executable:XDOREPPB - Generate PDF from XML output and given template


Symptoms

A report fails to be generated due to the following error:

...
[060909_094031597][][ERROR] [Line 1357.240] Illegal closing table XSL context
for: xsl:choose
[060909_094031762][][ERROR] [Line 1886.99] Missing body begin XSL context for:
<?end for-each?>
...


Both of the above errors may be slightly different as for the context yet the 'Illegal closing table XSL context
for' and 'Missing body begin XSL context for' are specific to the cause of the problem. A typically variation on 'xsl:choose' is 'xsl:if', all depending on the RTF layout template itself.

The same error is returned when validating the RTF layout template using the Oracle BI Publisher Desktop Template Builder utility.
 

Note: This behavior may also be encountered for report generation as part of a bursting job.

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