W3C home > Mailing lists > Public > public-owl-dev@w3.org > July to September 2011

OWL API - ontology loading errors

From: Deniztan ulutaž <dulutas_21@hotmail.com>
Date: Sun, 25 Sep 2011 23:34:22 +0300
Message-ID: <DUB111-W115A4E8498FD5FC63D5BA95FDF20@phx.gbl>
To: <public-owl-dev@w3.org>

Hello,
 
I have a problem about my ontologies when loading to Owl Api.
 
Error message is:
 
Could not parse ontology.  Either a suitable parser could not be found, or parsing failed.  See parser logs below for explanation.
The following parsers were tried:
1) RDFXMLParser
2) OWLXMLParser
3) OWLFunctionalSyntaxOWLParser
4) TurtleOntologyParser
5) OWLOBOParser
6) KRSS2OWLParser
7) ManchesterOWLSyntaxOntologyParser
 
 
Detailed logs:
--------------------------------------------------------------------------------
Parser: RDFXMLParser
org.xml.sax.SAXParseException; systemId: file:///C:/…../insp.owl; lineNumber: 18; columnNumber: 79; The prefix "xml" cannot be bound to any namespace other than its usual namespace; neither can the namespace for "xml" be bound to any prefix other than "xml".
 
--------------------------------------------------------------------------------
Parser: OWLXMLParser
org.xml.sax.SAXParseException; systemId: file:///C:/…. /insp.owl; lineNumber: 18; columnNumber: 79; The prefix "xml" cannot be bound to any namespace other than its usual namespace; neither can the namespace for "xml" be bound to any prefix other than "xml".
 
--------------------------------------------------------------------------------
Parser: OWLFunctionalSyntaxOWLParser
Encountered " <ERROR> "< "" at line 1, column 1.
Was expecting:
    "Ontology" ...
     (Line 0)
 
--------------------------------------------------------------------------------
Parser: TurtleOntologyParser
uk.ac.manchester.cs.owl.owlapi.turtle.parser.ParseException: Encountered "" at line 1, column 1.
Was expecting one of:
    
 
--------------------------------------------------------------------------------
Parser: OWLOBOParser
org.coode.owlapi.obo.parser.ParseException: Encountered "<!DOCTYPE Ontology " at line 4, column 1.
Was expecting:
    "\n" ...
     (Line 1)
 
--------------------------------------------------------------------------------
Parser: KRSS2OWLParser
de.uulm.ecs.ai.owlapi.krssparser.ParseException: Encountered "<?xml version=\"1.0\"?>" at line 1, column 1.
Was expecting:
    <EOF> 
    
 
--------------------------------------------------------------------------------
Parser: ManchesterOWLSyntaxOntologyParser
Encountered '<?xml version="1.0"?>' at line 1 column 1.  Expected either 'Ontology:' or 'Prefix:' (Line 1)
 
 
 
What is the reason of this? and How can I solve the problem?
 
If you help or direct me I'll be so happy..Thank you inadvance.. 		 	   		  
Received on Sunday, 25 September 2011 20:34:50 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 09:32:59 GMT