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!?



Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine
xml mailing list, project page
xml gnome org

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