Strabon

changeset 1259:982b39330ac0 temporals

strict kml standard requires no spaces between the temporal elements values and the tags
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Mon Aug 19 13:34:38 2013 +0300 (2013-08-19)
parents 6a9204da715f
children 5e650277cbdf
files resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java
line diff
     1.1 --- a/resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java	Mon Aug 19 11:00:35 2013 +0300
     1.2 +++ b/resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java	Mon Aug 19 13:34:38 2013 +0300
     1.3 @@ -216,7 +216,7 @@
     1.4  					xmlWriter.startTag(TIMESPAN_TAG);
     1.5  					xmlWriter.textElement(BEGIN_TAG, start);
     1.6  					if(!end.contains("UC")){
     1.7 -						xmlWriter.textElement(END_TAG, end);	
     1.8 +						xmlWriter.textElement(END_TAG, end.trim());	
     1.9  					}
    1.10  					xmlWriter.endTag(TIMESPAN_TAG);
    1.11