ORA-21700 Using Xmlelement In A Select Statement

(Doc ID 741510.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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


The following query using xml functions gives error ORA-21700

xmlattributes('http://www.library.org/2004-08-02' AS "xmlns",
'http://www.w3.org/2001/XMLSchema-instance' AS "xmlns:xsi",
'http://library.org/2004-08-02 CheckBook.xsd' AS "xsi:
'useridvalue' AS "userId")
).getStringVal() as test_output
FROM dual;

FROM dual
ORA-21700: object does not exist or is marked for delete

This code runs ok in 9i


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