From 233057d5c4316c328d154e473e21a4f51fd80131 Mon Sep 17 00:00:00 2001 From: Sean McIlvenna Date: Fri, 11 Aug 2017 14:16:57 -0700 Subject: [PATCH] Fixing bug when xpath is incorrect, it fails for all remaining columns in the group --- XmlDocumentConverter/XlsxConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XmlDocumentConverter/XlsxConverter.cs b/XmlDocumentConverter/XlsxConverter.cs index 1e00fb1..8d4ebb1 100644 --- a/XmlDocumentConverter/XlsxConverter.cs +++ b/XmlDocumentConverter/XlsxConverter.cs @@ -156,7 +156,7 @@ private string GetValue(string xpath, XmlNode parent, XmlNamespaceManager nsMana } } - return null; + return string.Empty; } private void ProcessGroup(MappingGroup groupConfig, ExcelFormat excelFormat, XmlNode node, XmlNamespaceManager nsManager)