Comparison

spec/scansion/pubsub_multi_items.scs @ 11714:d783716103c1

mod_pubsub: Fix inclusion of publisher (fixes #1399)
author Kim Alvefur <zash@zash.se>
date Wed, 01 May 2019 22:33:22 +0200
parent 11631:6641ca266d94
child 11720:72512c0858b3
comparison
equal deleted inserted replaced
11713:7623767df468 11714:d783716103c1
157 157
158 Alice receives: 158 Alice receives:
159 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":3nvB2E20p1iuM6lOPaP6"> 159 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":3nvB2E20p1iuM6lOPaP6">
160 <pubsub xmlns="http://jabber.org/protocol/pubsub"> 160 <pubsub xmlns="http://jabber.org/protocol/pubsub">
161 <items node="e96caf12-264f-4e5a-988e-00ae191771b6"> 161 <items node="e96caf12-264f-4e5a-988e-00ae191771b6">
162 <item xmlns="http://jabber.org/protocol/pubsub" id="20e9eb9e-8acb-436e-a486-40e80400faf1"> 162 <item publisher="${Alice's JID}" xmlns="http://jabber.org/protocol/pubsub" id="20e9eb9e-8acb-436e-a486-40e80400faf1">
163 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">foo</foo> 163 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">foo</foo>
164 </item> 164 </item>
165 <item xmlns="http://jabber.org/protocol/pubsub" id="4b94623d-1127-41c0-ac47-e283fd890557"> 165 <item publisher="${Alice's JID}" xmlns="http://jabber.org/protocol/pubsub" id="4b94623d-1127-41c0-ac47-e283fd890557">
166 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">bar</foo> 166 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">bar</foo>
167 </item> 167 </item>
168 </items> 168 </items>
169 </pubsub> 169 </pubsub>
170 </iq> 170 </iq>
178 178
179 Alice receives: 179 Alice receives:
180 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":XQdyK54iyOKiJvUoX9t_"> 180 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":XQdyK54iyOKiJvUoX9t_">
181 <pubsub xmlns="http://jabber.org/protocol/pubsub"> 181 <pubsub xmlns="http://jabber.org/protocol/pubsub">
182 <items node="e96caf12-264f-4e5a-988e-00ae191771b6"> 182 <items node="e96caf12-264f-4e5a-988e-00ae191771b6">
183 <item xmlns="http://jabber.org/protocol/pubsub" id="20e9eb9e-8acb-436e-a486-40e80400faf1"> 183 <item xmlns="http://jabber.org/protocol/pubsub" publisher="${Alice's JID}" id="20e9eb9e-8acb-436e-a486-40e80400faf1">
184 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">foo</foo> 184 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">foo</foo>
185 </item> 185 </item>
186 <item xmlns="http://jabber.org/protocol/pubsub" id="4b94623d-1127-41c0-ac47-e283fd890557"> 186 <item xmlns="http://jabber.org/protocol/pubsub" publisher="${Alice's JID}" id="4b94623d-1127-41c0-ac47-e283fd890557">
187 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">bar</foo> 187 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">bar</foo>
188 </item> 188 </item>
189 </items> 189 </items>
190 </pubsub> 190 </pubsub>
191 </iq> 191 </iq>