https://bugzilla.wikimedia.org/show_bug.cgi?id=62218

--- Comment #1 from Giacomo Carnevale <gcarnev...@imolinfo.it> ---
Proposed fix:

In the file
extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlResultParser.php (line
115, method xmlHandleOpen) the property m_xml_datatype is set to false when the
xml datatype attribute is not present in attributes array; but the
SMWExpLiteral  __construct
(extensions/SemanticMediaWiki/includes/export/SMW_Exp_Element.php file) throw
new InvalidArgumentException (line 253) if the datatype param is not a string.

We fixed this replacing at line 115 of the
extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlResultParser.php file: 

     $this->m_xml_datatype = false;

with

     $this->m_xml_datatype = '';

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to