My Oracle Support Banner

LPX-00104 Is Raised Since For An XML Document With An Inline DTD Having No Element Defined (Doc ID 1424273.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version: and later   [Release: 11.2 and later ]
Oracle XML Developers Kit - Version: and later    [Release: 11.2 and later]
Information in this document applies to any platform.


Inserting an XML document containing a DTD declaration into an XMLType fails with following errors

ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
In line 6 of orastream:
LPX-00104: Warning: element "standard" is not declared in the DTD

Example of XML document

<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<!DOCTYPE standard [
<artwork name="GREG1"/>

Example of code:

connect / as sysdba
create directory tmpxmldir as '/tmp';
grant read, write on directory tmpxmldir to scott;

connect scott/tiger
create table GGDOC of xmltype xmltype store as binary xml;
insert into ggdoc values (xmltype(bfilename('TMPXMLDIR','test1.xml'), nls_charset_id('AL32UTF8')));


The database has been upgrade from the version


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

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