On Wed, 2007-10-03 at 10:30 -0600, Peter Saint-Andre wrote: > That approach certainly seems cleaner from an XML standpoint (the > original stream is over, start a new one).
I wouldn't worry too much about this. The primary way we abuse XML is requiring endpoints to be able to process partial XML documents--you cannot use a full-document XML parser on an XMPP stream because you can't wait until the end of the document in order to respond. Given that, the ability to leave the stream unfinished and throw it away isn't much of a stretch.
