My Oracle Support Banner

DBMS_XMLSave.insertXML Fails with ORA-01722: Invalid Number (Doc ID 1941767.1)

Last updated on MARCH 13, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A 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.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.