Skip to content

Erroneous exception on any non-character stream InputSource parsing #3

@a-s-nikolaichuk

Description

@a-s-nikolaichuk

When calling EdifactParser.parse(InputSource inputSource) with inputSource, which is created not from character stream (byte stream in my case), reader initialization is done correctly but then there is a strange line of code with exception being thrown, which fails parsing process.
I assume it is a typo, that this line of code exists, because there is no execution path in if-else cases above that leads to reader being not initialized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions