Can't register file, error: LPX-00007: unexpected end-of-file encountered
525925Aug 23 2006 — edited Sep 4 2006Hi
I'm running SQL-developer 1.0, oracle 10.2.0.1.0, win xp
When I try to register this code (look below) Oracle gives a error "unexpected end-of-file encountered" I've valuated the xsd-file and it passes.
Have to mention that i import files (scheme) from other files, and these files I can register with no errors.
Have anyone any hint for what to do to register this file?
begin
dbms_xmlschema.REGISTERSCHEMA('DrillRig.xsd',
xdb_utilities.GETXMLFROMFILE('DrillRig.xsd','DRILL_DIR')
, true, true, false, force=>true);
end;
Error report:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00007: unexpected end-of-file encountered
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 55
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 149
ORA-06512: at line 2
Thanks!