My Oracle Support Banner

ORA-19032: Expected XML tag , got no content (Doc ID 1152786.1)

Last updated on JULY 12, 2021

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

SQL statement using the XMLTYPE Member Function fails with:
ORA-19032 "Expected XML tag , got no content
ORA-06512: at sys.xmltype

In the SQL statement three views are joined via OUTER JOINS.
If a certain of the OUTER JOINS is converted to an INNER JOIN, the problem disappears, but the result is incorrect as the data relationship is optional.
The OUTER JOIN also works if you don't select any columns from the third table (via an outer join).

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
Cause
Solution
References


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