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 reading ofx file #15

Open
taihuapp opened this issue Mar 12, 2018 · 3 comments
Open

Problem reading ofx file #15

taihuapp opened this issue Mar 12, 2018 · 3 comments

Comments

@taihuapp
Copy link

I'm new to ofx4j. I'm trying to follow the logic in TestNanoXMLOFXReader.java to parse ofx files. But when there are more than one STMTTRN aggregate in the file, the DefaultHandler in TestNanoXMLOFXReader drops all STMTTRN except the very last one. It seems that it is because of the usage of TreeMap structure to keep track of the aggregate information. I think using a List instead of TreeMap to keep track the aggregate information would fix the problem. Or maybe there is some other way to parse ofx files?

@stoicflame
Copy link
Owner

Okay, thanks for the report. You're welcome to put together a pull request for consideration.

@taihuapp
Copy link
Author

taihuapp commented Mar 12, 2018 via email

@stoicflame
Copy link
Owner

Fix proposed at #16

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