The most obvious thing is that you have an error in your callback handlers,
assuming you are using SAX and not DOM. If so, comment out all of your code
that accepts the XML data so that it doesn't do anything, removing that
possible source of memory corruption, and try it again.

--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]



-----Original Message-----
From: Ravindra Shet [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 9:35 AM
To: [EMAIL PROTECTED]
Subject: InputSource object gets corrupted!


Hi,

I am using a MemBufInputSource object, for setting up the
EntityResolver, for the DTD handling. I noticed that this object's
fSrcByte member, gets corrupted after a single parse( either nil or some
arbit value, depend on the setting of the setCopyToBufStream setting )
and there is a crash after the first parse.

Can anyone help me in reusing the entity resolver object without, having
to recreate it?

Also, if I recreate the object for each pass, i am not able to delete
the object, which the debugger reports to have already been freed and
still, the heap analyser shows a 12 byte leak.

Thank you.

RaviShet



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to