[JDEV] existing protocol questions

Thomas D. Charron tcharron at my-deja.com
Sat Jul 31 13:55:26 CDT 1999


  Using CDATA within a message could also work, becouse as you stated, CDATA would not be touched.  This method could be used if you where to be transfering completely nonXML data, but the ext tags are specifically build to extend on the XML tag structure.  Basically, it's a nice place we decided to say 'Go house here'..  Also, IMHO, makes it easier to manage the protocol, knowing that no one should be screwing with what's in the standardized tags..
---
Thomas Charron

On Fri, 30 Jul 1999 15:11:22   Lindsay.Marshall wrote:
>>>4.
>>>	How does the message extension work? What is its intended usage?
>> 
>>   You mean the <ext></ext> ?  Can be used for anything one deems fit.  I could actually send
>> you a raw text file, contained within the ext tags..  The server/transports won't touch it, and
>> will just pass it along.  It's a way to piggyback any data someone may want to pass along with a
>> jabber packet without having to make ANYTHING aware of it..  Heck, eventually someone will probrably
>> make a checkers game by passing move data between clients via the ext tag..
>
>Um, surely the server transports wont touch *any* CDATA anywhere! At
>least I hope they won't! Except of course where they have to handle
>escaped character sequences which always get in the way. So why is ext
>different from (say) <say></say>???
>
>L.
>-- 
>http://catless.ncl.ac.uk/Lindsay
>
>


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.



More information about the JDev mailing list