ORA-19003 or " XML document must have a top level element" Accessing Table Data with the DBUri Servlet in a Browser
(Doc ID 391118.1)
Last updated on JANUARY 29, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 10.1.0.2 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud 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
Information in this document applies to any platform.
Symptoms
- Querying table data with the XDB DBUri Servlet in a browser similar to the following:
http://localhost:8085/oradb/SCOTT/EMP/ROW[MGR=7839]
- The query is expected to return multiple rows
- One of the following errors is displayed instead of returning the resultset:
XML document must have a top level element. Error processing resource
http://localhost:8085/oradb/SCOTT/EMP/ROW[MGR=7839]..."<ERROR>
ORA-19003: Missing XML root element name
</ERROR>
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 |