>>>> 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/
Yup I did looked at it. My implementation is even dumber than this :( The idea here is put an example so that people can implement their own XML decoder's. It just gives them an idea :) Want to keep example simple enough with min number of classes and provide pointers to more sophisticated implementations like the one with Vysper. We do have plans to have a generic XML codec in MINA, but nothing solid as of now Here is one of my earlier attempt at using an existing XML parser for the same http://mina.markmail.org/thread/kn3u46l5hps2djj6 - ashish
