I want to parse multiple documents from a socket stream. The xercesc SAXParser issues 
a "fatalError" when it finds anything past the end of the first root node in its 
buffer.

I have written an extension to BinInputStream to use a socket. This stream does a 
non-blocking "recv" and simply returns 0 when the "recv" thinks there is no data to 
read. The SAXParser is happy with this unless my BinInputStream returns more than one 
document in the "readBytes" call.

Is there a way to tell the parser to either a) parse multiple documents inside the 
same buffer from a "readBytes" call
or b) to tolerate multiple root nodes and just plow ahead?

thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to