Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.6
-
Using Vysper for creating XMPP client based on Java NIO.
Description
When receiving a large Stanza, some of the XML tokens
are not parsed properly. Specifically, tag names gets broken (i.e. instead of "<item ...>" i see "<tem ...>").
The XMLTokenizer does not keep state across two different IoBuffers that the XMLParser is parsing during stanza decoding.
It currently only keeps the last position in the tokenized IoBuffer, but when a new IoBuffer is tokenized,
the previous partial token content is lost.