Re: [NTLK] ntox for a new Jabber Client?

From: Eckhart Köppen (eck1001_at_gmx.net)
Date: Thu Jan 23 2003 - 17:34:52 EST


On Thursday, January 23, 2003, at 07:51 , eschneck_at_mindspring.com wrote:
> The problem with both clients is that the Jabber server sends a large
> packet of XML data, which the Newton internet stack breaks up into
> several=
>
> smaller packets=2E These packets need to be assembled before parsing
> them,

If you set up your input script so that it always reads up to a ">",
parsing is much easier. NTox can however parse arbitrary chunks of XML
data. It has no lookahead, you can feed it one byte at a time and still
get the callbacks called.

Eckhart

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html
Official Newton FAQ: http://www.chuma.org/newton/faq/



This archive was generated by hypermail 2.1.2 : Sun Jan 26 2003 - 04:03:52 EST