[standards-jig] PubSub question

Jean-Louis Seguineau/EXC/ENG jean-louis.seguineau at antepo.com
Thu Jul 10 13:33:01 UTC 2003


Hi all,

Re-reading JEP0060 if was just wondering if there was a particular reason
for having  a somewhat convoluted <subscribe-options> tag that is only used
to specify that configuration is required for a subscription (see example
40)
Wouldn't it be simpler to have just a single tag instead as described bellow

Example 40. Server replies with success and indicates subscription
configuration is required
<iq type="result" from="pubsub.jabber.org" to="sub1 at foo.com/home" id="sub1">
  <pubsub xmlns="http://jabber.org/protocol/pubsub">
    <entity node="generic/pgm-mp3-player" jid="sub1 at foo.com"
            affiliation="none" subscription="unconfigured">
      <options/>
    </entity>
  </pubsub>
</iq>
or if we want to use a different tag
<iq type="result" from="pubsub.jabber.org" to="sub1 at foo.com/home" id="sub1">
  <pubsub xmlns="http://jabber.org/protocol/pubsub">
    <entity node="generic/pgm-mp3-player" jid="sub1 at foo.com"
            affiliation="none" subscription="unconfigured">
      <configuration/>
    </entity>
  </pubsub>
</iq>--jean-louis





More information about the Standards mailing list