From: Daniel V. <vei...@re...> - 2004-04-30 13:06:04
|
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/ vei...@re... | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ |