Index: trunk/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlResultParser.php |
— | — | @@ -122,11 +122,11 @@ |
123 | 123 | if ( $prevTag == 'uri' ) { |
124 | 124 | $this->m_data[$rowcount][$this->m_xml_bindidx] = new SMWExpResource( $dataString ); |
125 | 125 | } elseif ( $prevTag == 'literal' ) { |
126 | | - $this->m_data[$rowcount][$this->m_xml_bindidx] = new SMWExpLiteral( $dataString, null, $this->m_xml_datatype ); |
| 126 | + $this->m_data[$rowcount][$this->m_xml_bindidx] = new SMWExpLiteral( $dataString, $this->m_xml_datatype ); |
127 | 127 | } elseif ( $prevTag == 'bnode' ) { |
128 | 128 | $this->m_data[$rowcount][$this->m_xml_bindidx] = new SMWExpResource( '_' . $dataString ); |
129 | 129 | } elseif ( $prevTag == 'boolean' ) { // no "results" in this case |
130 | | - $literal = new SMWExpLiteral( $dataString, null, 'http://www.w3.org/2001/XMLSchema#boolean' ); |
| 130 | + $literal = new SMWExpLiteral( $dataString, 'http://www.w3.org/2001/XMLSchema#boolean' ); |
131 | 131 | $this->m_data = array( array( $literal ) ); |
132 | 132 | } |
133 | 133 | } |