On Mon, 1 Mar 2021, Tim Allison wrote:
detectors should return the stream reset to the beginning.

I agree - needs to be ready for the parser to then process

Parsers, IIRC, should return the stream fully(?) read but not closed.

Not always - if the parser wanted a File then it may not have touched the stream.

Equally if the parser can't handle the file (eg it starts reading, finds a version number that indicates it isn't able to handle it and gives up), then the stream won't be readu

Nick

Reply via email to