mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 10:49:41 +02:00
Process all XML namespaces in PubSub ItemProvider
Fixes SMACK-601
This commit is contained in:
parent
1e5f0eb749
commit
b5b134f569
4 changed files with 46 additions and 9 deletions
|
@ -54,7 +54,7 @@ public class ItemProvider implements PacketExtensionProvider
|
|||
|
||||
if (ProviderManager.getExtensionProvider(payloadElemName, payloadNS) == null)
|
||||
{
|
||||
String payloadText = PacketParserUtils.parseElement(parser);
|
||||
String payloadText = PacketParserUtils.parseElement(parser, true);
|
||||
return new PayloadItem<SimplePayload>(id, node, new SimplePayload(payloadElemName, payloadNS, payloadText));
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue