[
https://issues.apache.org/jira/browse/IO-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton resolved IO-258.
--------------------------------
Resolution: Fixed
Fixed:
http://svn.apache.org/viewvc?view=revision&revision=1052161
> XmlStreamReader consumes the stream during encoding detection
> -------------------------------------------------------------
>
> Key: IO-258
> URL: https://issues.apache.org/jira/browse/IO-258
> Project: Commons IO
> Issue Type: Bug
> Components: Streams/Writers
> Affects Versions: 2.0
> Reporter: Niall Pemberton
> Assignee: Niall Pemberton
> Fix For: 2.1
>
>
> XmlStreamReader reads the underlying InputStream to try and detect the
> encoding. However once that process is done the bytes read from the stream
> should still be available to be read - this was accidentally broken in
> r1004882 by creating the underlying reader with the original InputStream,
> rather than the wrapped streams used to detect encoding.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.