My Oracle Support Banner

ORA-31011 ORA-19213 LPX-00210: expected '<' instead of '¿' (Doc ID 2889482.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 19.15.0.0.0 [Release 12.1 to 19]
Information in this document applies to any platform.

Symptoms

On : 12.1.0.2 version, XML Database

Error
---------------
Package dbms_xmlschema.registeruri throwing errors

xdb package dbms_xmlschema.registeruri is throwing below errors when trying to register a valid schema.

1. BEGIN
dbms_xmlschema.registeruri('http://www.sat.gob.mx/sitio_internet/cfd/tipoDatos/tdCFDI',
  'http://www.sat.gob.mx/sitio_internet/cfd/tipoDatos/tdCFDI/tdCFDI.xsd',
  TRUE, TRUE, FALSE, FALSE, TRUE);
END;

Error:
[1]: ORA-31011: XML parsing failed
[1]: ORA-19213: error occurred in XML processing at lines 1
[1]: LPX-00210: expected '<' instead of '¿'
[1]: ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 20
[1]: ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 199
[1]: ORA-06512: at line 2

2. BEGIN
dbms_xmlschema.registeruri('http://www.sat.gob.mx/sitio_internet/cfd/catalogos',
  'http://www.sat.gob.mx/sitio_internet/cfd/catalogos/catCFDI.xsd',
  TRUE, TRUE, FALSE, FALSE, TRUE);
END;

Error:
[1]: ORA-30936: Maximum number (65535) of 'enumeration' XML node elements exceeded
[1]: ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 20
[1]: ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 199
[1]: ORA-06512: at line 2

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.