Re: [xml] Release candidate 1 of libxml2 2.8.0

2012-07-23 Thread Liam R E Quin
On Wed, 2012-05-16 at 00:16 +0200, Michael Ludwig wrote: ./testapi.exe This tests gets firewalled by the W3.ORG servers, I checked using netstat. So I interrupted it. The source file testapi.c is huge. Is there an easy way to instruct the program not to go the W3.ORG servers like with

Re: [xml] The issue around LoadLibrary on Windows

2012-07-23 Thread Patrick Gansterer
On Wed, 23 May 2012 14:16:48 +0200, Bjoern Hoehrmann wrote: * Daniel Veillard wrote: C.f. the bug Fix windows unicode build https://bugzilla.gnome.org/show_bug.cgi?id=638650 and the previous discussions here: http://mail.gnome.org/archives/xml/2008-February/msg00094.html now that the

[xml] fix build of libxml with automake 1.12

2012-07-23 Thread Nitin A Kamble
Attached patch fixes build of libxml with automake 1.12 -- Nitin A Kamble www.yoctoproject.org Upstream-Status: Pending automake 1.12 has decpricated automatic de-ANSI-fication support this patch fixes this build issue: | configure.in:67: error: automatic de-ANSI-fication support has been

[xml] libxml2 memory leak problem

2012-07-23 Thread Amar Pol
Hi, i m using libxml2.7.3 to parse the xml data from buffer by using doc = xmlParseMemory(s.ptr, s.len); this is resulting in a memory leak, is there any fix on this issue. I found that xmlFetProp function returns malloced string and we have to explicitly free the memory. but this is not

[xml] xmlCleanupParser hangs

2012-07-23 Thread Aman Wardak
Hello, I'm parsing some XML files and using XPath and after going through each file, I'm cleaning up like this: if (xpathCtx) xmlXPathFreeContext(xpathCtx); if (doc) xmlFreeDoc(doc); xmlCleanupParser(); The program goes through this cycle for a few files until it

[xml] --with-zlib=DIR failing at runtime

2012-07-23 Thread Larry Irwin (Work/IMAP)
I have a system that has 2 instances of the zlib libraries. One is in the standard places used by openssh and other packages: -rw-r--r-- 1 root root 118212 Jul 8 2006 /usr/lib/libz.a lrwxrwxrwx 1 root root 9 Feb 11 2010 /usr/lib/libz.so - libz.so.1 lrwxrwxrwx 1 root root 13 Nov 2

[xml] libxml2 2.8.0 -- configure problem

2012-07-23 Thread Fred Smith
I'm attempting to run the configure script of libxml 2.8.0 on a Centos 5.8 system, and I keep getting this: config.status: creating include/libxml/Makefile config.status: creating doc/Makefile config.status: creating doc/examples/Makefile config.status: creating doc/devhelp/Makefile

[xml] Changing the content of a node

2012-07-23 Thread Marc Tajchman
Hi, I have an XML tree like this one: 1: ?xml version=1.0? 2: data 3: level1 4: some_text 5: level2 6: level32.5/level3 7: /level2 8: /level1 9: /data and I want to modify the content at level1 node, i.e. replace some_text by modified_text After using xmlNodeSetContent, the tree

Re: [xml] Trouble sending patch to the xml@gnome.org list

2012-07-23 Thread Daniel Veillard
On Thu, Jul 19, 2012 at 02:44:45PM -0400, Daniel Richard G. wrote: Hello list, I am trying to send a large-ish (about 40kB) patch to the list, with commentary, yet it does not seem to be making it through despite repeated attempts. Is there a policy regarding attachments that I'm not aware

Re: [xml] xmlNodeDump performance (Chang Im)

2012-07-23 Thread Daniel Veillard
On Mon, Jun 11, 2012 at 03:49:47PM +, Chang Im wrote: Thanks for your suggestion. Well taken and it makes sense for the entire tree dumping. The performance could matter even with a subtree case depending upon the size. I tried what Contrad suggested with xmlSetBufferAllocationScheme

Re: [xml] libxml2 2.8.0 -- configure problem

2012-07-23 Thread Earnie Boyd
On Mon, Jun 4, 2012 at 9:14 AM, Fred Smith wrote: I’m attempting to run the configure script of libxml 2.8.0 on a Centos 5.8 system, and I keep getting this: /bin/rm: cannot remove `libtoolT': No such file or directory Advice would be appreciated. You can ignore the error since it was

Re: [xml] Release of libxml2-2.8.0

2012-07-23 Thread Earnie Boyd
On Thu, May 24, 2012 at 3:28 PM, Gregg Smith wrote: Hello, wsockcompat.h line 44 should be #ifdef _MSC_VER not #ifNdef _MSC_VER, msvc needs those defines. Note _MSC_VER is only defined when building with MSVC. If other Windows compilers should use the definitions filtered by it then _WIN32

Re: [xml] The issue around LoadLibrary on Windows

2012-07-23 Thread Nikolay Sivov
On 7/23/2012 17:23, Earnie Boyd wrote: On Wed, May 23, 2012 at 8:30 AM, Patrick Gansterer wrote: On Wed, 23 May 2012 14:16:48 +0200, Bjoern Hoehrmann wrote: * Daniel Veillard wrote: C.f. the bug Fix windows unicode build https://bugzilla.gnome.org/show_bug.cgi?id=638650 and the previous

Re: [xml] The issue around LoadLibrary on Windows

2012-07-23 Thread Earnie Boyd
On Mon, Jul 23, 2012 at 11:33 AM, Nikolay Sivov wrote: On 7/23/2012 17:23, Earnie Boyd wrote: How would that ignore the UNICODE work? Defining UNICODE will cause the API to do different things. This define only controls macros so if you want LoadLibraryW nothing stops you to use it

Re: [xml] Trouble sending patch to the xml@gnome.org list

2012-07-23 Thread Daniel Richard G .
On Mon, 23 Jul 2012, Daniel Veillard wrote: Whoops, yes there is a 40KB limit and i didn't visited the mailman bounce page for a couple of months. I just did so so your mails should show up now along with other old mails, sorry ! Ah, that must have been a recent change then, as my first