[JDEV] Flash 5's XMLSocket vs Jabber 1.2

dlb semiotics at worldnet.att.net
Mon Oct 16 20:02:45 CDT 2000


to my knowledge F5's parser is a watered down implementation of expat -which is
a "stream" parser.  The F5 parser doesn't behave like a stream parser though - it seems

to require receipt of the full doc or null termination before parsing -though this may
be an
illusion wherein parsing actually is event driven ,but the result isn't yielded  'til
completion .

The null terminator may also have been implemented to avoid F5's maximum processing
interval
(app. 15 sec.) - I'll try to find out.

>
>
> I believe that Flash is using the SAX model. Most flash code
> "streamed", meaning it is processed as it is received.

...

> It is possible that the "null terminator" is a shortcut to
> determine end-of-tag (instead of actually searching for the
> end-of-tag).
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20001016/98880784/attachment-0002.htm>


More information about the JDev mailing list