|
From: Daniel L. <dan...@gm...> - 2007-10-08 16:44:18
|
> There's not much we can do without looking at an example that > triggers the problem. Can you point us to a file that shows the > problem, and the command that you used for loading the file into RAP? Here is an RDF file which I know it doesn't work for, its a FOAF profile: http://www.vanirsystems.co.uk/foaf.rdf and here is a snippet: public function connectToFoaf($uri) { $this->model = ModelFactory::getDefaultModel(); $this->model->load($uri); } ... ... $result = $this->model->findFirstMatchingStatement($statement->getObject(), $name, NULL); $nameResult = $this->makeSane($result); Thats the best I can do for code snippets, the error is: Warning: RDFAPI error (class: parser): only one element allowed inside a property element. in /home/daniel/public_html/xippr/code/lib/vendor/rdfapi-php/api/syntax/RdfParser.php on line 1045 Fatal error: RDFAPI error (class: parser; method: generateModel): XML-parser-error 76 in Line 89 of input document. in /home/daniel/public_html/xippr/code/lib/vendor/rdfapi-php/api/syntax/RdfParser.php on line 2225 Many thanks, Daniel |