Error LSX-00222 Validating XML Schema (Doc ID 1511100.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.1 to 11.2.0.1 [Release 11.2]
Information in this document applies to any platform.

Symptoms

The function schemaValidate() raises the errors

ORA-31154: invalid XML document
ORA-19202: Error occurred in XML processing
LSX-00222:
"1234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890" is too long (maximum length is 29)
ORA-06512: at "SYS.XMLTYPE", line 354

in an Oracle Server 11.2.0.1

Example code

 

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