I tried to use the ODP.NET managed driver (Version 18.104.22.168) in my project, but I ran into problems where some queries fail with an ORA-01013 error.
I think I've found a minimal example that shows the issue, where it seems like the driver has problems using XMLELEMENT.
Running the following query fails with a ORA-01013 using the managed driver.
SELECT XMLELEMENT(xml) from dual
Using an unmanaged driver or running the query in SQLDeveloper works as expected.
I hope you are able to reproduce the issue or tell me what i'm doing wrong.