Hi,

I try to load an ontology with two imports with jena 3.2.0 (also 3.1.0):

    - http://www.w3.org/2006/time

    - http://purl.obolibrary.org/obo/bfo.owl

No problem for the time ontology but there is a SaxParserException for the second (bfo).

org.apache.jena.shared.JenaException: org.xml.sax.SAXParseException; systemId: http://purl.obolibrary.org/obo/bfo.owl; lineNumber: 1; columnNumber: 50; White spaces are required between publicId and systemId.

The problem is the redirection from "http://purl.obolibrary.org/obo/bfo.owl"; to "https://raw.githubusercontent.com/BFO-ontology/BFO/v2.0/bfo.owl";

The parser try to parse :

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://raw.githubusercontent.com/BFO-ontology/BFO/v2.0/bfo.owl";>here</a>.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at purl.obolibrary.org Port 80</address>
</body></html>


Is there any way to solve this error ?

Thanks


--
Signature electronique
INRA <http://www.inra.fr>
*Stéphane Dervaux*
*Ingénieur d'étude en informatique / Engenieer in Computer Science*
[email protected] <mailto:#>
*Unité MIA Paris*
Tèl. : +33 1 (0)1 44 08 18 89

16, rue Claude Bernard
75 231 Paris Cedex 05
France
www.inra.fr <http://www.inra.fr>

Reply via email to