Deployment of OWB 11.2 Mapping With XML Extract Function Fails With ORA-00938: not enough arguments for function

(Doc ID 1362206.1)

Last updated on MAY 09, 2017

Applies to:

Oracle Warehouse Builder - Version to [Release 11.2]
Information in this document applies to any platform.


Oracle Warehouse Builder 11.2 creates invalid PL/SQL code using XML function EXTRACT.
Using public transformation /oracle/predefined/XML/EXTRACT in a mapping, the three input parameters have been set and also the return value:

RETURN.VALUE = EXTRACT(INGRP1.XMLType_instance,INGRP1.XPath_string,INGRP1.namespace_string).

In the generated package RETURN.VALUE is set to:


The call of EXTRACT-function has only one parameter instead of the required three.
Therefore, trying to deploy the mapping causes the following error:

PL/SQL: ORA-00938: not enough arguments for function


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