Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Bug Report: Problem when loading an OWL file with references to external sources while being off-line

Holger Stenzhorn holger.stenzhorn at ifomis.uni-saarland.de
Fri Sep 29 03:27:25 PDT 2006


Tania,

When I click on the link Bugzilla replies "You are not authorized to 
access bug #178". I created a new Bugzilla account, logged in but still 
get that message. Can this be changed?

Holger

Tania Tudorache schrieb:
> Holger,
>
> Thank you for the detailed bug report, I have added it to our bug database:
> http://smi-protege.stanford.edu/bugzilla/show_bug.cgi?id=178
>
> Tania
>
>
>
> Holger Stenzhorn wrote:
>   
>> Using: Protégé version 3.2 beta build 339
>>        Protégé-OWL version 2.2 beta build 339
>>
>>
>> The following three test cases depict the problem:
>>
>>
>> 1) If this file is loaded into Protégé while being off-line the class 
>> "Bar" is (correctly) shown as "unknown" or "not-referencable" with the 
>> daughter node "Foo".
>>
>>    <?xml version="1.0"?>
>>    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>>             xmlns:owl="http://www.w3.org/2002/07/owl#"
>>             xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
>>             xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
>>      <owl:Ontology rdf:about=""/>
>>      <owl:Class rdf:ID="Foo">
>>        <rdfs:subClassOf rdf:resource="http://dummy-ontologies.com/bar#Bar"/>
>>      </owl:Class>
>>    </rdf:RDF>
>>
>>    
>> 2) If this file is loaded into Protégé while being off-line the property 
>> "foo" nd "bar" are (in-correctly) not shown at all.
>>
>>    <?xml version="1.0"?>
>>    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>>             xmlns:owl="http://www.w3.org/2002/07/owl#"
>>             xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
>>             xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
>>      <owl:Ontology rdf:about=""/>
>>      <owl:ObjectProperty rdf:ID="foo">
>>        <rdfs:subPropertyOf rdf:resource="dummy-ontologies.com/bar#bar"/>
>>      </owl:ObjectProperty>
>>    </rdf:RDF>
>>    
>>    
>> 3) If this file is (tried to be) loaded into Protégé while being 
>> off-line the following exception is thrown.
>>
>>    <?xml version="1.0"?>
>>    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>>             xmlns:owl="http://www.w3.org/2002/07/owl#"
>>             xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
>>             xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
>>      <owl:Ontology rdf:about=""/>
>>      <owl:Class rdf:ID="Foo"/>
>>      <owl:Class rdf:ID="Bar">
>>        <rdfs:subClassOf>
>>          <owl:Restriction>
>>            <owl:allValuesFrom rdf:resource="#Foo"/>
>>            <owl:onProperty rdf:resource="dummy-ontologies.com/baz#baz"/>
>>          </owl:Restriction>
>>        </rdfs:subClassOf>
>>      </owl:Class>
>>    </rdf:RDF>
>>
>>    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.ProjectManager.openProjectRequest(Unknown 
>> Source)
>>      at 
>> edu.stanford.smi.protege.action.OpenProject.actionPerformed(Unknown Source)
>>      at 
>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>>      at 
>> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
>>      at 
>> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
>>      at 
>> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
>>      at 
>> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
>>      at 
>> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
>>      at java.awt.Component.processMouseEvent(Component.java:6038)
>>      at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
>>      at java.awt.Component.processEvent(Component.java:5803)
>>      at java.awt.Container.processEvent(Container.java:2058)
>>      at java.awt.Component.dispatchEventImpl(Component.java:4410)
>>      at java.awt.Container.dispatchEventImpl(Container.java:2116)
>>      at java.awt.Component.dispatchEvent(Component.java:4240)
>>      at 
>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
>>      at 
>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
>>      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
>>      at java.awt.Container.dispatchEventImpl(Container.java:2102)
>>      at java.awt.Window.dispatchEventImpl(Window.java:2429)
>>      at java.awt.Component.dispatchEvent(Component.java:4240)
>>      at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
>>      at 
>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
>>      at 
>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
>>      at 
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
>>      at 
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
>>      at 
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
>>      at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>>
>>    Unable to load file: file:/C:/development/temp/two.owl
>>    Possible reasons:
>>    - The file has an unsupported file format
>>    - The file is not well-formed
>>    - The project file is corrupt
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>>   
>>     
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>   




More information about the protege-owl mailing list