Re: [libxml++] problem with SAX_parser on_character fonction



On Fri, Apr 30, 2004 at 11:38:33AM +0200, LARRODE Xavier (DR&T) wrote:
> Hi,
> 
> Is it normal that sometimes, for the same Element, the on_character
> function is called 2 times?
> Can i force the parser to call it explicitly one time?

  No. One of the goal of SAX is to be able to operate on bounded memory.
One of the side effect is that very large sections of character data
may be reported as sequences of characters() callbacks.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




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