Fixes #163: Regression: encoding error when parsing a ISO-8859-1 xml by belingueres · Pull Request #164 · codehaus-plexus/plexus-utils

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@belingueres

Copy link

Contributor

  • 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

Reviewers

@olamy olamy olamy approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@belingueres @olamy