Menu

#63 InfModelF->load(string filename) Fatal error: Statement

Current_SVN
open
nobody
InfModel (2)
5
2014-07-29
2008-06-22
Anonymous
No

The load-method of the InfModel doesn't work. The following simple code throws a fatal error:

$infModel= ModelFactory::getInfModelF('http://[...]/annotations.owl#');
$infModel->load(OWL_DIR . 'annotations.owl');

Here's the output:

Fatal error: RDFAPI error (class: Statement; method: new): Resource expected as subject. in /[...]/ext/rdf_api/model/Statement.php on line 56

With any other model, it works.

Discussion