Hi Folks.
I am trying to load XML files into my database.
I have registered the schemas and all is fine when I load xml files that have the following in the header...
<?xml version="1.0" encoding="UTF-8"?>
<RTDR xmlns:tadig-gen="https://infocentre.gsm.org/TADIG-GEN" xmlns="https://infocentre.gsm.org/TADIG-RTDR">
<RTDRFileHeader>
My problem is that I am also receiving files with headers like this...
<?xml version="1.0" encoding="UTF-8" ?>
<RTDR>
<RTDRFileHeader>
When I try and load these into my table which has an XMLTYPE column associated with the registered RTDR schema, I get...
ORA-30937: No schema definition for 'RTDR' (namespace '') in parent '/'
My question is this.
Is it possible to get Oracle to load a file without the normal namespace declarations or would you say that the file without the namespace decparations is incorrect?
Many thanks
Kind regards
Simon Gadd
Oracle 10.2.0.3.0