One of the reason we discussed with Bernd during ApacheCon was that I needed a 'smart' XML parser, and Vysper obviously has one. The problem I had was that all the Java XML parsers I know of aren't able to stop parsing in the middle of a tag and start again without complaining with a hell lot of Exceptions.
For instance, if you receive "<ta" when the full tag is "<tag>", then the parser will complain. I would expect the parser to simply returns, storing the current state somwhere, and restart smoothly when the next few bytes are received. Maybe this 'smart' statefull parser exist however... So let's suppose it does not exist : we need to extend some existing parser in order to accept the inherently fragmented nature of TCP messages. Otherwise, you have to do what Vysper does : pre-parse, heading for the closing '>', expecting that the user didn't encapsulate any comments in its XML file ! Is this too much to ask for? Is there a java XML parser already wirking the way I want it to work ? If so, please tell me ! Otherwise, we might want to extend xerces, or something like XPP3 (http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html) wdyt ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com