java/sql-dk/src/info/globalcode/sql/dk/formatting/XmlFormatter.java
branchv_0
changeset 163 1df10a9be6f4
parent 155 eb3676c6929b
child 165 871185e406b3
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/formatting/XmlFormatter.java	Wed Jan 15 21:38:02 2014 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/formatting/XmlFormatter.java	Wed Jan 15 22:22:45 2014 +0100
     1.3 @@ -149,9 +149,9 @@
     1.4  		if (value == null) {
     1.5  			if (attributes == null) {
     1.6  				attributes = new LinkedHashMap<>(2);
     1.7 -				attributes.put(qname("null"), "true");
     1.8 -				printEmptyElement(qname("column"), attributes);
     1.9  			}
    1.10 +			attributes.put(qname("null"), "true");
    1.11 +			printEmptyElement(qname("column"), attributes);
    1.12  		} else {
    1.13  			printTextElement(qname("column"), attributes, toString(value));
    1.14  		}