Skip to content

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

New issue

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

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

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants