My Oracle Support Banner

XML Schema Validation = ORA-31154 ORA-19202 LSX-287 (Doc ID 1537744.1)

Last updated on APRIL 22, 2019

Applies to:

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

Symptoms

XML schema validation (via schemaValidate()) fails with this error stack in SQL*Plus:

  ERROR at line 1:
  ORA-31154: invalid XML document
  ORA-19202: Error occurred in XML processing
  LSX-00287: duplicate key "<ELEMENT>"
  ORA-06512: at "SYS.XMLTYPE", line 354
  ORA-06512: at line 2324

when there is only one element with id="ELEMENT>".

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.