Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-31187

cannot add node 'node_name' (type='node_type') to simple type node 'simple_type_node'
  • node_name: The node added to the simple type node.
  • node_type: The node type added to the simple type node.
  • simple_type_node: The node that is the simple type node.

Cause

An attempt was made to add attribute or element nodes to a simple type against the schema definition. But, a simple type can only have special attributes like namespaces or xsi:nil.


Action

Add a node complying with the simple type.