Re: [xml] Length xmlTextReaderConst... contents?

2008-04-10 Thread Ralf Junker
At 17:42 10.04.2008, Andrew W. Nosenko wrote: >Sorry for question, but I'm curious why you need strlen()?.. I would >to expect strcmp() rather... I need the length to pass it to other functions which do not work on #0-terminated, but length-terminated string functions. Ralf _

Re: [xml] xmlRead Memory

2008-04-10 Thread Adiel Mittmann
Hi! Did you try to valgrind it? Just to be on the safe side :) -- Adiel Mittmann ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

[xml] xmlRead Memory

2008-04-10 Thread Arthur Johnson
I have compiled a shared library in another application and I am using libxml2-2.6.30 library functions in the shared lib to help parse in-memory XML. Following is the Makefile I used for compiling the shared lib: = GCCLIBPATH=/usr/local/lib:/opt/ar/sdi

Re: [xml] Length xmlTextReaderConst... contents?

2008-04-10 Thread Andrew W. Nosenko
On Thu, Apr 10, 2008 at 6:28 PM, Ralf Junker <[EMAIL PROTECTED]> wrote: > Hello Group! > > When I parse huge (several GB) XML files with xmlTextReader, I use the > "xmlTextReaderCont..." family of functions to retrieve various text contents, > for example: > > xmlTextReaderConstName() > xmlT

[xml] Length xmlTextReaderConst... contents?

2008-04-10 Thread Ralf Junker
Hello Group! When I parse huge (several GB) XML files with xmlTextReader, I use the "xmlTextReaderCont..." family of functions to retrieve various text contents, for example: xmlTextReaderConstName() xmlTextReaderConstValue() >From the documentation I conclude that the "const" functions gr

Re: [xml] accessing Parser-Ctxt in SAX based schema validation

2008-04-10 Thread Holger Kaelberer
Hi Daniel. Daniel Veillard wrote: But what do I set my state->ctxt to (supposed to be a xmlParserCtxtPtr) as I don't have the parser-Ctxt of the parsed xml-file? I first thought of passing the xmlSchemaValidCtxtPtr and than using vctxt->parserCtxt in my SAX-handler, but that does not work a

Re: [xml] Release of libxml2-2.6.32

2008-04-10 Thread Daniel Veillard
On Wed, Apr 09, 2008 at 11:44:03PM +0300, Roumen Petrov wrote: > But orig/rej-files are for directories without Makefile.am and dist-hook > from root Makefile.am add whole content of passed to tar command > directory list. > May be cleanup makefile target has to remove more file patterns or to >

Re: [xml] Release of libxml2-2.6.32

2008-04-10 Thread Tim Van Holder
On 2008-04-09 22:44, Roumen Petrov wrote: > But orig/rej-files are for directories without Makefile.am and dist-hook > from root Makefile.am add whole content of passed to tar command > directory list. > May be cleanup makefile target has to remove more file patterns or to > control distribution