diff -r 15c3221e66af -r 6a4a348426d9 src/lib/DOMBuildingSAXContentHandler.h --- a/src/lib/DOMBuildingSAXContentHandler.h Sat Jun 12 19:15:58 2021 +0200 +++ b/src/lib/DOMBuildingSAXContentHandler.h Sat Jun 12 20:31:23 2021 +0200 @@ -35,15 +35,18 @@ document->create_root_node("DOMBuildingSAXContentHandler"); // FIXME: real implementation } - void abc() override { - document->get_root_node()->add_child("abc"); - }; + void writeStartElement(const std::string& name, const std::vector& attributes) override { + } + + void writeEndElement() override { + } - void def(int a) override { - }; + void writeCharacters(const std::string& text) override { + } - void ghi(int a, int b) override { - }; + void writeComment(const std::string& text, bool addSpaces) override { + document->get_root_node()->add_child_comment(addSpaces ? " " + text + " " : text); + } };