nearby stations by coordinate via rest api

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@853 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-11-25 20:11:39 +00:00
parent 1cfdef9512
commit 0ca5c50af7
2 changed files with 13 additions and 11 deletions

View file

@ -371,7 +371,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
while (XmlPullUtil.test(pp, "StopLocation") || XmlPullUtil.test(pp, "CoordLocation"))
{
final String name = XmlPullUtil.attr(pp, "name");
final String name = ParserUtils.resolveEntities(XmlPullUtil.attr(pp, "name"));
final int lon = XmlPullUtil.intAttr(pp, "x");
final int lat = XmlPullUtil.intAttr(pp, "y");