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.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user