Hi all,
1. In SMW1.4.2
/includes/SMW_DataValue.php
/**
* Initialise the datavalue from the given value string and unit.
* The format of both strings strictly corresponds to the output
* of this implementation for getXSDValue() and getUnit().
* @deprecated Use parseDBkeys(). This function will vanish
before SMW 1.6.
*/
protected function parseXSDValue($value, $unit) {
$this->parserDBkeys(array($value, $unit));
}
parserDBkeys => parseDBkeys
2. empty imported-vocabulary
After upgrade to 1.4.2., classes and properties from imported
vocabulary are now empty strings .
e.g. http://tw2.tw.rpi.edu/wiki/r2d2/index.php/Special:ExportRDF/Property:Knows
Here is a quick fix.
/includes/SMW_DataValue.php
class SMWSemanticData {
public function getPropertyValues(SMWPropertyValue $property) {
$dv->setDBkeys($dbkeys);
insert the following line to ensure unstub is called before retrieving data
$dv->isValid();
e.g. http://tw2.tw.rpi.edu/wiki/c3po/index.php/Special:ExportRDF/Property:Knows
3. I'm maintaining a updated patch to the current SMW 1.4.2 release
http://code.google.com/p/smwbp/source/browse/#svn/trunk/release/semediawiki-1.4.2
svn co
http://smwbp.googlecode.com/svn/trunk/release/semediawiki-1.4.2/SemanticMediaWiki
--
Li Ding
http://www.cs.rpi.edu/~dingl/
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel