[JDEV] Flash 5's XMLSocket vs Jabber 1.2
mass at ufl.edu
Mon Oct 16 09:44:13 CDT 2000
I think the person who wrote XMLSocket had very little clue how XML
workeed above the basic markup. It appears to be an incremental parser
that will *only* give events on document end, and generates XML
documents on the sending pipe deliminated by a null character.
Someone at macromedia deserves a flogging, anyone close to their
Thomas Charron wrote:
> Quoting Oliver George <oliver at littledevil.com.au>:
>> Problem 1: Null characters...
>> null characters are sent between each transmission from the client. This
>> causes the server to crash. My question is: should jabber client stream be
>> tolerant to null characters (ie. 0x00).
>> If the server can't be made to tolerate this then i would probably need an
>> interface socket which reads from the flash client, translates (removes
>> nulls) and sends to the server. This is bad because i now have 3 sockets
>> open for a single connection.
>> Just to emphasise this problem here is a ngrep dump of my flash client
>> sending a message to the server. Notice the 00 which trails the
> Are NULL chars even LEGAL in UTF-8? Why are the null characters there? Does
> Flash add them in for some reason?
> Thomas Charron
> << Wanted: One decent sig >>
> << Preferably litle used >>
> << and stored in garage. ?>>
> jdev mailing list
> jdev at jabber.org
More information about the JDev