--- a/server/src/app/Repositories/RdfDocumentRepository.php Thu Feb 11 15:42:27 2016 +0100
+++ b/server/src/app/Repositories/RdfDocumentRepository.php Fri Feb 12 15:30:32 2016 +0100
@@ -71,6 +71,9 @@
public function get($id) {
+ if(strpos($id, config('corpusparole.corpus_id_scheme')) === 0) {
+ $id = substr($id, strlen(config('corpusparole.corpus_id_scheme')));
+ }
$docUri = Config::get('corpusparole.corpus_doc_id_base_uri').$id;
// We want the CBD (Concise Bounded Description, cf. http://www.w3.org/Submission/CBD/)