Re: [xml] getting the output of string() in the xmllint shell

2019-12-21 Thread Gökçe Aydos
On 2019-12-21 09:28, Daniel Veillard wrote: > On Fri, Dec 20, 2019 at 12:46:23PM +0100, Gökçe Aydos wrote: >> I use xmllint in my command-line scripts. The default mode of xmllint >> does not support namespaces, so when I must deal with XML files with >> namespaces I use the --shell mode of xmllint

Re: [xml] getting the output of string() in the xmllint shell

2019-12-21 Thread Daniel Veillard via xml
On Fri, Dec 20, 2019 at 12:46:23PM +0100, Gökçe Aydos wrote: > I use xmllint in my command-line scripts. The default mode of xmllint > does not support namespaces, so when I must deal with XML files with > namespaces I use the --shell mode of xmllint. That sounds ... wrong > I noticed that the

Re: [xml] Memory leak problem

2019-12-21 Thread Daniel Veillard via xml
Hi Eric, sorry, I'm very late to the thread, but in case you still have issues: 1/ yes xmlFreeDoc is the right way to free the whole memory of the document, you may be missing freeing other bits left and right if you don't use it 2/ you can debug memory allocation by running valgrind