[standards-jig] Tiny Pubsub comment/question

Matt Tucker matt at jivesoftware.com
Tue Jul 8 18:03:48 UTC 2003


Hey all,

Pubsup JEP 60, Example 81 uses (and there are some other examples too):

<message to="subscriber1" from="pubsub.jabber.org">
   <x xmlns="http://jabber.org/protocol/pubsub#event">

So, an <x> element is the recommended payload type. From previous 
discussions on the standards list, it was my understanding that people 
were trying to get away from using <x> elements in messages and instead 
using something more like:

<message to="subscriber1" from="pubsub.jabber.org">
   <pubsub xmlns="http://jabber.org/protocol/pubsub#event">

Obviously, it doesn't matter all that much what is used, but it would be 
cool to get some general agreement on what style of synatax new JEP's 
should use for message extensions (just as <query> seems to be out of 
style now for iq payloads).

Thanks,
Matt




More information about the Standards mailing list