Hi!
At the moment I am trying to import an ontology into Protégé. But what I get is this:
edu.stanford.smi.protege.storage.clips.ParseException: Encountered "<?xml" at line 1, column 1.
Was expecting one of:
<EOF>
"(" ...
";+" ...
at edu.stanford.smi.protege.storage.clips.Parser.generateParseException(Unknown Source)
at edu.stanford.smi.protege.storage.clips.Parser.jj_consume_token(Unknown Source)
at edu.stanford.smi.protege.storage.clips.Parser.parseKnowledgeBase(Unknown Source)
at edu.stanford.smi.protege.storage.clips.Parser.loadInstances(Unknown Source)
at edu.stanford.smi.protege.storage.clips.ClipsKnowledgeBaseFactory.loadKnowledgeBase(Unknown Source)
at edu.stanford.smi.protege.storage.clips.ClipsKnowledgeBaseFactory.loadKnowledgeBase(Unknown Source)
at edu.stanford.smi.protege.model.Project.loadProjectKB(Unknown Source)
at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
at edu.stanford.smi.protege.model.Project.loadProjectFromURI(Unknown Source)
at edu.stanford.smi.protege.util.ProjectChooser.loadProject(Unknown Source)
at edu.stanford.smi.protege.util.ProjectChooser.getProject(Unknown Source)
at edu.stanford.smi.protege.ui.ProjectManager.getRequestedProject(Unknown Source)
at edu.stanford.smi.protege.ui.ProjectManager.openProjectRequest(Unknown Source)
at edu.stanford.smi.protege.ui.WelcomeDialog.openOtherButton_actionPerformed(Unknown Source)
at edu.stanford.smi.protege.ui.WelcomeDialog$3.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5554)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5319)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4021)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Unable to load file: file:/Users/sebastian/Desktop/FDCML.owl
Possible reasons:
- The file has an unsupported file format
- The file is not well-formed
- The project file is corrupt
Well, it is pretty clear to me that the file is either
- in an unsupported format
- malformed
Can you guys give me any pointers as to where to hack the parser to make it more verbose on the exact locus of the failure? This crash message is just plain useless.
Yours,
Kurt
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen:
http://www.gmx.net/de/go/topmail-------------------------------------------------------------------------
To unsubscribe go to
http://protege.stanford.edu/community/subscribe.html