mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-10 00:08:48 +00:00
EFA: Ignore new <optval>, <gix> and <prid> elements in mobile XML API.
This commit is contained in:
parent
4b6751931b
commit
b2a1f94e55
1 changed files with 3 additions and 0 deletions
|
@ -1843,6 +1843,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
{
|
||||
final String co = XmlPullUtil.valueTag(pp, "co");
|
||||
final String productType = tyOrCo ? ty : co;
|
||||
XmlPullUtil.optValueTag(pp, "prid", null);
|
||||
final String destinationName = normalizeLocationName(XmlPullUtil.valueTag(pp, "des"));
|
||||
destination = new Location(LocationType.ANY, null, null, destinationName);
|
||||
XmlPullUtil.optValueTag(pp, "dy", null);
|
||||
|
@ -2927,7 +2928,9 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
XmlPullUtil.valueTag(pp, "d"); // duration
|
||||
final int numChanges = Integer.parseInt(XmlPullUtil.valueTag(pp, "ic"));
|
||||
final String tripId = XmlPullUtil.valueTag(pp, "de");
|
||||
XmlPullUtil.optValueTag(pp, "optval", null);
|
||||
XmlPullUtil.optValueTag(pp, "alt", null);
|
||||
XmlPullUtil.optValueTag(pp, "gix", null);
|
||||
|
||||
XmlPullUtil.enter(pp, "ls");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue