mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
Fix parsing of multiple infoLink tags (EFA).
This commit is contained in:
parent
0dc08c103a
commit
92790d5cab
1 changed files with 9 additions and 1 deletions
|
@ -2627,7 +2627,15 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
|
||||
XmlPullUtil.optSkip(pp, "itdFootPathInfo");
|
||||
|
||||
XmlPullUtil.optSkip(pp, "infoLink");
|
||||
while (XmlPullUtil.test(pp, "infoLink"))
|
||||
{
|
||||
XmlPullUtil.enter(pp, "infoLink");
|
||||
XmlPullUtil.requireSkip(pp, "paramList");
|
||||
final String infoLinkText = XmlPullUtil.valueTag(pp, "infoLinkText");
|
||||
if (message == null)
|
||||
message = infoLinkText;
|
||||
XmlPullUtil.exit(pp, "infoLink");
|
||||
}
|
||||
|
||||
List<Stop> intermediateStops = null;
|
||||
if (XmlPullUtil.test(pp, "itdStopSeq"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue