mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 16:38:49 +00:00
XmlPullUtil: skip whitespace when exiting an element
This commit is contained in:
parent
2130b5ecb6
commit
2c147075e4
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ public final class XmlPullUtil {
|
|||
}
|
||||
|
||||
public static void exit(final XmlPullParser pp, final String tagName) throws XmlPullParserException, IOException {
|
||||
skipWhitespace(pp);
|
||||
|
||||
pp.require(XmlPullParser.END_TAG, null, tagName);
|
||||
pp.next();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue