--- a/src/XmlHandler.h Wed Jan 09 00:09:33 2019 +0100
+++ b/src/XmlHandler.h Fri Jan 11 17:46:57 2019 +0100
@@ -40,6 +40,7 @@
class XmlHandler : public handlers::RelationalReaderStringHadler {
private:
+ const wstring XMLNS = L"tag:globalcode.info,2018:relpipe";
shared_ptr<XMLWriter> xmlWriter;
std::vector<TypeId> columnTypes;
std::vector<string_t> columnTypeCodes;
@@ -58,7 +59,7 @@
columnCount = 0;
if (relationCount == 0) {
- xmlWriter->writeStartElement(L"relpipe",{L"xmlns", L"tag:globalcode.info,2018:relpipe"});
+ xmlWriter->writeStartElement(L"relpipe",{L"xmlns", XMLNS});
} else {
xmlWriter->writeEndElement();
xmlWriter->writeEndElement();