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

Problem with ampersand character "&" when importing ofx-file #35

Closed
Qaaqqo opened this issue Oct 26, 2017 · 3 comments
Closed

Problem with ampersand character "&" when importing ofx-file #35

Qaaqqo opened this issue Oct 26, 2017 · 3 comments

Comments

@Qaaqqo
Copy link

Qaaqqo commented Oct 26, 2017

Dear ccavanaugh,

when importing an ofx-file containing an ampersand character "&" in the name field of a transaction this transaction and all other below are not imported/ proposed to import.

Here you find a corresponding test file: bank2.ofx.zip

I use jgnash 2.33.1 with Oracle Java 8 on Linux.

Is it a bug?

Thanks for your support!

Qaaqqo

@ccavanaugh
Copy link
Owner

The supplied file is a bit mangled in that I would expect a line break after the &. This will cause some confusion with the SGML to XML parser.

<NAME>To Share xx &<MEMO>Withdrawal Transfer Home Banking

vs.

<NAME>To Share xx &
<MEMO>Withdrawal Transfer Home Banking

Is the lack of the line break actual data or a typo from hand editing a sample? I want to make sure I'm not chasing ghosts.

Thanks!

@Qaaqqo
Copy link
Author

Qaaqqo commented Oct 27, 2017

The problem occurs even with a line break after the "&".

The problem does not occur without the "&" but without line break before the MEMO-Tag.

Thus the problem seems to be the "&" character (or some broader parsing or encoding problem).

Best wishes

@ccavanaugh
Copy link
Owner

The soon to be released 2.33.2 version of jGnash will correctly handle the & symbol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants