Browse Source

HPCC-3060 Make check of output record name consistent

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck 11 years ago
parent
commit
3e851e9cae
1 changed files with 2 additions and 1 deletions
  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;
     }