|
From: <tg...@us...> - 2008-05-26 18:18:21
|
Revision: 574
http://rdfapi-php.svn.sourceforge.net/rdfapi-php/?rev=574&view=rev
Author: tgauss
Date: 2008-05-26 11:18:16 -0700 (Mon, 26 May 2008)
Log Message:
-----------
Subject label is now CDATA
Modified Paths:
--------------
trunk/bookmashup/ApiQueryService.php
Modified: trunk/bookmashup/ApiQueryService.php
===================================================================
--- trunk/bookmashup/ApiQueryService.php 2008-05-26 09:04:29 UTC (rev 573)
+++ trunk/bookmashup/ApiQueryService.php 2008-05-26 18:18:16 UTC (rev 574)
@@ -303,7 +303,7 @@
foreach($subjects as $kk => $subject){
$subjectUri = new Resource(substr($newuri,0,$pos+1).urlencode($subject));
$model->add(new Statement($itemresource, $skosSubject, $subjectUri));
- $model->add(new Statement($subjectUri, new Resource("http://www.w3.org/2000/01/rdf-schema#label"), new Literal($subject)));
+ $model->add(new Statement($subjectUri, new Resource("http://www.w3.org/2000/01/rdf-schema#label"), new Literal((string)$subject)));
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|