mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-10 13:48:49 +00:00
Bayern: Parse some value tags as optional.
This commit is contained in:
parent
9e3565b986
commit
51d92a61e1
1 changed files with 2 additions and 1 deletions
|
@ -481,6 +481,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
XmlPullUtil.enter(pp, "r");
|
||||
|
||||
final String id = XmlPullUtil.valueTag(pp, "id");
|
||||
XmlPullUtil.optValueTag(pp, "gid", null);
|
||||
XmlPullUtil.valueTag(pp, "stateless");
|
||||
XmlPullUtil.valueTag(pp, "omc");
|
||||
final String place = normalizeLocationName(XmlPullUtil.optValueTag(pp, "pc", null));
|
||||
|
@ -673,7 +674,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
|
||||
final String id = XmlPullUtil.valueTag(pp, "id");
|
||||
XmlPullUtil.valueTag(pp, "omc");
|
||||
XmlPullUtil.valueTag(pp, "pid");
|
||||
XmlPullUtil.optValueTag(pp, "pid", null);
|
||||
final String place = normalizeLocationName(XmlPullUtil.valueTag(pp, "locality"));
|
||||
XmlPullUtil.valueTag(pp, "layer");
|
||||
XmlPullUtil.valueTag(pp, "gisID");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue