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

2008-04-11 Thread Ralf Junker
At 15:05 11.04.2008, Daniel Veillard wrote: > actually no, the parser computed the lenght at some point for example >when interning the string. Thanks for clearing this up. I was under the impression that I must have missed something obvious. > Have you actually tried to do a fine grained ana

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

2008-04-11 Thread Daniel Veillard
On Fri, Apr 11, 2008 at 01:10:01PM +0300, Andrew W. Nosenko wrote: > On Fri, Apr 11, 2008 at 8:58 AM, Ralf Junker <[EMAIL PROTECTED]> wrote: > > I need the length to pass it to other functions which do not work on > > #0-terminated, but length-terminated string functions. actually no, the pars

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

2008-04-11 Thread Andrew W. Nosenko
On Fri, Apr 11, 2008 at 8:58 AM, Ralf Junker <[EMAIL PROTECTED]> wrote: > 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

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] 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