[standards-jig] [jepnews] JEP-0021: Jabber Event Notification Service

Thomas Muldowney temas at box5.net
Mon Mar 4 23:12:34 UTC 2002

I disagree that it has to be a <query> element, but the usage of the
xmlns isn't correct currently in the spec. The xmlns has multiple root
elements, from a quick browse it seems to be <publish>, <subscribe> and
<unsubscribe>.  We need one root element or multiple namespaces.


On Mon, 2002-03-04 at 16:32, Casey Crabb wrote:
> Just a small comment on the protocol specifics:
> In most other IQ requests there is a query tag which holds the namespace, 
> and the actual parameters to the request are encapsulated in the query 
> element. It would be nice to see that continue or the xmlns declared in 
> the IQ. This makes for cleaner code when parsing the xml structure.
> For example:
> <iq id='sub1' type='set' from='subscriber-jid to='ens-jid'>
>     <subscribe xmlns='http://xml.cataclysm.cx/jabber/ens' jid='event-
> jid'/></iq>
> could become:
> <iq id='sub1' type='set' from='subscriber-jid to='ens-jid'>
>     <query xmlns='http://xml.cataclysm.cx/jabber/ens'>
>        <subscribe jid='event-jid'/>
>     </query>
> </iq>
> Does this make sense, or is it too petty?
> It allows me to be stricter in my validation and to keep validation 
> feature-local.
> The other comment was upon acception into the jabber standard, the 
> namespace probably ought to be changed to jabber:iq:ens or something like 
> that.
> --
> Casey
> _______________________________________________
> Standards-JIG mailing list
> Standards-JIG at jabber.org
> http://mailman.jabber.org/listinfo/standards-jig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://mail.jabber.org/pipermail/standards/attachments/20020304/f6f1aef9/attachment.sig>

More information about the Standards mailing list