Re: [xml] Schema caching

2009-10-19 Thread Daniel Veillard
On Mon, Oct 19, 2009 at 05:13:50PM +0200, Hotmail wrote: > Hello, > > Does libxml2 have XML Schema/grammar caching? For example: load 1.xsd once > and from now on test incoming XML instances against the cached and parsed > schema. an xmlSchemaPtr can be reused as many time as you need. Somehow

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

2009-10-19 Thread Daniel Veillard
On Mon, Oct 19, 2009 at 03:19:15PM +0200, Matthias Jung wrote: > Hi all, > on sparc solaris ./configure.in sets VERSION_SCRIPT_FLAGS to "-Wl,-M > -Wl," no matter which compiler/linker is used. > Unfortunately gnu gcc/ld does not like -M option for symbol files, which > causes a build using gcc

Re: [xml] libxml - core dump with xmlParseFile on a 50 Mo XML file

2009-10-19 Thread Daniel Veillard
On Fri, Oct 16, 2009 at 10:13:02AM +0200, BARDET Florian wrote: > Hi all > > I have a little problem with the xmlParseFile function. The XML I want to > parse is a 50 Mo size file and when I use "xmlParseFile" on this file, I have > a core dump. Does anyone know if there's a bug or a limit size

[xml] libxml - core dump with xmlParseFile on a 50 Mo XML file

2009-10-19 Thread BARDET Florian
Hi all I have a little problem with the xmlParseFile function. The XML I want to parse is a 50 Mo size file and when I use "xmlParseFile" on this file, I have a core dump. Does anyone know if there's a bug or a limit size for the XML? Thanks Cordialement, Florian BARDET Ingénieur d'étude Swor

[xml] Schema caching

2009-10-19 Thread Hotmail
Hello, Does libxml2 have XML Schema/grammar caching? For example: load 1.xsd once and from now on test incoming XML instances against the cached and parsed schema. Tx, Yaron. ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org ht

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

2009-10-19 Thread Matthias Jung
Hi all, on sparc solaris ./configure.in sets VERSION_SCRIPT_FLAGS to "-Wl,-M -Wl," no matter which compiler/linker is used. Unfortunately gnu gcc/ld does not like -M option for symbol files, which causes a build using gcc to fail. Instead good old "--version-script=" is expectd here. Any idea