[jdev] my own xml in body tag
Ralph Meijer
jabber.org at ralphm.ik.nu
Sun May 15 07:08:23 CDT 2005
On Sun, May 15, 2005 at 01:55:19PM +0200, Ulrich Staudinger wrote:
>
> >if I've well understood, this is the best way to do it. (even if I
> >can't find the spec about the <x> tag ;-) I have to search more... )
> >
> Yes, any other tag may be transported inside the message tag, as long as
> they have a fully qualified namespace [
> http://www.ietf.org/rfc/rfc3921.txt ]:
>
> <xs:complexType>
> <xs:sequence>
> <xs:choice minOccurs='0' maxOccurs='unbounded'>
> <xs:element ref='subject'/>
> <xs:element ref='body'/>
> <xs:element ref='thread'/>
> </xs:choice>
> <xs:any namespace='##other'
> minOccurs='0'
> maxOccurs='unbounded'/>
> <xs:element ref='error'
> minOccurs='0'/>
>
>
>
> But do yourself a favor and put things inside an x-tag.
As you can see from that same snippet, there is no mention
of having to call such an element 'x'.
> Not the specs but ok [ http://www.oreilly.de/catalog/jabber/chapter/ ]:
Yes, this book is, although well-written, not authoritive and written
well before XMPP even existed. Let's stick to facts/standards, please!
--
Groetjes,
ralphm
More information about the JDev
mailing list