On 12/29/10 3:13 PM, Bernd Fondermann wrote:
On 29.12.10 15:09, Ashish wrote:
On Wed, Dec 29, 2010 at 7:34 PM, Niklas Gustavsson<[email protected]> wrote:
On Wed, Dec 29, 2010 at 2:44 PM, Ashish<[email protected]> wrote:
I managed to get hold of the implementation for a simple XML Decoder
that we discussed on ML long ago.

Its not the most sophisticated one, but will give an idea of how to
implement one :)

Does it handle streaming XML or complete XML messages? How does it
compare with the implementation we got in Vysper?

Its a dumb xml parser meaning it extends CumulativeProtocolDecoder and
looks for start and end tag to complete
the XML message. Its doesn't have a lot of error handling :(

How does it compare to nbxml? Did you take a look at it?

http://svn.apache.org/repos/asf/mina/vysper/trunk/nbxml/

Just wondering, as it one of the reason Vysper joined MINA three years ago - remember when we were at Amsterdam and I asked you if Vysper, then a Labs project, was supporting XML fragmentation ? -, is this XML parser support being interrupted just in the middle of a tag if we haven't received the full bytes, and if it's able to start again when the remaining bytes are there ?

If so, I think such a XML parser deserves to be part of MINA, to be used by all the users who want to parse some XML over TCP...


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to