Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - SAX multiple calls to characters() [Thread Next] Re: SAX multiple calls to characters()To: NULL Date: 8/3/2006 9:44:00 AM * metzger@r... wrote in comp.text.xml: >I am using the function listed below to handle characters events in >SAX. It does not handle multiple sequential calls to this function >correctly. Then you need to change that. It is normal for SAX processors to call the characters() callback multiple times, you have to design your code so it can handle that. One option here is to simply buffer the data and process it when all data has been accumulated (e.g., when the endElement callback is called). -- Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
