--- a/src/XMLTableCommand.h Sat Oct 24 00:08:17 2020 +0200
+++ b/src/XMLTableCommand.h Sun Oct 25 21:48:11 2020 +0100
@@ -30,6 +30,7 @@
#include <relpipe/writer/typedefs.h>
#include "Configuration.h"
+#include "XMLDocumentConstructor.h"
namespace relpipe {
namespace in {
@@ -86,7 +87,8 @@
std::shared_ptr<RelationalWriter> writer(Factory::create(output));
xmlpp::DomParser parser;
- parser.parse_stream(input);
+ XMLDocumentConstructor documentConstructor(&input, &parser);
+ documentConstructor.process();
if (configuration.xinclude) parser.get_document()->process_xinclude(true);
xmlpp::Element* root = parser.get_document()->get_root_node();