Re: Large data sets (Expat v2.0.0; compiled cygwin)

"Mark Williams" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.