Skip to Main Content

DevOps, CI/CD and Automation

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!

Remove Extended ASCII Characters to Match US-ASCII

3245956Dec 5 2016 — edited Dec 20 2016

I am getting the error below. We discovered that extended ASCII characters were causing the problem.  Can the insert statement below be modified to remove any character above ASCII 126 so the file can be inserted into the table?  thanks

Error Loc: 300

ORA-31011: XML parsing failed

ORA-19202: Error occurred in XML processing

LPX-00200: could not convert from encoding UTF-8 to US-ASCII

Error at line 97 - Error inserting the VOLOTEA_transfer_order_20161205154001.xml file for processing

insert into AMOS_TRANSFERORDER_XML

     values (1

             ,xmltype(

                       bfilename( 'XML_DIR','VOLOTEA_transfer_order_20161205154001.xml')

                      ,nls_charset_id('AL32UTF8')

                     )

            )

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 17 2017
Added on Dec 5 2016
9 comments
1,844 views