[JDEV] xml delimiter

Max Horn max at quendi.de
Mon Oct 16 04:18:41 CDT 2000


At 15:20 Uhr +0800 16.10.2000, rdeng wrote:
>Hi, I am sending this email from Sttarfire.com(Singapore).
>currently we are setting up jabber server and try to write
>a jabber client for chating. What is the delimiter for jabber
>server to separate one XML message from another in the
>input message stream in socket ?
>
>my email: rdeng at sttarfire.com
>
>Your input is greatly appreciated !
>

Roger,


there is no delimeter between the XML messages, since there is no need for one!

Remember, we use XML, so the parser can clearly seperate message blocks.

A typical excerpt from a stream could look like this:

...
<message from="rogger at rabbit.com"><body>I love carrots!</body></message>
<message from="bill at microsoft.com"><subject>World 
Domination</subject><body>You will be assimilated!</body></message>
...



HTH,

Max
-- 
-----------------------------------------------
Max Horn
International C/C++/Internet Development

email: <mailto:max at quendi.de>
   web: <http://www.quendi.de>
phone: (+49) 2621-188947




More information about the JDev mailing list