From 9c912d5ac7720081fe39ab92e410fd3f9b1499d1 Mon Sep 17 00:00:00 2001 From: Thilo Molitor Date: Sun, 8 Sep 2024 07:40:50 +0200 Subject: [PATCH] Add new XML parser test for namespace inheritance in queries --- Monal/Classes/MonalAppDelegate.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Monal/Classes/MonalAppDelegate.m b/Monal/Classes/MonalAppDelegate.m index 61cb68110..fc1e1fcb7 100644 --- a/Monal/Classes/MonalAppDelegate.m +++ b/Monal/Classes/MonalAppDelegate.m @@ -71,6 +71,10 @@ -(void) runParserTests NSString* xml = @"\n\ \n\ SCRAM-SHA-1PLAIN\n\ + \n\ + Message text\n\ + This will NOT be used\n\ + \n\ http://jabber.org/protocol/muc#roominfo200testchat gruppe\n\ \n\ \n\ @@ -117,6 +121,7 @@ -(void) runParserTests for(NSString* query in @[ @"{http://jabber.org/protocol/disco#info}query/\\{http://jabber.org/protocol/muc#roominfo}result@muc#roomconfig_roomname\\", @"/{jabber:client}iq/{http://jabber.org/protocol/pubsub}pubsub/items@node", + @"body#", ]) { id result = [parsedStanza find:query];