Re: Expat occasionaly cropping multibyte character strings

Juraj Ivančić <[email protected]> Mon, 17 May 2010 23:13:37 +0200
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
On 15.5.2010 17:43, Karl Waclawek wrote:
> the way you describe it it is not a bug. Expat does not guarantee
> reporting the text between element tags as one string.
> It would be a bug if Expat broke a single multi-byte character up into
> one or more parts.

Yes, after further digging I found that character data handler must
be prepared to receive strings piece by piece. I (incorrectly) expected
that values will come complete similarly as it is done for element names
and attributes.

Sorry for the noise.