diff options
Diffstat (limited to 'Source/SPXMLExporter.m')
-rw-r--r-- | Source/SPXMLExporter.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPXMLExporter.m b/Source/SPXMLExporter.m index 8ff99e0d..8393b937 100644 --- a/Source/SPXMLExporter.m +++ b/Source/SPXMLExporter.m @@ -258,7 +258,9 @@ [xmlItem setString:[NSString stringWithString:dataConversionString]]; [dataConversionString release]; - } + } + + // Check for null value using a pointer comparison; as [NSNull null] is a singleton this works correctly. else if (data == [NSNull null]) { dataIsNULL = YES; |