src/XMLDocumentConstructor.h
branchv_0
changeset 26 80e129ec3408
parent 19 90f2b8ca32bf
child 27 fd669e73d39a
--- a/src/XMLDocumentConstructor.h	Mon Nov 23 21:09:46 2020 +0100
+++ b/src/XMLDocumentConstructor.h	Wed Nov 25 21:50:26 2020 +0100
@@ -20,8 +20,11 @@
 #include <libxml++-2.6/libxml++/libxml++.h>
 
 #include "lib/INIReader.h"
+#include "lib/BasicUnescapingINIHandler.h"
 #include "lib/XMLNameCodec.h"
 
+using namespace relpipe::in::ini::lib;
+
 namespace relpipe {
 namespace in {
 namespace xmltable {
@@ -107,7 +110,8 @@
 	void process() {
 		HierarchicalINIContentHandler handler(parser);
 		std::shared_ptr<INIReader> reader(INIReader::create(*input));
-		reader->addHandler(&handler);
+		BasicUnescapingINIContentHandler unescapingHandler(handler, true);
+		reader->addHandler(&unescapingHandler);
 		reader->process();
 	}
 };