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 11.2.0.4 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.

Symptoms

After migrate from 11.1.0.7 to 11.2.0.4 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.

Cause

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
Symptoms
Cause
Solution
References


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