Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can't register file, error: LPX-00007: unexpected end-of-file encountered

525925Aug 23 2006 — edited Sep 4 2006
Hi
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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2006
Added on Aug 23 2006
4 comments
2,654 views