DBMS_XMLGEN creates EMPTY XML from SQL Query when ROWNUM>8 and Database has Unicode character set

(Doc ID 1450203.1)

Last updated on APRIL 17, 2012

Applies to:

Oracle Server - Standard Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

 DBMS_XMLGEN.getXML returns an empty output for a specific SQL query when the SQL query has ROWNUM>8 and Database has Unicode character set.

Changes

Database was upgraded from 10.2.0.4 to 11gR2.
Problem does not exist on 10.2.0.4.

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