Non Printable characters using dbms_xmlgen
858716Jun 13 2011 — edited Jun 13 2011Hi,
Currently I am passing sql query of select * from table to this oracle API returning XML data into a clob and then use utl_file package to write it back into flat file.
I have a column in DB which upon certain error loads a value which has non printable character in it. Its not viewable directly on sqlplus so I ran the query to find its ascii() value and it turned out to be ASCII 4 which is EOT [End of transmission]
dbms_xmlgen.getxml is is not able to handle it and generate xml file from this table. Its throwing ORA- 31011
ORA-31011: XML parsing failed
Is it possible to still use this Oracle API[dbms_xmlgen] and generate XML file while table contains the ASCII characters as described above?