Strabon

changeset 732:9110b919c347

Added a TD tag that was missing when a variable was not bound.
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Fri Nov 23 15:48:48 2012 +0200 (2012-11-23)
parents d45be7385224
children 5b260cc9dc30
files resultio-spatial/sparqlhtml/src/main/java/org/openrdf/query/resultio/sparqlhtml/stSPARQLResultsHTMLWriter.java
line diff
     1.1 --- a/resultio-spatial/sparqlhtml/src/main/java/org/openrdf/query/resultio/sparqlhtml/stSPARQLResultsHTMLWriter.java	Fri Nov 09 19:19:38 2012 +0200
     1.2 +++ b/resultio-spatial/sparqlhtml/src/main/java/org/openrdf/query/resultio/sparqlhtml/stSPARQLResultsHTMLWriter.java	Fri Nov 23 15:48:48 2012 +0200
     1.3 @@ -152,7 +152,13 @@
     1.4  						xmlWriter.text(boundValue.toString());
     1.5  					}																					
     1.6  					xmlWriter.endTag(TABLE_DATA_TAG);							
     1.7 -				}									
     1.8 +				}
     1.9 +				else
    1.10 +				{
    1.11 +					xmlWriter.setAttribute(STYLE, TABLE_DATA_CLASS);
    1.12 +					xmlWriter.startTag(TABLE_DATA_TAG);
    1.13 +					xmlWriter.endTag(TABLE_DATA_TAG);						
    1.14 +				}	
    1.15  				value.setLength(0);
    1.16  			}
    1.17  			xmlWriter.endTag(TABLE_ROW_TAG);