Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-10 Thread Daniel Veillard
to repository version is applied attached patch mingw-20100310.patch : - include/libxml/xmlexports.h (fatal) to restore export decoration otherwise xsltproc and xmlsec crash credits to ? (another thread) - libxml.h (important) idea is to define LIBXML_STATIC for static build credits

[xml] htmlCheckEncoding doesn't update input-end after shrink

2010-03-10 Thread Eugene Pimenov
Hello! htmlCheckEncoding has missing input-end update, so when buffer is relocated it could parse html data twice. A program that reproduces that case is attached. It's weird it copies memory buffer though. Maybe we should mark buffer that are not supposed to shrink/grow with a flag?

Re: [xml] htmlCheckEncoding doesn't update input-end after shrink

2010-03-10 Thread Daniel Veillard
On Wed, Mar 10, 2010 at 01:27:47PM +0300, Eugene Pimenov wrote: Hello! htmlCheckEncoding has missing input-end update, so when buffer is relocated it could parse html data twice. A program that reproduces that case is attached. Ah right, good catch, patch is right ! Patch applied thanks

[xml] Shell and write command

2010-03-10 Thread el barto
Hello, May be I am wrong but the 'write' command of the shell seems not to work because the 'node' parameter is always NULL: int xmlShellWrite(xmlShellCtxtPtr ctxt, char *filename, xmlNodePtr node, xmlNodePtr node2 ATTRIBUTE_UNUSED) { if (node == NULL) return (-1); // ...

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-10 Thread Roumen Petrov
Daniel Veillard wrote: On Fri, Oct 23, 2009 at 12:09:19AM +0300, Roumen Petrov wrote: Daniel Veillard wrote: On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: Matthias Jung wrote: [SNIP] My suggestion as long -M ld option is not clear ;-) VERSION_SCRIPT_FLAGS= $($LD --help 21 |

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-10 Thread Roumen Petrov
Roumen Petrov wrote: Daniel Veillard wrote: On Fri, Oct 23, 2009 at 12:09:19AM +0300, Roumen Petrov wrote: Daniel Veillard wrote: On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: Matthias Jung wrote: [SNIP] My suggestion as long -M ld option is not clear ;-)