瀏覽代碼

HPCC-3060 Make check of output record name consistent

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck 11 年之前
父節點
當前提交
3e851e9cae
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      common/fileview2/fvresultset.cpp

+ 2 - 1
common/fileview2/fvresultset.cpp

@@ -1821,7 +1821,8 @@ void CResultSetCursor::writeXmlText(IXmlWriter &writer, int columnIndex, const c
         }
         return;
     case FVFFendrecord:
-        writer.outputEndNested(name);
+        if (name && *name)
+            writer.outputEndNested(name);
         return;
     }