From: AJ C. <ca...@gm...> - 2006-05-29 03:45:13
|
Hi, I'm new to RAP, trying to use RAP to load a DOAP file. But, there is a fatal error: PHP Fatal error: RDFAPI error (class: parser; method: generateModel): XML-parser-error 201 in Line 13 of input document. line 13 is <doap:shortdesc> in the following rdf section: <doap:Project> <doap:name>Redland RDF Application Framework</doap:name> <doap:homepage rdf:resource=3D"http://www.redland.opensource.ac.uk/" /> <doap:created>2000-06-21</doap:created> <doap:shortdesc> A library for the Resource Description Framework (RDF) allowing it parsed from XML, stored, queried and manipulated. </doap:shortdesc> .... my code to load ontology is: $ontModel =3D ModelFactory::getOntModel(MEMMODEL,RDFS_VOCABULARY); $ontModel->load("doap_redland.rdf"); Any suggestion for loading DOAP file? I assume RAP knows how to load instance of any class like doap:Project. If this is not true, then how to have RAP to work with a custom ontology? Thanks, AJ |