Fixes #163: Regression: encoding error when parsing a ISO-8859-1 xml by belingueres · Pull Request #164 · codehaus-plexus/plexus-utils (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Merged
merged 1 commit into
Aug 26, 2021
Conversation
- Fixed code.
- Added tests.
…ISO-8859-1 xml
- Fixed code.
- Added tests.
| MXParser parser = new MXParser(); |
|---|
| parser.setInput( reader ); |
| while ( parser.nextToken() != XmlPullParser.END_DOCUMENT ) |
| ; |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit I would prefer nothing rather than this (maybe only me but looks weird this :) )
| MXParser parser = new MXParser(); |
|---|
| parser.setInput( input, null ); |
| while ( parser.nextToken() != XmlPullParser.END_DOCUMENT ) |
| ; |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit I would prefer nothing rather than this (maybe only me but looks weird this :) )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})