"Michael Wojcik" <[EMAIL PROTECTED]> writes:

> > From: Hespelt, Steve (Exchange) [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 24, 2002 12:59 PM
> 
> [re receiving a document from a TCP socket]
> 
> > I used a callback (the BinInputStream object is the registered
> > callback object) strategy on the parsing of the top level tag so
> > when the parser was done seeing the entire XML document, the
> > callback notified the BinInputStream that there was no more need to
> > read & that object sets a flag that is checked inside readBytes()
> > prior to doing a read on the socket (option #2 below).  my
> > readBytes() blocks for a very short time & returns what it has
> > read.

Hey Tinny,

Would you be willing to receive this as a patch to incorporate the
TCPSocketInputSource as a standard input source for Xerces?

Just thinking that it's a generally useful idea.
jas.

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

Reply via email to