Re: [xml] xmlParseChunk problem



On Sat, 2002-03-02 at 14:35, Daniel Veillard wrote:
On Sat, Mar 02, 2002 at 02:05:18PM +0000, Martyn Russell wrote:
I am using xmlParseChunk with xmlCreatePushParserCtxt for the context. 
This works fine for the first piece of streamed information from a
jabber server (as below):

  Make sure you correctly set the terminate last arg of the first call
to 0, not 1

So do I only use xmlCreatePushParserCtxt ONCE at the begining? or can i
create a new version everytime I want to parse data?

Also, I always set the terminate last arg to 0!?

Martyn


Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]