Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #163: Regression: encoding error when parsing a ISO-8859-1 xml #164

Merged
merged 1 commit into from Aug 26, 2021

Conversation

belingueres
Copy link
Contributor

  • Fixed code.
  • Added tests.

…ISO-8859-1 xml

- Fixed code.
- Added tests.
@olamy olamy added the bug label Aug 9, 2021
MXParser parser = new MXParser();
parser.setInput( reader );
while ( parser.nextToken() != XmlPullParser.END_DOCUMENT )
;
Copy link
Member

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 )
;
Copy link
Member

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 :) )

@olamy olamy merged commit bb346ad into codehaus-plexus:master Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants