I am working on a project that requires parsing of XML data that
comes from a socket stream. I want to feed an NSXMLParser object xml
data from my socket connection 1 byte at a time. Is this possible?
So far I have been receiving the socket stream data from a
NSFileHandle. I subscribe an object to receive the
NSFileHandleReadCompletionNotification and get the NSData item from
the notification. Then I initialize the XMLParser with the NSData.
Will the NSXMLParser be able to parse correctly if I give it xml data
1 byte at a time? This might mean that the data I feed the
XMLParser is cut in the middle of a tag or the contents.