Strabon
changeset 1393:b84809388dac
had forgotten to create typed literals in TSV writer
author | Babis Nikolaou <charnik@di.uoa.gr> |
---|---|
date | Thu Sep 18 17:50:48 2014 +0300 (2014-09-18) |
parents | 64d97df71be4 |
children | d77b3f6f67df |
files | resultio-spatial/text/src/main/java/org/openrdf/query/resultio/text/stSPARQLResultsTSVWriter.java |
line diff
1.1 --- a/resultio-spatial/text/src/main/java/org/openrdf/query/resultio/text/stSPARQLResultsTSVWriter.java Thu Sep 18 14:37:10 2014 +0300 1.2 +++ b/resultio-spatial/text/src/main/java/org/openrdf/query/resultio/text/stSPARQLResultsTSVWriter.java Thu Sep 18 17:50:48 2014 +0300 1.3 @@ -33,7 +33,7 @@ 1.4 // catch the spatial case and create a new literal 1.5 // constructing a new literal is the only way if we want to reuse the {@link #writeValue(Value)} method 1.6 GeneralDBPolyhedron dbpolyhedron = (GeneralDBPolyhedron) val; 1.7 - val = new LiteralImpl(dbpolyhedron.stringValue()); 1.8 + val = new LiteralImpl(dbpolyhedron.stringValue(), dbpolyhedron.getDatatype()); 1.9 } 1.10 1.11 // write value