Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

issue with clob data retrieval

CostaNov 20 2015 — edited Nov 20 2015

Hello Everyone,

In my table abc, i have XML data (CLOB data type) in column perls.

When I use select statement to retrieve data, it work very fine but when the clob data contain null value, it display error as

ORA-31011: XML parsing failed

ORA-19202: Error occurred in XML processing

LPX-00229: input source is empty

How to resolve it . Please help me.

SELECT XMLTYPE (a.perls).EXTRACT ( '//fax/text()').getStringVal () from abc a

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2015
Added on Nov 20 2015
4 comments
402 views