With cursor_sharing=similar Wrong Results Returned Using Table(Xmlsequence.. (Doc ID 434215.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.8 to 10.2.0.4
This problem can occur on any platform.

Symptoms

Wrong cq. no results returned for a TABLE(XMLSEQUENCE..  function.

Query looks like:

SQL> select * from (
 select to_number(extractvalue(value(i),'/ConferenceQueue/ConferenceId')) as conference_id,
extractvalue(value(i),'/ConferenceQueue/ProcessStatus') as status
FROM TABLE(XMLSEQUENCE(EXTRACT( xmltype(
'<GetWebConfListByDateResponse> <ConferenceQueue>
<ConferenceId>173922</ConferenceId> <ProcessStatus>ERROR</ProcessStatus>
</ConferenceQueue> ' ||
' <ConferenceQueue> <ConferenceId>174305</ConferenceId>
<ProcessStatus>ERROR</ProcessStatus>
</ConferenceQueue></GetWebConfListByDateResponse>'),
 'GetWebConfListByDateResponse' || '/' || 'ConferenceQueue'))) i) x
 /

Cause

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