[Expat-discuss] Large data sets (Expat v2.0.0; compiled cygwin)

Mark Williams Mark.Williams at techop.co.uk
Wed May 16 10:10:24 CEST 2007


Hi Ben,

> Can someone help me with this code. It is trying to convert 
> an XML file of
> book data to tab-deliminated. Should be simple, but it seems 
> to mangle about
> 200 of the 10000 records I give it. 

This is a very common mistake.  Your character data handler is not
guaranteed
to get all the data between element tags in one go.  You need to
concatenate
the data until you see the end element tag.

To the whole list: Is there a FAQ for v2.0?  This really ought to go in
one.

Mark


More information about the Expat-discuss mailing list