Re: [gdome] question about bench.c



> > In this program, the domdoc is obtained, then its pointer is passed to a 
> > traversal routine that outperform the traversal of the tree, after doing a 
> > pointer cast to a GdomeElement.
> 
> this was clearly a bug in bench.c which has been fixed (by me) at the
> end of 2003. Since then, I can't recall any major fix or enhancement
> that justified a new release of gdome2, so the fix in bench.c never made
> it out of the CVS repository.
> 
> Maybe it's time for a 0.8.2... ;-)
> 

Ok. Obviously, calling doc_documentElement and working on the obtained element 
skips the printing of the root element, since traversal asks for the 
firstChild and operates on the child.

I'm translating the code of the examples into fortran 90... how amusing 
activity :D
But the most interesting fact is that it works (or so it seems) :)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]