jena-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McGibbney, Lewis John" <Lewis.McGibb...@gcu.ac.uk>
Subject Fatal Ontology {E301} - Content not allowed in Prolog
Date Thu, 03 Feb 2011 15:33:29 GMT
Hello list,

Have been trying to load an ontology into my web app, the absolute URI is correct, the problem
I am having is that I get the following output from console when I try to load the ontology.
The ontology exists in Manchester OWL syntax

2011-02-03 14:48:00,784 INFO  Ontology - creating new ontology
2011-02-03 14:48:01,253 INFO  Ontology - reading http://content.screencast.com/u
sers/WOMBRA/folders/Default/media/50a371a9-85a3-4fd5-8d33-65553e2cd48c/section6e
nergydomestic2010.owl
2011-02-03 14:48:01,644 FATAL Ontology - failed on attempting to read ontology h
ttp://content.screencast.com/users/WOMBRA/folders/Default/media/50a371a9-85a3-4f
d5-8d33-65553e2cd48c/section6energydomestic2010.owl
2011-02-03 14:48:01,644 FATAL Ontology - rethrew: {E301} Content is not allowed
in prolog.
2011-02-03 14:48:01,644 FATAL Ontology - com.hp.hpl.jena.rdf.arp.ParseException:
{E301} Content is not allowed in prolog.
2011-02-03 14:48:01,644 FATAL Ontology - at com.hp.hpl.jena.rdf.arp.ARPFilter.pa
rseWarning(ARPFilter.java:559)
2011-02-03 14:48:01,644 FATAL Ontology - at com.hp.hpl.jena.rdf.arp.ARPFilter.pa
rseWarning(ARPFilter.java:552)
2011-02-03 14:48:01,644 FATAL Ontology - at com.hp.hpl.jena.rdf.arp.ParserSuppor
t.saxException(ParserSupport.java:179)
...

I have a suspicion that the problem relates to the ontology syntax, but I am not sure therefore
I would appreciated some suggestions.

Thank you

Lewis


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald
Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year
2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message