[JDEV] Flash support in the server (was: JNG Ramblings.)

Matthias Wimmer m at tthias.net
Fri Aug 9 15:32:16 CDT 2002


Hi Ben!

Ben Schumacher wrote:

>><OT>
>>What is the Flash support in the Jabber server for? We havn't needed
>>something special.
>></OT>
>>    
>>
>Actually, you did, but you were probably just lucky and got to take
>advantage of the transparent Flash support that is in the open source
>server code. Basically, its like this, Flash's XMLSocket class won't let
>you send XML with open tags (so no <stream:stream>) without some hacking.
>In addition, it tags a NULL onto the end if every piece of XML it sends.
>Obviously, the protocol doesn't support a closed tag at the beginning of a
>streamed document, and (IIRC) expat gets upset with that NULL character
>when parsing XML (and I think it would disconnect the client).
>  
>
Thanks for this information. I sent the <stream:stream> element not as 
XML node but as string. - I didn't notice the \0 byte but maybe I sent 
it and the server stripped it. :)

Tot kijk
   Matthias

-- 
Fon: +49-700 77007770		http://matthias-wimmer.de/
Fax: +49-89 312 88654		jabber://mawis@charente.de





More information about the JDev mailing list