Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,12 @@ public ChoiceReader(DataChoice choice) {
int i = 0;
for (DataComponent item : choice.getItemList())
itemIndexes.put(item.getName(), i++);

try {
xmlStreamReader.next();
} catch (XMLStreamException ignored) {

}
}

@Override
Expand All @@ -327,7 +333,6 @@ public int process(DataBlock data, int index) throws IOException {
// delegate to selected item processor
index = super.process(data, index, selectedIndex);

xmlStreamReader.next();
} catch (XMLStreamException e) {
throw new IOException(e);
}
Expand Down
Loading