Skip to content

Conversation

@pdurbin
Copy link
Contributor

@pdurbin pdurbin commented Oct 21, 2014

By throwing a SwordError when org.apache.abdera.parser.ParseException is thrown from parser.parse(entryPart) I'm able to handle the exception in my application code, as explained in this ticket:

Fix Abdera ArrayIndexOutOfBoundsException with non-existent atom-entry-study.xml in SWORD jar (upstream ideally) · Issue #893 · IQSS/dataverse - IQSS/dataverse#893

In case it's not obvious from the commit message or the title of this pull request, the bug I'm trying to fix on the SWORD library side is this one:

feeding an empty Atom entry file to CollectionAPI.post results in org.apache.abdera.parser.ParseException: java.lang.ArrayIndexOutOfBoundsException · Issue #6 · swordapp/JavaServer2.0 - #6

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

Successfully merging this pull request may close these issues.

1 participant