NULL Returned by EXTRACTVALUE on Table with XMLINDEX, When the Selected XPATH is Not One of the Index

(Doc ID 1980803.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


In Oracle Server, after creating an XMLindex
PATH TABLE fbnk_customer_path_table') parallel;

executing a query which contains a path not specified in the xmindex, e.g.-

select extractValue(a.XMLRECORD,'/row/c179[@m="2"]')
where a.recid='100314';

returns null, while it returns a value when the index is not created.

The XMLTYPE columns of the base table is stored as BASICFILE CLOB.


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