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

Last updated on AUGUST 01, 2010

Applies to:

Oracle Server - Enterprise Edition - Version: and later   [Release: 10.2 and later ]
Information in this document applies to any platform.


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).


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