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

Re: OWL API - ontology loading errors

From: Bijan Parsia <bparsia@cs.man.ac.uk>
Date: Mon, 26 Sep 2011 00:48:44 +0100
Cc: <public-owl-dev@w3.org>
Message-Id: <B0DCA9C0-5D05-4C17-BF33-312D8CC7A7CB@cs.man.ac.uk>
To: Deniztan ulutaƟ <dulutas_21@hotmail.com>
This (likely) means that your ontology is has a syntax error. This should be somewhat obvious from the error message.

The OWL API tries every parser it has starting with the most common (RDF/XML) format.

Since you didn't include a test case it's a bit hard to diagnose. It looks like it might be some XML format judging from the:

> <?xml version="1.0"?>

and the
	<!DOCTYPE Ontology
reported in various error messages.

The latter suggests that it's OWL/XML. Though a DTD is not recommended for that format.

The RDF/XML and OWL/XML parsers report that you've redefined 'xml', which suggests that you have an xmlns:xml="" attribute somewhere.

If you want a more specific diagnoses, you need to include example input.

Received on Sunday, 25 September 2011 23:49:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:20 UTC