mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 09:00:36 +00:00
detect html
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@776 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
f35d27ad20
commit
f26b7cf2a3
1 changed files with 3 additions and 0 deletions
|
@ -2150,6 +2150,9 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
if (pp.getEventType() == XmlPullParser.START_DOCUMENT)
|
||||
pp.next();
|
||||
|
||||
if (XmlPullUtil.test(pp, "html"))
|
||||
throw new IllegalStateException("html");
|
||||
|
||||
XmlPullUtil.require(pp, "itdRequest");
|
||||
|
||||
final String serverVersion = XmlPullUtil.attr(pp, "version");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue