[jdev] my own xml in body tag
Trejkaz
trejkaz at trypticon.org
Sun May 15 06:11:05 CDT 2005
On Sun, 15 May 2005 19:55, Ulrich Staudinger wrote:
> Jeremy Nickurak schrieb:
> >Why not just:
> >
> ><message to='...' type='chat' from='...'>
> > <game xmlns='http://some.your.na/mespace' nbPlayers='10' />
> ></message>
>
> Because per definition/the specs free form tags are only allowed inside
> the X-tag.
Actually, anything element in any ##other namespace is allowed inside the main
message element. Because when you think about it, the "X" element is really
just some other element in another namespace... most of the time it's only
there to group a bunch of other elements together.
TX
--
Email: Trejkaz Xaoza <trejkaz at trypticon.org>
Web site: http://trypticon.org/
Jabber ID: trejkaz at jabber.zim.net.au
GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20050515/e65425d5/attachment-0002.pgp>
More information about the JDev
mailing list