From 0061298dd0945f7f67e7fa340c6649b179c804d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Thu, 10 Mar 2022 23:23:47 +0100 Subject: Do not use ':' as a namespace separator with expat Instead use \1, and build our own nodes by explicitely separating the namespace and the node name. --- tests/xmpp.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/xmpp.cpp b/tests/xmpp.cpp index 14c51da..c49c2fd 100644 --- a/tests/xmpp.cpp +++ b/tests/xmpp.cpp @@ -67,6 +67,8 @@ TEST_CASE("substanzas") CHECK(!d.has_children()); } CHECK(b.has_children()); + XmlSubNode e(a, "namespace", "name"); + CHECK(e.get_tag("xmlns") == "namespace"); } CHECK(a.has_children()); } -- cgit v1.2.3