Fix to address VYSPER-18. Modifications to XML parsing/handling in order to recognize and act on stream close events. This fix adds a closed flag to the XMLElementListener that allows the XMPPDecoder to determine when a stream is closed.

Additionally added a check to the XMLTokenizer that allows it to ignore whitespace when it is in the START state. This prevents is from buffering unnecessary whitespace characters. 

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1302264 13f79535-47bb-0310-9956-ffa450edef68
9 files changed