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 to [Release 11.2]
Information in this document applies to any platform.


 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.


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


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