Following some of the changes suggested in the previous mail, I was able to
parse data as required. However, I have come across a strange problem when
using the stream parser. In relation to the split chunks that I was trying to
handle, I have observed a difference in behavior.
If Portion A is '<chunk><n v="0"/><n ' and, portion B is 'v="0"/></chunk>',
then the stream parsing succeeds.
If Portion A is '<chunk><n v="0"/><n' and, portion B is ' v="0"/></chunk>',
then the stream parsing fails reporting expat error (Invalid token).
The position of the SPACE character seems to affect the behavior. I have
attached a simple example to demonstrate the issue. The issue is reported as an
expat error, I hope you can throw some light on the matter. Kindly let me know
your thoughts on the issue.