[jdev] Monthly XMPP Meeting

Norman Rasmussen norman at rasmussen.co.za
Thu Mar 12 17:25:03 CDT 2009


On Thu, Mar 12, 2009 at 8:07 PM, Peter Saint-Andre <stpeter at stpeter.im>wrote:

> > 2) RFC3921bis-08: "The <show/> element MUST NOT possess any attributes."
> > (also with <status/>, <priority/>, <body/>, <subject/>)
> >
> > The latter could be made to state "MUST NOT possess any non-namespaced
> > attributes".
>
> IMHO we don't need to change the schemas for those elements. But it
> would be clearer to say "there are no attributes defined for these
> elements".


I agree - those elements don't allow sub-elements (from the same or other
namespaces), so why should they allow attributes?
Note that point #2 only applies to the show, status, priority, body, subject
elements (not message/presence/iq).  Nothing is stopping you from creating
'sibling' elements to these in the same stanza with whatever element and
attributes you want.

-- 
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20090313/50efdf54/attachment-0003.htm>


More information about the JDev mailing list