mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 09:29:49 +00:00
EFA: Ignore new <gid> and <trainType> elements in mobile XML API.
This commit is contained in:
parent
8fc218c8d9
commit
9fd1ccb1dd
1 changed files with 2 additions and 1 deletions
|
@ -1705,6 +1705,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);
|
||||
XmlPullUtil.optValueTag(pp, "trainType", null);
|
||||
final String destinationName = normalizeLocationName(XmlPullUtil.optValueTag(pp, "des", null));
|
||||
destination = destinationName != null ? new Location(LocationType.ANY, null, null, destinationName) : null;
|
||||
XmlPullUtil.optValueTag(pp, "dy", null);
|
||||
|
@ -2684,7 +2685,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
final String name = XmlPullUtil.valueTag(pp, "n");
|
||||
final String usage = XmlPullUtil.valueTag(pp, "u");
|
||||
XmlPullUtil.optValueTag(pp, "de", null);
|
||||
|
||||
XmlPullUtil.optValueTag(pp, "gid", null);
|
||||
XmlPullUtil.requireSkip(pp, "dt");
|
||||
|
||||
parseMobileSt(pp, plannedTimeCal, predictedTimeCal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue