diff options
author | louiz’ <louiz@louiz.org> | 2022-03-10 23:23:47 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2022-03-10 23:23:47 +0100 |
commit | 0061298dd0945f7f67e7fa340c6649b179c804d5 (patch) | |
tree | 23f178ae4f3d988c0c712c79e3d7156fcc5a33e0 /src/xmpp/xmpp_parser.hpp | |
parent | 18b6006e30c26a2fb6196e3b16420de74a654a73 (diff) | |
download | biboumi-master.tar.gz biboumi-master.tar.bz2 biboumi-master.tar.xz biboumi-master.zip |
Instead use \1, and build our own nodes by explicitely separating the
namespace and the node name.
Diffstat (limited to 'src/xmpp/xmpp_parser.hpp')
-rw-r--r-- | src/xmpp/xmpp_parser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/xmpp_parser.hpp b/src/xmpp/xmpp_parser.hpp index ec42f9a..1e5e4e5 100644 --- a/src/xmpp/xmpp_parser.hpp +++ b/src/xmpp/xmpp_parser.hpp @@ -18,9 +18,9 @@ * stanza is reasonnably short. * * The element names generated by expat contain the namespace of the - * element, a colon (':') and then the actual name of the element. To get + * element, a \1 separator and then the actual name of the element. To get * an element "x" with a namespace of "http://jabber.org/protocol/muc", you - * just look for an XmlNode named "http://jabber.org/protocol/muc:x" + * just look for an XmlNode named "http://jabber.org/protocol/muc\1x" * * TODO: enforce the size-limit for the stanza (limit the number of childs * it can contain). For example forbid the parser going further than level |