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

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

olamy

merged 1 commit into

Aug 26, 2021

Conversation

@belingueres

@belingueres

…ISO-8859-1 xml

olamy

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

Labels

2 participants

@belingueres @olamy