View Single Post
  #1 (permalink)  
Old 07-04-2007, 10:27 AM
Heather Heather is offline
Senior Member
 
Join Date: Jun 2007
Posts: 164
Heather is on a distinguished road
XML through a socket
I'm trying to parse XML thought a socket, but I'm running into a problem...I'm using the SAXParser to parse the data. The problem is that the parse method doesn't end until the inputstream is closed or the file ends. It seems the parser was made to read from a file. When an exception is thrown, the inputstream is closed, too. Is there a way to end the parse method without closing the inputStream and Socket?
Reply With Quote
Sponsored Links