Xml Validation Fails with LSX-00249 After Upgrade From 10.2.0.4 To 11.2.0.2 (Doc ID 1370470.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.2 to 11.2.0.2 - Release: 11.2 to 11.2
Information in this document applies to any platform.

Symptoms

The error
ORA-31154: Invalid XML-Document
ORA-19202: Error in XML-Processing
LSX-00249: Date or Time "2010-12-03T20:16:03,000000" invalid
ORA-06512: in "SYS.XMLTYPE", line 354
is raised by the schemavalidate function, example:
DECLARE
l_xml sys.XMLTYPE;
BEGIN
select t.xml_document into l_xml from TEST4 t;
l_xml := l_xml.createSchemaBasedXML('oracle_11.xsd');
l_xml.schemavalidate();
END;
/

Cause

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