[Standards] XEP-0084 Example Mistake
Andreas Monitzer
jig at monitzer.com
Sat Jun 16 23:00:26 CDT 2007
Hi,
I've implemented XEP-0084 now, but I think I've found an error in an
example.
Example 6 is:
<iq type='result' from='juliet at capulet.com' to='romeo at montague.net/
home' id='publish1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish node='http://www.xmpp.org/extensions/xep-0084.html#ns-
data'>
<item id='111f4b3c50d7b0df729d299bc6f8e9ef9066971f'>
<data xmlns='http://www.xmpp.org/extensions/xep-0084.html#ns-
data'>
qANQR1DBwU4DX7jmYZnncm...
</data>
</item>
</publish>
</pubsub>
</iq>
However, shouldn't that be the following?
<iq type='result' from='juliet at capulet.com' to='romeo at montague.net/
home' id='publish1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<items node='http://www.xmpp.org/extensions/xep-0084.html#ns-data'>
<item id='111f4b3c50d7b0df729d299bc6f8e9ef9066971f'>
<data xmlns='http://www.xmpp.org/extensions/xep-0084.html#ns-
data'>
qANQR1DBwU4DX7jmYZnncm...
</data>
</item>
</items>
</pubsub>
</iq>
At least that's what I'd expect looking at XEP-0060 Example 67.
andy
More information about the Standards
mailing list