[jdev] my own xml in body tag

Natasha Live jabber.develop at ntlworld.com
Sun May 15 01:57:16 CDT 2005


Jeremy Nickurak wrote:

>On dim, 2005-05-15 at 08:25 +0400, Alexey Nezhdanov wrote:
>  
>
>>No. But you could include your own xml in properly namespaced x node:
>>
>><message to='...' type='chat' from='...'>
>>      <x xmlns='http:/some.your.na/mespace'>
>>          <game nbPlayers='10' />
>>      </x>
>></message>
>>    
>>
>
>Why not just:
>
><message to='...' type='chat' from='...'>
>     <game xmlns='http://some.your.na/mespace' nbPlayers='10' />
></message>
>
>  
>

Would that be legal xml if <game/> is not defined in jabber:server or 
urn:ietf:params:xml:ns:xmpp-stanzas namespaces?

Natasha Live



More information about the JDev mailing list