Re: [xml] parsing error (again)



On Thu, Oct 20, 2005 at 05:32:23PM +0200, nico wrote:
i'm doing exactly the same code as shown in xpath1.c examples

this bug always appear after 1or 2 or 3 parsing....
can someone give me a point to look?

 6   libxml2.2.dylib             0x8084edac xmlInitParser + 0x68
 7   libxml2.2.dylib             0x8084e62c xmlSAXParseFileWithData + 0x34

i'm running libxml2 on os x system.

  So you're calling xmlInitParser() each time you parse a file, I guess
you called xmlCleanupParser() each time too !
The file you copy and pasted says:

      /* Shutdown libxml */
      xmlCleanupParser();

read the doc for xmlCleanupParser !

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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