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='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]/ 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='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]/ 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

Reply via email to