mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-09 13:48:47 +00:00
AbstractEfaProvider: Ignore new <ers> element in mobile XML API.
This commit is contained in:
parent
ac27ae7793
commit
b11dba1ea2
1 changed files with 1 additions and 1 deletions
|
@ -409,9 +409,9 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
final XmlPullParser pp = parserFactory.newPullParser();
|
||||
pp.setInput(body.byteStream(), null); // Read encoding from XML declaration
|
||||
final ResultHeader header = enterEfa(pp);
|
||||
XmlPullUtil.optSkip(pp, "ers");
|
||||
|
||||
final List<SuggestedLocation> locations = new ArrayList<>();
|
||||
|
||||
XmlPullUtil.require(pp, "sf");
|
||||
if (XmlPullUtil.optEnter(pp, "sf")) {
|
||||
while (XmlPullUtil.optEnter(pp, "p")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue