DBMS_XMLSave.insertXML Fails with ORA-01722: Invalid Number

(Doc ID 1941767.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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


After migrate from to DBMS_XMLSave.insertXML fails with ORA-01722: invalid number.

The XML contains decimal fields separated by periods as W3C XML Schema defines, when nls_numeric_characters is set to ',.' DBMS_XMLSave.insertXML works ok on 11.1 but fails on 11.2 when the expected behavior is that nls_numeric_characters should not afect the xml content.


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