> Hello,
> I need to give the input data one buffer at a time to Xerces.
> I don't know in advance the length of the input data.
> I cannot give it all at once to Xerces either.
>
> I was thinking of deriving a "MyInputStream" from a BinInputStream and
> getting the data inside readBytes, but what is the "right" way to signal
the
> end of the data ?
>
> By returning 0 from readBytes (which is the length of available data, I
> gather) ? or by throwing an exception ?
>
> Thanks
> -- Jean-Marc


Return 0 from readBytes.



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

Reply via email to