Re: OWL API - ontology loading errors

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.

Cheers,
Bijan.

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