Thank you Markus,
but what can I do now?
I cannot get back to my 0.7 SD installation.
The Drilldown in my site (http://tradtune.silkwood.it), behaves in unpredictable ways, i.e.: for some item (of the same property) it works displaying the list of corresponding articles, while some other item of the same (or other) property, completely ignores user's choice.
One final note: the tar snapshot (from the Extensions Distributor for 1.16.x) does not contain the SemanticDrilldown.php file in the root directory once extracted (tar xvf SemanticDrilldown-MW1.16-r66255.tar).
Is that correct?
On Jan 9, 2011, at 3:48 PM, Markus Krötzsch wrote:
> On 09/01/2011 02:50, Yaron Koren wrote:
>> I have no idea - I don't think I've heard of that happening before. But I'd
>> suggest upgrading to the latest version, 0.8.1 - there's at least some
>> chance that that will fix the problem.
> The answer is simple: the method that was mentioned in the error does not exist in SMW. It existed in earlier versions, then had been deprecated for several releases, and finally got removed. Long before this has happened, I also sent a notification to this list to explain the change and the required changes .
> The reason is that the datatype model of SMW does not really have such a thing as an "XSD value" (a string representation suitable for XML Schema). It never really had, but it was close enough at some point, so this method was used as the main machine readable value.
> With the evolution of SMW datatypes, it became clear that a single string cannot adequately represent all datavalues. Strings have one value; pages have a name, namespaces and interwiki prefix; numbers have a numeric value and a unit string; coordinates have latitude and longitude; ... So a new method getDBkeys() that returns an array of the relevant values is now used.
> The old uses of getXSDValue() in legacy code need to be replaced by a method that does the right thing. It is not possible to say what "the right thing" is in general, since getXSDValue() has been used in many places for many reasons. Sometimes using getWikiValue() will be just as good, sometimes you need to access some value in getDBkeys(), sometimes there were implicit assumptions on the format of getXSDValue() and special replacement methods have been introduced (e.g. for dates the method used to return an ISO conformant date string -- there is a new method for this now). What needs to be done depends on the code in question but it is usually easy to accomplish.
> - Markus
>  http://email@example.com/msg01262.html
>> On Sat, Jan 8, 2011 at 8:23 AM, Valerio Pelliccioni<firstname.lastname@example.org> wrote:
>>> Hi all,
>>> I've made an upgrade from SD 0.7 to SD 0.8
>>> Unexpectedly I got this Fatal Error:
>>> Call to undefined method SMWStringValue::getXSDValue() in
>>> /var/lib/mediawiki/extensions/SemanticDrilldown/includes/SD_Utils.inc on
>>> line 155
>>> after some research and tentative I realized that my LocalSettings pointed
>>> instead of
>>> Then I made the amendments but now the DrillDown does not work, i.e. in the
>>> Special:BrowseData page I get the different items corresponding to the
>>> (filtered) properties but no articles
>>> I just replaced the old 0.7 directories system (under
>>> /var/lib/mediawiki/extensions) with the new 0.8
>>> Did I make a mistake or miss something?
>>> extensionsSemantic extensionsSemantic Drilldown<http://www.mediawiki.org/wiki/Extension:Semantic_Drilldown>(Version
>>> 0.8)A drilldown interface for navigating through semantic dataYaron Koren
>>> and David LoomerSemantic Forms<http://www.mediawiki.org/wiki/Extension:Semantic_Forms>(Version
>>> 2.0.5)Forms for adding and editing semantic dataYaron Koren and othersSemantic
>>> MediaWiki<http://semantic-mediawiki.org/>(Version 1.5.3)Making your wiki
>>> more accessible - for machines and humans (online documentation<http://semantic-mediawiki.org/wiki/Help:User_manual>
>>> )Markus Krötzsch<http://korrekt.org/>, Denny Vrandecic<http://simia.net/>
>>> and others<http://www.ohloh.net/p/smw/contributors>. Maintained by AIFB
>>> Result Formats<http://semantic-mediawiki.org/wiki/Help:Semantic_Result_Formats>
>>> (Version 1.5.2 alpha)
>>> Please help
>>> Gaining the trust of online customers is vital for the success of any
>>> that requires sensitive data to be transmitted over the Web. Learn how to
>>> best implement a security strategy that keeps consumers' information secure
>>> and instills the confidence they need to proceed with transactions.
>>> Semediawiki-devel mailing list
>> Gaining the trust of online customers is vital for the success of any company
>> that requires sensitive data to be transmitted over the Web. Learn how to
>> best implement a security strategy that keeps consumers' information secure
>> and instills the confidence they need to proceed with transactions.
>> Semediawiki-devel mailing list