How to fix the Oracle error ORA-31187: Cannot Add Node ‘string’ (type=’string’) to Simple Type Node ‘string’?

In this post, you’ll learn more about the Oracle ErrorORA-31187: Cannot Add Node ‘string’ (type=’string’) to Simple Type Node ‘string’ with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-31187: Cannot Add Node ‘string’ (type=’string’) to Simple Type Node ‘string’

Reason for the Error ORA-31187: Cannot Add Node ‘string’ (type=’string’) to Simple Type Node ‘string’

Trying to add attribute/element nodes to a simple type against the schema definition. Simple types can have only special attribute like namespaces, xsi:nil etc.

How to fix the Error ORA-31187: Cannot Add Node ‘string’ (type=’string’) to Simple Type Node ‘string’ ?

You can fix this error in Oracle by following the below steps

Use a valid node for the operation.

Tags :

Leave Your Comment